TotenoftheEnduringSpirit.lua 480 B

12345678910111213141516171819202122
  1. --[[
  2. Script Name : Spells/Commoner/SpiritTotemoftheEnduringSpirit.lua
  3. Script Author : neatz09
  4. Script Date : 2020.04.05 09:20:01
  5. Script Purpose :
  6. --]]
  7. function cast(Caster, Target)
  8. if (GetLevel(Caster) >= 80)
  9. then
  10. AddControlEffect(Caster, 7)
  11. BreatheUnderwater(Caster, true)
  12. SetVision(Caster, 4)
  13. end
  14. end
  15. function remove(Caster, Target)
  16. RemoveSpellBonus(Caster)
  17. SetVision(Caster, 0)
  18. RemoveControlEffect(Caster, 7)
  19. end