peq-quests/thundercrest/Large_event_control.lua

30 lines
1 KiB
Lua
Raw Permalink Normal View History

2019-01-06 18:31:57 -06:00
function event_spawn(e)
eq.set_timer('spawn', 6 * 1000);
end
function event_timer(e)
if (e.timer == 'spawn') then
eq.stop_timer('spawn');
2020-04-14 22:20:53 -05:00
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
2019-01-07 17:25:48 -06:00
elseif (e.timer == 'repop') then
eq.stop_timer('repop');
2020-04-14 22:20:53 -05:00
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
2019-01-06 18:31:57 -06:00
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);
2019-01-07 17:25:48 -06:00
eq.set_timer('repop', 10 * 1000);
2019-01-06 18:31:57 -06:00
end
end