summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/doomsday.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/doomsday.txt')
-rw-r--r--world/map/npc/functions/doomsday.txt37
1 files changed, 34 insertions, 3 deletions
diff --git a/world/map/npc/functions/doomsday.txt b/world/map/npc/functions/doomsday.txt
index bf78bf82..7bd6fa9c 100644
--- a/world/map/npc/functions/doomsday.txt
+++ b/world/map/npc/functions/doomsday.txt
@@ -600,6 +600,31 @@ L_Doomsday3Cleanup:
set $@DD_LOC$, "";
end;
+// Bonus spawn
+L_Doomsday3Bonus:
+ announce "Jande: Stray minions from Zax De'Kagen were sighted all over the world!", 0;
+
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ monster "031-1", 62, 49, "", $@doomsday_mobs[$@DD_IDX], 1;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ monster "018-1", 136, 71, "", $@doomsday_mobs[$@DD_IDX], 1;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ monster "002-1", 97, 86, "", $@doomsday_mobs[$@DD_IDX], 1;
+
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "017-1", 169, 49, 198, 77, "", $@doomsday_mobs[$@DD_IDX], 1;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "012-1", 20, 47, 74, 77, "", $@doomsday_mobs[$@DD_IDX], 2;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "057-1", 115, 50, 140, 75, "", $@doomsday_mobs[$@DD_IDX], 2;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "046-1", 58, 49, 92, 70, "", $@doomsday_mobs[$@DD_IDX], 2;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "034-1", 83, 51, 121, 98, "", $@doomsday_mobs[$@DD_IDX], 2;
+ setarray $@DD_IDX, rand(getarraysize($@doomsday_mobs));
+ areamonster "003-4", 20, 20, 85, 60, "", $@doomsday_mobs[$@DD_IDX], 2;
+ end;
+
////////////////////////////////////////////////////////////////////////////////
// Respawn logic (5 minutes)
OnTimer300000:
@@ -638,25 +663,31 @@ OnClock1845:
end;
// Act 3 clock handlers [2]
-OnClock0850:
+OnClock2350:
if ($@DOOMSDAY_SKIP)
end;
if ($DOOMSDAY == 2)
goto L_Doomsday3Init;
end;
-OnClock0900:
+OnClock0000:
if ($@DOOMSDAY_SKIP)
goto L_Doomsday3Skip;
if ($DOOMSDAY == 2)
goto L_Doomsday3;
end;
-OnClock0945:
+OnClock0045:
if ($DOOMSDAY == 2)
goto L_Doomsday3Check;
end;
+// Act 3 clock handlers [3]
+OnClock0900:
+ if ($DOOMSDAY == 2)
+ goto L_Doomsday3Bonus;
+ end;
+
////////////////////////////////////////////////////////////////////////////////
// Puppet labels
OnDeathMapname: