9
3

Centered.lua 390 B

12345678910111213141516
  1. --[[
  2. Script Name : Spells\Traditions\Pools\Centered.lua
  3. Script Purpose : Increases Max Power by 2.5%
  4. Script Author : Zcoretri
  5. Script Date : 2012.07.22
  6. --]]
  7. function cast(Caster, Target, Modifier)
  8. CurPower = GetMaxPower(Target)
  9. BonusAmt = CurPower * Modifier
  10. AddSpellBonus(Target, 501, BonusAmt)
  11. end
  12. function remove(Caster, Target, StatAmt)
  13. RemoveSpellBonus(Target)
  14. end