Guest User

Untitled

a guest
Jul 20th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. --Boss enters combat--
  2. function Azra_OnCombat(pUnit, event, player)
  3. pUnit:SendChatMessage(14, 0, "Come and face your death!")
  4. pUnit:RegisterEvent("Azra_Phase1", 1000, 0)
  5. end
  6.  
  7. --Leave combat--
  8. function Azra_OnLeaveCombat(pUnit, event, player)
  9. pUnit:SendChatMessage(14, 0, "None can stand against the might of the Blackrock Clan!")
  10. pUnit:RemoveEvents()
  11. end
  12.  
  13. --When he flatlines--
  14. function Azra_OnDeath(pUnit, event, player)
  15. pUnit:SendChatMessage(14, 0, "My death means nothing! The Demon Lord shall rise once more!")
  16. pUnit:RemoveEvents()
  17. end
  18.  
  19. --Phase 1--
  20. function Azra_Phase1(pUnit, event, player)
  21. if pUnit:GetHealthPct() <= 65 then
  22. pUnit:SendChatMessage(14, 0, "I thirst for blood!")
  23. pUnit:CastSpellOnTarget(63785,Unit:GetRandomPlayer(0))
Add Comment
Please, Sign In to add comment