SpiritoftheBadger.lua 760 B

1234567891011121314151617181920212223242526272829303132
  1. --[[
  2. Script Name : Spells/Priest/Shaman/SpiritoftheBadger.lua
  3. Script Author : LordPazuzu
  4. Script Date : 2024.03.16 08:03:38
  5. Script Purpose :
  6. :
  7. --]]
  8. function cast(Caster, Target, BaseMit, Str)
  9. Level = GetLevel(Caster)
  10. SpellLevel = 19
  11. Mastery = SpellLevel + 10
  12. if Level < Mastery then
  13. LvlBonus = Level - SpellLevel
  14. else LvlBonus = Mastery - SpellLevel
  15. end
  16. TotalMit = LvlBonus * 2 + BaseMit
  17. AddSpellBonus(Target, 0, Str)
  18. AddSpellBonus(Target, 200, TotalMit)
  19. end
  20. function proc(Caster, Target, Type, BaseMit)
  21. --Nox Mit Proc
  22. end
  23. function remove(Caster, Target)
  24. RemoveSpellBonus(Target)
  25. --RemoveProc(Target)
  26. end