9
3

StanceBrawlersStance.lua 924 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/StanceBrawlersStance.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.05 05:11:14
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Decreases Slashing, Piercing and Crushing of caster by 4.8
  9. -- Increases Defense and Deflection of caster by 4.3
  10. -- Increases the caster's effectiveness of worn armor vs physical damage by 10%
  11. function cast(Caster, Target, OffSkillz, Def, Armor)
  12. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkillz)
  13. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkillz)
  14. AddSkillBonus(Target, GetSkillIDByName("Slashing"), OffSkillz)
  15. AddSkillBonus(Target, GetSkillIDByName("Defense"), Def)
  16. AddSkillBonus(Target, GetSkillIDByName("Deflection"), Def)
  17. AddSpellBonus(Target, 678, Armor)
  18. end
  19. function remove(Caster, Target)
  20. RemoveSpellBonus(Target)
  21. RemoveSkillBonus(Target)
  22. end