StanceSoldiersStance.lua 997 B

1234567891011121314151617181920212223242526272829303132
  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. -- Info from spell_display_effects (remove from script when done)
  9. function cast(Caster, Target, Debuff, DefSkill, Mit)
  10. -- Decreases Slashing, Piercing and Crushing of caster by 4.8
  11. AddSkillBonus(Target, GetSkillIDByName("Slashing"), Debuff)
  12. AddSkillBonus(Target, GetSkillIDByName("Piercing"), Debuff)
  13. AddSkillBonus(Target, GetSkillIDByName("Crushing"), Debuff)
  14. -- Increases Defense and Parry of caster by 4.3
  15. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefSkill)
  16. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefSkill)
  17. -- Increases the caster's effectiveness of worn armor vs physical damage by 10%
  18. AddSpellBonus(Target, 678, Mit)
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. RemoveSkillBonus(Target)
  23. end