ArcaneKnowledge.lua 403 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells\Traditions\Pools\ArcaneKnowledge.lua
  3. Script Purpose :
  4. Script Author : Zcoretri
  5. Script Date : 2013.03.29
  6. Script Notes :
  7. --]]
  8. function cast(Caster, Target, Modifier)
  9. CurPower = GetMaxPower(Target)
  10. BonusAmt = CurPower * Modifier
  11. AddSpellBonus(Target, 501, BonusAmt)
  12. end
  13. function remove(Caster, Target, Modifier)
  14. RemoveSpellBonus(Target)
  15. end