Log In
Sign Up
Go Gold
Home
Forum
Mail
Downloads
Game Search
Macro Editor
Notes
Membership
Clayforged_Protector.lua - Quest File
General Info
Quest File
function event_combat(e) if (e.joined == true) then eq.stop_timer('depop'); eq.get_entity_list():GetNPCByNPCTypeID(340386):AddToHateList(e.other, 1); eq.get_entity_list():GetNPCByNPCTypeID(340387):AddToHateList(e.other, 1); eq.get_entity_list():GetNPCByNPCTypeID(340388):AddToHateList(e.other, 1); else eq.set_timer('depop', 10 * 1000); end end function event_timer(e) if (e.timer == 'depop') then eq.stop_timer('depop'); eq.signal(340390,1); -- NPC: Large_event_control end end function event_death_complete(e) if (eq.get_entity_list():IsMobSpawnedByNpcTypeID(340389) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(340388) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(340387) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(340386) == false and eq.get_entity_list():IsMobSpawnedByNpcTypeID(340390) == true) then eq.spawn2(340032, 0, 0, -2844, 3143, 307, 385); -- NPC: a_chest eq.depop_with_timer(340390); end end
Source: 17 Jan 2022
Quest Source: 28 May 2022