9
3

VisionofMadness.lua 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/VisionofMadness.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 02:08:11
  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 Madness on caster. Lasts for 5.0 seconds.
  13. -- Heals caster for 2.7% of max health instantly and every second
  14. -- This effect cannot be critically applied.
  15. -- If target is not berserk
  16. -- Heals caster for 13.5% of max health instantly and every second
  17. -- This effect cannot be critically applied.
  18. -- If target is berserk
  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