mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
13 lines
668 B
Lua
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
|