9
3

Odyssey.lua 648 B

12345678910111213141516171819202122232425
  1. --[[
  2. Script Name : Spells/Priest/Cleric/Odyssey.lua
  3. Script Author : neatz09
  4. Script Date : 2020.01.02 04:01:10
  5. Script Purpose :
  6. :
  7. --]]
  8. -- Info from spell_display_effects (remove from script when done)
  9. -- Teleports target to a zone landmark
  10. -- You must be a citizen to benefit from an odyssey.
  11. -- This effect cannot be cast during combat
  12. -- If not a City Betrayer
  13. -- Teleports you to your recall point.
  14. function precast(Caster, Target)
  15. if GetBoundZoneID(Caster) == 0 then
  16. return false
  17. end
  18. return true
  19. end
  20. function cast(Caster, Target)
  21. Gate(Caster)
  22. end