Sentinel.lua 840 B

12345678910111213141516171819202122232425262728
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/Sentinel.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:02
  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. -- When damaged this spell has a 5% chance to cast Stoneskin on target. Lasts for 10.0 seconds.
  13. -- Will absorb physical damage. This spell will absorb a total of 1 attack.
  14. -- If profession other than Fighter
  15. -- If profession other than Scout
  16. end
  17. function tick(Caster, Target)
  18. -- code to process each call_frequency (tick) set in spell_tiers
  19. end
  20. function remove(Caster, Target)
  21. -- code to remove the spell
  22. end