mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
16 lines
688 B
Lua
16 lines
688 B
Lua
-- abysmal\Magus_Pellen.lua NPCID 279217
|
|
|
|
function event_say(e)
|
|
if e.message:findi("hail") then
|
|
e.self:Say("I can provide you with travel to [" .. eq.say_link("Natimbi",false,"Natimbi") .. "] and [" .. eq.say_link("Nedaria",false,"Nedaria") .. "]'s Landing with our Farstone magic. Just tell me where you'd like to go and I shall send you.");
|
|
elseif e.message:findi("natimbi") then
|
|
e.other:MovePC(280, -1557, -853, 241, 180); -- Zone: natimbi
|
|
elseif e.message:findi("nedaria") then
|
|
e.self:CastSpell(4580,e.other:GetID(),0,1); -- Spell: Teleport: Nedaria
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
item_lib.return_items(e.self, e.other, e.trade);
|
|
end
|