FancyFootwork.lua 925 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Scout/Rogue/FancyFootwork.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.10 11:11:26
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Slashing, Piercing and Crushing of caster by 13.8
  9. -- Increases Defense and Parry of caster by 4.9
  10. -- Increases the caster's effectiveness of worn armor vs physical damage by 10%
  11. function cast(Caster, Target, OffSkills, DefSkills, Armor)
  12. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkills)
  13. AddSkillBonus(Target, GetSkillIDByName("Piercing"), OffSkills)
  14. AddSkillBonus(Target, GetSkillIDByName("Crushing"), OffSkills)
  15. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkills)
  16. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefSkills)
  17. AddSpellBonus(Target, 678, Armor)
  18. end
  19. function remove(Caster, Target)
  20. RemoveSkillBonus(Target)
  21. RemoveSpellBonus(Target)
  22. end