9
3

IrefulWill.lua 427 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells\Traditions\Noncombat\IrefulWill.lua
  3. Script Purpose :
  4. Script Author : Zcoretri
  5. Script Date : 2013.02.01
  6. Script Notes : Increases out-of-combat power regen based on level
  7. --]]
  8. function cast(Caster, Target, Modifier)
  9. Level = GetLevel(Target)
  10. BonusAmt = Level * Modifier
  11. AddSpellBonus(Target, 601, BonusAmt)
  12. end
  13. function remove(Caster, Target, Modifier)
  14. RemoveSpellBonus(Target)
  15. end