Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Boss enters combat--
- function Azra_OnCombat(pUnit, event, player)
- pUnit:SendChatMessage(14, 0, "Come and face your death!")
- pUnit:RegisterEvent("Azra_Phase1", 1000, 0)
- end
- --Leave combat--
- function Azra_OnLeaveCombat(pUnit, event, player)
- pUnit:SendChatMessage(14, 0, "None can stand against the might of the Blackrock Clan!")
- pUnit:RemoveEvents()
- end
- --When he flatlines--
- function Azra_OnDeath(pUnit, event, player)
- pUnit:SendChatMessage(14, 0, "My death means nothing! The Demon Lord shall rise once more!")
- pUnit:RemoveEvents()
- end
- --Phase 1--
- function Azra_Phase1(pUnit, event, player)
- if pUnit:GetHealthPct() <= 65 then
- pUnit:SendChatMessage(14, 0, "I thirst for blood!")
- pUnit:CastSpellOnTarget(63785,Unit:GetRandomPlayer(0))
Add Comment
Please, Sign In to add comment