Hydromotion.lua 551 B

123456789101112131415161718192021222324
  1. --[[
  2. Script Name : Spells/Commoner/Hydromotion.lua
  3. Script Author : neatz09
  4. Script Date : 2020.08.14 11:08:54
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Allows caster to walk under water
  10. -- Allows caster to jump under water
  11. function cast(Caster, Target)
  12. AddControlEffect(Target, 7)
  13. AddControlEffect(Target, 8)
  14. end
  15. function remove(Caster, Target)
  16. RemoveControlEffect(Target, 7)
  17. RemoveControlEffect(Target, 8)
  18. end