StanceKnightsStance.lua 930 B

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