Nullmail.lua 947 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Mage/Sorcerer/Warlock/Nullmail.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 08:08:35
  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 target falls below 30% health this spell will cast Nullmail Armor on target. Lasts for 12.0 seconds.
  13. -- Increases Mitigation of caster vs elemental and noxious damage by 1600
  14. -- Prevents AOE (except when direct)
  15. -- Caster will Dodge 50.0% of incoming attacks
  16. -- Increases Mitigation of caster vs physical and arcane damage by 1600
  17. -- Grants a total of 1 trigger of the spell.
  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