Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. function(expT,dur,timer)
  2. local timer = tonumber(timer)
  3. local manarift = GetSpellInfo(235903)
  4. local imprison = GetSpellInfo(217832)
  5. local cyclone = GetSpellInfo(33786)
  6. if not timer then
  7. return ""
  8. end
  9.  
  10. if timer > 2.575 or timer < 2.48 then
  11. return ""
  12. elseif (IsSpellInRange(manarift,"target") == 1) or (IsSpellInRange(manarift,"focus") == 1) then
  13. if (WA_GetUnitDebuff("target", imprison,"HARMFUL") or WA_GetUnitDebuff("target", cyclone,"HARMFUL")
  14. or WA_GetUnitDebuff("focus", imprison,"HARMFUL") or WA_GetUnitDebuff("target", cyclone,"HARMFUL")) then
  15. return "BURN NOW!"
  16. else return ""
  17. end
  18. end
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement