9
3

WrathStance.lua 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : Spells/Fighter/Crusader/Paladin/WrathStance.lua
  3. Script Author : Jabantiz
  4. Script Date : 2013.12.05 06:12:58 updated 11/9/2019 - Neatz09
  5. Script Purpose :
  6. :
  7. --]]
  8. --caster may not benefit from any stoneskin, death prevent, or 100% avoidance abilities while under this effect and for 5 seconds after the effect has been removed.
  9. --
  10. function cast(Caster, Target, statBonus, skillReduction, skillBonus)
  11. -- Increases STR of caster by 11.9
  12. AddSpellBonus(Target, 0, statBonus)
  13. -- Decreases Defense of caster by 1.8
  14. AddSkillBonus(Target, GetSkillIDByName("Defense"), skillReduction)
  15. -- Increases Disruption, Slashing, Piercing and Crushing of caster by 2.4
  16. AddSkillBonus(Target, GetSkillIDByName("Slashing"), skillBonus)
  17. AddSkillBonus(Target, GetSkillIDByName("Crushing"), skillBonus)
  18. AddSkillBonus(Target, GetSkillIDByName("Piercing"), skillBonus)
  19. AddSkillBonus(Target, GetSkillIDByName("Disruption"), skillBonus)
  20. AddSkillBonus(Target, GetSkillIDByName("Slashing"), skillBonus)
  21. -- Potency
  22. AddSpellBonus(Target, 659, 20)
  23. Say(Caster, "Missing the Beneficial immunity features.")
  24. Say(Caster, "Missing Potency of caster for level 93 t10 and t11")
  25. end
  26. function remove(Caster, Target)
  27. RemoveSpellBonus(Target)
  28. RemoveSkillBonus(Target)
  29. end