CalltoArms.lua 665 B

123456789101112131415161718192021
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Guardian/CalltoArms.lua
  3. Script Author : John Adams
  4. Script Date : 2013.11.22 08:11:16
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, SkillAmt)
  9. -- Increases Slashing, Ranged, Crushing and Piercing of group members (AE) by 1.9
  10. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  11. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  12. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  13. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  14. end
  15. function remove(Caster, Target, SkillAmt)
  16. RemoveSkillBonus(Target)
  17. end