HolyArmorWithMitBonus.lua 725 B

1234567891011121314151617181920212223
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Templar/HolyArmorWithMitBonus.lua
  3. Script Author : neatz09
  4. Script Date : 2020.10.26 11:10:15
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Max Health of group members (AE) by 287.5
  9. -- If fighter
  10. -- Increases Mitigation of group members (AE) vs physical damage by 486
  11. -- If not fighter
  12. -- Increases the health of fighters in the group by 3.24 for each point of stamina
  13. function cast(Caster, Target, MitAmt, StaAmt)
  14. HealthMod = GetStaBase(Target) * StaAmt
  15. AddSpellBonus(Target, 200, MitAmt, 11, 21, 31)
  16. AddSpellBonus(Target, 500, HealthMod, 1)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. end