RivervalesProtection.lua 406 B

1234567891011121314151617
  1. --[[
  2. Script Name : Spells\Traditions\Resist\RivervalesProtection.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. CurLevel = GetLevel(Target)
  10. BonusAmt = CurLevel * Modifier
  11. AddSpellBonus(Target, 203, BonusAmt)
  12. end
  13. function remove(Caster, Target, Modifier)
  14. RemoveSpellBonus(Target)
  15. end