9
3

SpiritoftheCarnivorousPlant.lua 529 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Commoner/SpiritoftheCarnivorousPlant.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.05 08:04:29
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Increases Health Regen of caster by 127.0
  9. function cast(Caster, Target, HP)
  10. if (GetLevel(Caster) >= 60)
  11. then
  12. AddSpellBonus(Caster, 602, HP)
  13. SetIllusion(Caster, 5946)
  14. else
  15. SetIllusion(Caster, 0)
  16. end
  17. end
  18. function remove(Caster, Target)
  19. RemoveSpellBonus(Caster)
  20. SetIllusion(Caster, 0)
  21. end