Advertisement
Guest User

POS TRASH- Made by Cronic of ac-web.org

a guest
Feb 26th, 2010
569
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. function Plaguehorror_OnCombat (pUnit, Event)
  2. pUnit:RegisterEvent("Plaguehorror_Pustulant", 18000, 0)
  3. pUnit:RegisterEvent("Plaguehorror_Toxicwaste", 1000, 1)
  4. end
  5.  
  6. function Plaguehorror_Pustulant(pUnit, Event)
  7. pUnit:CastSpellOnTarget (69581, pUnit:GetRandomPlayer(0))
  8. end
  9.  
  10. function Plaguehorror_Toxicwaste(pUnit, Event)
  11. pUnit:CastSpellOnTarget (70274, pUnit:GetRandomPlayer(0))
  12. pUnit:RegisterEvent("Plaguehorror_Toxicwaste2", 10000, 0)
  13. end
  14.  
  15. function Plaguehorror_Toxicwaste2(pUnit, Event)
  16. pUnit:CastSpellOnTarget (70274, pUnit:GetRandomPlayer(0))
  17. end
  18.  
  19. function Plaguehorror_OnKillPlr (pUnit, Event)
  20. end
  21.  
  22. function Plaguehorror_OnDeath (pUnit, Event)
  23. pUnit:RemoveEvents()
  24. end
  25.  
  26. function Plaguehorror_OnLeaveCombat (pUnit, Event)
  27. pUnit:RemoveEvents()
  28. end
  29.  
  30. RegisterUnitEvent(36879, 1, "Plaguehorror_OnCombat")
  31. RegisterUnitEvent(36879, 2, "Plaguehorror_OnLeaveCombat")
  32. RegisterUnitEvent(36879, 3, "Plaguehorror_OnKillPlr")
  33. RegisterUnitEvent(36879, 4, "Plaguehorror_OnDeath")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement