9
3

FancyFootwork.lua 1.0 KB

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Scout/Rogue/Swashbuckler/FancyFootwork.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.16 02:12:08
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, SkillAmt, AggAmt, DefAmt)
  9. -- Decreases Slashing, Piercing and Crushing of caster by 13.8
  10. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  11. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  12. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  13. -- Increases Aggression of caster by 2.4
  14. AddSkillBonus(Target, GetSkillIDByName("Aggression"), AggAmt)
  15. -- Increases Parry and Defense of caster by 4.9
  16. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefAmt)
  17. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefAmt)
  18. -- Increases the caster's effectiveness of worn armor vs physical damage by 18%
  19. AddSpellBonus(Target, 678, 18)
  20. end
  21. function remove(Caster, Target)
  22. RemoveSkillBonus(Target)
  23. RemoveSpellBonus(Target)
  24. end