BattlesReprieve.lua 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Templar/BattlesReprieve.lua
  3. Script Author : John Adams
  4. Script Date : 2013.08.11 06:08:48
  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. -- Resurrects target with 15% health and power
  13. -- Applies Battle's Reprieve on termination. Lasts for 1 minute.
  14. -- Heals target for 27.6% of max health
  15. -- Increases Mitigation of target vs physical damage by 220
  16. -- Applies Revived Sickness on termination. Lasts for 2 minutes.
  17. -- Decreases Toughness of target by 75.0
  18. -- Decreases Lethality of target by 75.0
  19. -- Decreases All Attributes of target by 20.0%
  20. -- If not between levels 1 - 6
  21. -- Decreases Attack Speed of target by 20.0
  22. -- If not between levels 1 - 6
  23. -- Decreases Attack Speed of target by 5.0
  24. -- If between levels 1 - 6
  25. -- Decreases All Attributes of target by 5.0%
  26. -- If between levels 1 - 6
  27. -- If outside an arena
  28. end
  29. function tick(Caster, Target)
  30. -- code to process each call_frequency (tick) set in spell_tiers
  31. end
  32. function remove(Caster, Target)
  33. -- code to remove the spell
  34. end