9
3

DevoutSacrament.lua 658 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/DevoutSacrament.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.12 11:10:51
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Heals caster for 31.6 - 38.6% of max health
  9. -- This effect cannot be critically applied.
  10. -- Increases Max Health of caster by 690.3
  11. -- The healing of this spell cannot be modified except by direct means
  12. function cast(Caster, Target)
  13. AddSpellBonus(Target, 606, BonusAmt)
  14. SpellHeal(Heal, GetPCTOfHP(Target, pctHealMin), GetPCTOfHP(Target, pctHealMax), nil, 2, 1)
  15. end
  16. function remove(Caster, Target)
  17. RemoveSpellBonus(Target)
  18. end