Its possible to change the script that he kick arena1, 2, 3?
--options
InteruptSpell = 57994 -- This is the spell ID of the interupt you want to use
InteruptDelay = .5 --This is the time before the end of the cast
InteruptTarget = "focus" --This is the target you want to interupt must be in Quotation Marks (Example : "UnitName")
InteruptEverything = true --Set to true to interupt everything.
--The bot will only interupt the below spells if the above setting is set to false.
InteruptList = { --Here you need to add the spell ids of what you want to interupt. seperate with comma
49276, --Lesser Healing Wave : Rank 9
}
--
if UnitExists(InteruptTarget)
and UnitIsEnemy(InteruptTarget, "player")
and IsSpellInRange(GetSpellInfo(InteruptSpell), InteruptTarget) == 1 then
local spellName, _, _, _, startCast, endCast, _, _, canInterrupt = UnitCastingInfo(InteruptTarget)
if InteruptEverything then
if UnitCastingInfo(InteruptTarget) ~= nil
and ((endCast/1000) - GetTime()) < InteruptDelay then
SpellStopCasting()
CastSpellByID(InteruptSpell, InteruptTarget)
end
else
for i=1, #InteruptList do
if GetSpellInfo(InteruptList[i]) == spellName and canInterrupt == false then
if ((endCast/1000) - GetTime()) < InteruptDelay then
SpellStopCasting()
CastSpellByID(InteruptSpell, InteruptTarget)
end
end
end
end
end