SpiritoftheBull.lua 737 B

123456789101112131415161718192021222324252627282930
  1. --[[
  2. Script Name : Spells/Priest/Shaman/SpiritoftheBull.lua
  3. Script Author : LordPazuzu
  4. Script Date : 3/16/2024
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases STR and STA of group members (AE) by 13.1
  9. function cast(Caster, Target, Buff)
  10. Level = GetLevel(Caster)
  11. SpellLevel= 18
  12. Mastery = SpellLevel + 10
  13. StatBonus = GetWis(Caster) / 10
  14. if Level < Mastery then
  15. LvlBonus = Level - SpellLevel
  16. else LvlBonus = Mastery - SpellLevel
  17. end
  18. BonusAmt = (StatBonus + LvlBonus) * 0.2
  19. AddSpellBonus(Target, 0, BonusAmt)
  20. AddSpellBonus(Target, 1, BonusAmt)
  21. end
  22. function remove(Caster, Target)
  23. RemoveSpellBonus(Target)
  24. end