mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
15 lines
No EOL
409 B
Lua
15 lines
No EOL
409 B
Lua
-- Vukuz NPCID: 124015
|
|
function event_combat(e)
|
|
if (e.joined) then
|
|
-- grab the entity list
|
|
local entity_list = eq.get_entity_list();
|
|
-- also aggro Bryrym (124005) and #Lord_Feshlak (124008) if they are up
|
|
local npc_table = {124005,124008};
|
|
for k,v in pairs(npc_table) do
|
|
local npc = entity_list:GetMobByNpcTypeID(v);
|
|
if (npc.valid) then
|
|
npc:AddToHateList(e.other,1);
|
|
end
|
|
end
|
|
end
|
|
end |