9
3

RousingTune.lua 740 B

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