9
3

BlackWidowStance.lua 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. --[[
  2. Script Name : Spells/Fighter/Brawler/Monk/BlackWidowStance.lua
  3. Script Author : neatz09
  4. Script Date : 2019.11.14 08:11:39
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, Deflect, Haste, Parry, SkillAmt, Arcane, Armor)
  9. -- Caster will deflect 4.5% of incoming attacks.
  10. AddSpellBonus(Target, 670, Deflect)
  11. -- Increases Attack Speed of caster by 11.4
  12. AddSpellBonus(Target, 617, Haste)
  13. -- Increases Parry of caster by 7.8
  14. AddSkillBonus(Target, GetSkillIDByName("Parry"), Parry)
  15. -- Increases Deflection, Slashing, Piercing, Crushing and Ranged of caster by 7.8
  16. AddSkillBonus(Target, GetSkillIDByName("Deflection"), SkillAmt)
  17. AddSkillBonus(Target, GetSkillIDByName("Slashing"), SkillAmt)
  18. AddSkillBonus(Target, GetSkillIDByName("Piercing"), SkillAmt)
  19. AddSkillBonus(Target, GetSkillIDByName("Crushing"), SkillAmt)
  20. AddSkillBonus(Target, GetSkillIDByName("Ranged"), SkillAmt)
  21. -- Increases Mitigation of caster vs arcane damage by 522
  22. AddSpellBonus(Target, 203, Arcane)
  23. -- Increases the caster's effectiveness of worn armor vs physical damage by 13%
  24. AddSpellBonus(Target, 678, Armor)
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Target)
  28. RemoveSkillBonus(Target)
  29. end