9
3

SpiritoftheRat.lua 518 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Commoner/SpiritoftheRat.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.04 01:04:57
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Power Regen of caster by 24.0
  9. function cast(Caster, Target, Pwr)
  10. if (GetLevel(Caster) >= 10 )
  11. then
  12. AddSpellBonus(Caster, 603, Pwr)
  13. SetIllusion(Caster, 196)
  14. else
  15. SetIllusion(Caster, 0)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Caster)
  20. SetIllusion(Caster, 0)
  21. end