mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
25 lines
974 B
Lua
25 lines
974 B
Lua
function event_combat(e)
|
|
local random_result = math.random(60);
|
|
|
|
if(e.joined) then
|
|
e.self:Say("Foolish adventurer!! You shall die. You are nothing to Azdalin. ");
|
|
if(random_result < 21) then
|
|
e.self:Say("" .. e.other:Class() .. " like you always bring out the worst in me!");
|
|
elseif(random_result < 41) then
|
|
e.self:Say("I really hate " .. e.other:Class() .. " like you!");
|
|
else
|
|
e.self:Say("" .. e.other:Class() .. " like you are an affront to my senses!");
|
|
end
|
|
end
|
|
end
|
|
|
|
function event_trade(e)
|
|
local item_lib = require("items");
|
|
item_lib.return_items(e.self, e.other, e.trade)
|
|
end
|
|
|
|
--by: Qadar
|
|
-------------------------------------------------------------------------------------------------
|
|
-- Converted to .lua using MATLAB converter written by Stryd
|
|
-- Find/replace data for .pl --> .lua conversions provided by Speedz, Stryd, Sorvani and Robregen
|
|
-------------------------------------------------------------------------------------------------
|