PledgeofArmament.lua 629 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/PledgeofArmament.lua
  3. Script Author : neatz09
  4. Script Date : 2020.02.24 08:02:11
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases Mitigation of target vs physical damage by 73
  10. -- Decreases Mitigation of caster vs physical damage by 162
  11. function cast(Caster, Target, TgtMit, CastMit)
  12. AddSpellBonus(Target, 200, TgtMit)
  13. AddSpellBonus(Caster, 200, CastMit)
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Target)
  17. RemoveSpellBonus(Caster)
  18. end