HolyAid.lua 613 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/HolyAid.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.06 06:12:21
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MinVal, MaxVal, PhyBonus)
  9. -- Heals target for 15.4 - 18.8% of max health
  10. -- This effect cannot be critically applied.
  11. SpellHeal(Heal, GetPCTOfHP(Caster, MinVal), GetPCTOfHP(Caster, MaxVal),Caster, 2, 1)
  12. -- Increases Mitigation of target vs physical damage by 76
  13. AddSpellBonus(Target, 200, PhyBonus)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Target)
  17. end