9
3

MarrsFavor.lua 1.1 KB

12345678910111213141516171819202122232425262728293031
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/MarrsFavor.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 06:08:25
  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 a combat hit this spell may cast Marr's Fury on target of attack. Triggers about 3.0 times per minute.
  13. -- Inflicts 811 - 991 divine damage on target
  14. -- Reduces physical damage done to caster by 10%
  15. -- When the paladin takes damage, they will heal themselves for 10% of the damage amount.
  16. -- On a spell cast this spell has a 15% chance to cast Marr's Favor on caster. Lasts for 15.0 seconds.
  17. -- Increases the damage of spells by up to 25% of your total strength
  18. -- Cannot be modified except by direct means
  19. end
  20. function tick(Caster, Target)
  21. -- code to process each call_frequency (tick) set in spell_tiers
  22. end
  23. function remove(Caster, Target)
  24. -- code to remove the spell
  25. end