StanceSoldiersStance.lua 920 B

1234567891011121314151617181920212223242526
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/StanceSoldiersStance.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 03:01:17
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Debuff, DefSkill, Mit)
  9. -- Decreases Slashing, Piercing and Crushing of caster by 4.8
  10. AddSkillBonus(Target, GetSkillIDByName("Slashing"), Debuff)
  11. AddSkillBonus(Target, GetSkillIDByName("Piercing"), Debuff)
  12. AddSkillBonus(Target, GetSkillIDByName("Crushing"), Debuff)
  13. -- Increases Defense and Parry of caster by 4.3
  14. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkill)
  15. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefSkill)
  16. -- Increases the caster's effectiveness of worn armor vs physical damage by 10%
  17. AddSpellBonus(Target, 678, Mit)
  18. end
  19. function remove(Caster, Target)
  20. RemoveSpellBonus(Target)
  21. RemoveSkillBonus(Target)
  22. end