Ensnare.lua 816 B

1234567891011121314151617181920212223242526272829
  1. --[[
  2. Script Name : Spells/Scout/Ensnare.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:13
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target)
  9. -- code to cast the spell
  10. Say(Caster, "Whoops! Guess this is not implemented yet!")
  11. -- Info from spell_display_effects (remove from script when done)
  12. -- Applies Snare. Lasts for 24.0 seconds.
  13. -- Slows target by 28.6%
  14. -- 5% chance to dispel when target receives hostile action
  15. -- 5% chance to dispel when target takes damage
  16. -- Decreases Mitigation of target vs arcane damage by 214
  17. end
  18. function tick(Caster, Target)
  19. -- code to process each call_frequency (tick) set in spell_tiers
  20. end
  21. function remove(Caster, Target)
  22. -- code to remove the spell
  23. end