9
3

SpiritoftheMonkeylua 586 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Commoner/SpiritoftheMonkeylua
  3. Script Author : neatz09
  4. Script Date : 2020.04.04 05:04:54
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Increases Power Regen of caster by 72.0
  10. function cast(Caster, Target, Pwr)
  11. if (GetLevel(Caster) >= 50 )
  12. then
  13. AddSpellBonus(Caster, 602, Pwr)
  14. SetIllusion(Caster, 5006)
  15. else
  16. SetIllusion(Caster, 0)
  17. end
  18. end
  19. function remove(Caster, Target)
  20. RemoveSpellBonus(Caster)
  21. SetIllusion(Caster, 0)
  22. end