9
3

StanceOffense.lua 778 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Fighter/StanceOffense.lua
  3. Script Author : neatz09
  4. Script Date : 2020.11.03 03:11:06
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases STR of caster by 10.0
  9. -- Decreases Defense of caster by 2.2
  10. -- Increases Slashing, Piercing and Crushing of caster by 4.0
  11. function cast(Caster, Target, Str, Def, SkillAmt)
  12. AddSpellBonus(Target, 0, Str)
  13. AddSkillBonus(Target, GetSkillIDByName("Defense"), Def)
  14. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  15. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  16. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Target)
  20. RemoveSkillBonus(Target)
  21. end