12345678910111213141516171819202122232425 |
- --[[
- Script Name : Spells/Priest/Cleric/Odyssey.lua
- Script Author : neatz09
- Script Date : 2020.01.02 04:01:10
- Script Purpose :
- :
- --]]
- --Casting power cost scales with the character's total power. A rough equation is Max Power x 54.6% = power cost.
- -- Info from spell_display_effects (remove from script when done)
- -- Teleports target to a zone landmark
- -- You must be a citizen to benefit from an odyssey.
- -- This effect cannot be cast during combat
- -- If not a City Betrayer
- -- Teleports you to your recall point.
- function precast(Caster, Target)
- if GetBoundZoneID(Target) == 0 then
- return false
- end
- return true
- end
- function cast(Caster, Target)
- Gate(Target)
- end
|