mirror of
https://github.com/EQMacEmu/quests
synced 2026-08-21 00:23:04 -04:00
30 lines
702 B
Lua
30 lines
702 B
Lua
function event_spawn(e)
|
|
eq.set_timer("depop", 9900000);
|
|
end
|
|
|
|
function event_timer(e)
|
|
eq.depop();
|
|
end
|
|
|
|
function event_combat(e)
|
|
if ( e.joined ) then
|
|
eq.pause_timer("depop");
|
|
else
|
|
eq.resume_timer("depop");
|
|
end
|
|
end
|
|
|
|
function event_death_complete(e)
|
|
|
|
if ( not eq.get_entity_list():IsMobSpawnedByNpcTypeID(200258) ) then -- #Raex_Pwodill
|
|
|
|
local hp = eq.get_entity_list():GetNPCByNPCTypeID(200245) -- #High_Priest_Ultor_Szanvon
|
|
|
|
if ( hp and hp.valid ) then
|
|
hp:SetBodyType(3, false); -- make targetable (undead type)
|
|
hp:SetSpecialAbility(24, 0); -- Will Not Aggro off
|
|
hp:SetSpecialAbility(35, 0); -- No Harm from Players off
|
|
eq.set_timer("depop", 11700000, hp);
|
|
end
|
|
end
|
|
end
|