From 168d8939c6bc6ea8facbf459420ad19836c20b74 Mon Sep 17 00:00:00 2001 From: Dinkledork <118951051+Day36512@users.noreply.github.com> Date: Thu, 23 Mar 2023 03:48:21 -0600 Subject: [PATCH] Add files via upload --- Stormwind/Alleria2.lua | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Stormwind/Alleria2.lua b/Stormwind/Alleria2.lua index 7a8f098..b6da9db 100644 --- a/Stormwind/Alleria2.lua +++ b/Stormwind/Alleria2.lua @@ -22,55 +22,55 @@ end function Alleria.CastRapidShot(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or creature:IsCastingSpell(71251) then + if not creature:IsCasting() or creature:IsCasting(71251) then creature:CastSpell(victim, 71251, true) end end function Alleria.CastShoot(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 39079, true) end end function Alleria.CastMultiShot(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 59713, false) end end function Alleria.CastExplosiveShot(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 60053, false) end end function Alleria.CastBlackArrow(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 63672, false) end end function Alleria.CastDisengage(event, delay, calls, creature) local victim = creature:GetVictim() - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 57635, false) end end function Alleria.CastFD(event, delay, calls, creature) - if not creature:IsCasting() or not creature:IsCastingSpell(71251) then + if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(creature, 23604, false) end end function Alleria.CastRoot(event, delay, calls, creature) local victim = creature:GetVictim() -if not creature:IsCasting() or not creature:IsCastingSpell(71251) then +if not creature:IsCasting() or not creature:IsCasting(71251) then creature:CastSpell(victim, 50762, false) end end