9
3

NetherousBind.lua 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Warlock/NetherousBind.lua
  3. Script Author : Jabantiz
  4. Script Date : 2014.01.14 05:01:35
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. function cast(Caster, Target, Snare)
  10. -- Roots target
  11. -- 15% chance to dispel when target takes damage
  12. -- Does not affect Epic targets
  13. -- Resistibility increases against targets higher than level 29.
  14. if not IsEpic(Target) then
  15. SetSpeedMultiplier(Target, Snare)
  16. AddProc(Target, 2, 15.0)
  17. end
  18. end
  19. function proc(Caster, Target, Type)
  20. if Type == 2 then
  21. -- Cancel spell
  22. end
  23. end
  24. function remove(Caster, Target)
  25. SetSpeedMultiplier(Target, 1.0)
  26. -- Applies Element of Fear on termination. Lasts for 5.0 seconds.
  27. -- Makes target afraid
  28. -- Slows target by 27.9%
  29. -- 30% chance to dispel when target takes damage
  30. -- Does not affect Epic targets
  31. -- Resistibility increases against targets higher than level 34.
  32. end