Entangle.lua 830 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Brigand/Entangle.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 08:08:54
  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 on termination. Lasts for 24.0 seconds.
  13. -- Slows target by 32.0%
  14. -- 5% chance to dispel when target receives hostile action
  15. -- 5% chance to dispel when target takes damage
  16. -- Slows target encounter by 38.4%
  17. -- 5% chance to dispel when target takes damage
  18. end
  19. function tick(Caster, Target)
  20. -- code to process each call_frequency (tick) set in spell_tiers
  21. end
  22. function remove(Caster, Target)
  23. -- code to remove the spell
  24. end