peq-quests/abysmal/Soulbinder_Jerlin.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

13 lines
668 B
Lua

function event_say(e)
if e.message:findi("Hail") then
e.self:Say("Greetings " .. e.other:GetName() .. ". When a hero of our world is slain their soul returns to the place it was last bound and the body is reincarnated. As a member of the Order of Eternity it is my duty to [" .. eq.say_link("bind my soul",false, "bind your soul") .. "] to this location if that is your wish.");
elseif e.message:findi("bind my soul") then
e.self:Say("Binding your soul. You will return here when you die.");
e.self:CastSpell(2049,e.other:GetID(),0,1);
end
end
function event_trade(e)
local item_lib = require("items");
item_lib.return_items(e.self, e.other, e.trade)
end