9
3

CallofShielding.lua 440 B

1234567891011121314151617181920
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/CallofShielding.lua
  3. Script Author : Dello
  4. Script Date : 09/06/2014
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, MaxVal, DefSkills)
  9. AddSpellBonus(Target, 1, MaxVal)
  10. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkills)
  11. end
  12. function remove(Caster, Target)
  13. RemoveSkillBonus(Target)
  14. RemoveSpellBonus(Target)
  15. end