SentryWatch.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/SentryWatch.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:32
  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. -- On death this spell will cast Sentry Watch Guard on target. Lasts for 15.0 seconds.
  13. -- When damaged this spell will cast Reinforcement on target's attacker.
  14. -- Increases Threat to target by 365
  15. -- Increases threat priority of target by 1 position
  16. -- Reduces all damage done to target by 45% This spell will absorb a total of 1 attack.
  17. -- Heals target for 3.0% of max health
  18. -- This effect cannot be critically applied.
  19. -- The healing of this spell cannot be modified except by direct means
  20. -- Grants a total of 1 trigger of the spell.
  21. end
  22. function tick(Caster, Target)
  23. -- code to process each call_frequency (tick) set in spell_tiers
  24. end
  25. function remove(Caster, Target)
  26. -- code to remove the spell
  27. end