ControlledRage.lua 798 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Fighter/Warrior/Berserker/ControlledRage.lua
  3. Script Author : neatz09
  4. Script Date : 2019.10.15 05:10:24
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, OffDebuff, DefAmt)
  9. -- Increases caster's chance to block by 10.0%
  10. AddSpellBonus(Target, 651, 10)
  11. -- Decreases Haste of caster by 14.0
  12. AddSpellBonus(Target, 617, OffDebuff)
  13. -- Decreases Multi Attack of caster by 14.0
  14. AddSpellBonus(Target, 641, OffDebuff)
  15. -- Increases Parry of caster by 10.8
  16. AddSkillBonus(Target, GetSkillIDByName("Parry"), DefAmt)
  17. -- Increases Defense of caster by 10.8
  18. AddSkillBonus(Target, GetSkillIDByName("Defense"), DefAmt)
  19. end
  20. function remove(Caster, Target)
  21. RemoveSpellBonus(Target)
  22. RemoveSkillBonus(Target)
  23. end