peq-quests/abysmal/Magus_Pellen.lua
Trust 2255fb3b1e [LUA] Abysmal Updated and Fixes
Have not converted the complex scripts.

Added many missing NPC's
2023-11-19 02:13:11 -05:00

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