GuardianSphere.lua 994 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/GuardianSphere.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:53
  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 15% chance to cast Stoneskin on target. Lasts for 10.0 seconds.
  13. -- Will absorb all damage. This spell will absorb a total of 1 attack.
  14. -- Only affects the caster of Guardian's Sphere
  15. -- When damaged this spell has a 30% chance to cast Stoneskin on target. Lasts for 10.0 seconds.
  16. -- Will absorb all damage. This spell will absorb a total of 1 attack.
  17. -- If not fighter
  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