Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Boss = 80023
- local function Ares_EnterCombat(event, creature, target)
- creature:SendUnitYell("You came to me by your leg? awesome you'll regret! haahahaahahahahahahaha",0)
- -- [[ Shadow bolt ]]--
- function ShadowBolt(eventID, delay, pCall)
- creature:CastSpell(creature:GetVictim(), 21141, true)
- end
- -- [[ Arcane explosion ]]--
- function ArcaneExplosion(eventID, delay, pCall)
- creature:CastSpell(creature:GetVictim(), 36607, true)
- end
- -- [[ Air Burst || knock away]]--
- function AirBurst(eventID, delay, pCall)
- creature:CastSpell(creature:GetVictim(), 45, true)
- end
- function SlitherEvents(event, creature, diff)
- if(creature:GetHealthPct() <= 60) then
- creature:SendUnitYell("You came to me by your leg? awesome you'll regret! haahahaahahahahahahaha",0)
- creature:RegisterEvent(AirBurst, 1000, 0) -- 14 seconds
- end
- end
- creature:CastSpell(target, 21141, true)
- creature:RegisterEvent(ShadowBolt, 6000, 0) -- 6 seconds
- creature:RegisterEvent(ArcaneExplosion, 12000, 0) -- 12 seconds
- creature:RegisterEvent(AirBurst, 14000, 0) -- 14 seconds
- end
- local function Ares_Dead(event, creature, killer)
- creature:RemoveEvents()
- end
- local function Ares_LeaveCombat(event, creature)
- creature:RemoveEvents()
- end
- local function Ares_Spawn(event, creature, killer)
- creature:RemoveEvents()
- end
- RegisterCreatureEvent(Boss, 1, Ares_EnterCombat)
- RegisterCreatureEvent(Boss, 2, Ares_LeaveCombat)
- RegisterCreatureEvent(Boss, 4, Ares_Dead)
- RegisterCreatureEvent(Boss, 5, Ares_Spawn)
- RegisterCreatureEvent(Boss, 7, SlitherEvents)
Advertisement
Add Comment
Please, Sign In to add comment