9
3

MagisShieldingClassic.lua 698 B

1234567891011121314151617181920212223242526272829303132333435
  1. --[[
  2. Script Name : Spells/Mage/MagisShieldingClassic.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2022.12.16 05:12:39
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BaseMitBonus)
  9. level = GetLevel(Caster)
  10. local hp = level * 2.5
  11. local pw = level * 2.75
  12. local HpMod = math.floor(hp)
  13. local PwMod = math.floor(pw)
  14. local MitBonus = level * 5
  15. local MitMod = BaseMitBonus + MitBonus
  16. AddSpellBonus(Target, 500, HpMod)
  17. AddSpellBonus(Target, 501, PwMod)
  18. AddSpellBonus(Target, 200, MitMod)
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. end