mirror of
https://github.com/ProjectEQ/projecteqquests
synced 2026-08-12 00:26:10 -04:00
29 lines
1 KiB
Lua
29 lines
1 KiB
Lua
function event_spawn(e)
|
|
eq.set_timer('spawn', 6 * 1000);
|
|
end
|
|
|
|
function event_timer(e)
|
|
if (e.timer == 'spawn') then
|
|
eq.stop_timer('spawn');
|
|
eq.spawn2(340389, 0, 0, -2969, 3380, 275, 199); -- NPC: Clayforged_Protector
|
|
eq.spawn2(340388, 0, 0, -2970, 3002, 272, 61); -- NPC: Ironforged_Protector
|
|
eq.spawn2(340387, 0, 0, -2715, 3002, 275, 457); -- NPC: Shadowspitter
|
|
eq.spawn2(340386, 0, 0, -2715, 3380, 272, 325); -- NPC: Muligiwa_the_Toxic
|
|
elseif (e.timer == 'repop') then
|
|
eq.stop_timer('repop');
|
|
eq.unique_spawn(340389, 0, 0, -2969, 3380, 275, 199); -- NPC: Clayforged_Protector
|
|
eq.unique_spawn(340388, 0, 0, -2970, 3002, 272, 61); -- NPC: Ironforged_Protector
|
|
eq.unique_spawn(340387, 0, 0, -2715, 3002, 275, 457); -- NPC: Shadowspitter
|
|
eq.unique_spawn(340386, 0, 0, -2715, 3380, 272, 325); -- NPC: Muligiwa_the_Toxic
|
|
end
|
|
end
|
|
|
|
function event_signal(e)
|
|
if (e.signal==1) then
|
|
eq.depop_all(340389);
|
|
eq.depop_all(340388);
|
|
eq.depop_all(340387);
|
|
eq.depop_all(340386);
|
|
eq.set_timer('repop', 10 * 1000);
|
|
end
|
|
end
|