peq-quests/global/spells/544.lua
2020-04-14 23:04:29 -05:00

18 lines
417 B
Lua

-- Common Gate
function event_spell_effect(e)
local client = eq.get_entity_list():GetClientByID(e.caster_id);
-- If Rof2 client; move them to east commonland ldon camp.
--if (bit.band(client:GetClientVersionBit(), 4294967264) ~= 0) then
-- client:MovePC(22, -144, -1543, 2, 244);
--else
if (client.valid) then
client:MovePC(21, 1839, 2, -15, 120); -- Zone: commons
end
--end
return 1;
end