summaryrefslogtreecommitdiff
path: root/npc/026-5/ctrl.c
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2024-05-31 14:57:55 -0300
committerJesusaves <cpntb1@ymail.com>2024-05-31 14:57:55 -0300
commitdbbb00b0b2743ca819b7662140473c5dc92a3e6c (patch)
tree9b680f6fe92cf73f2dca51807813023dc490ebcb /npc/026-5/ctrl.c
parent3893aeef67894e0b43def48a3ca5b61ac747f51e (diff)
downloadserverdata-dbbb00b0b2743ca819b7662140473c5dc92a3e6c.tar.gz
serverdata-dbbb00b0b2743ca819b7662140473c5dc92a3e6c.tar.bz2
serverdata-dbbb00b0b2743ca819b7662140473c5dc92a3e6c.tar.xz
serverdata-dbbb00b0b2743ca819b7662140473c5dc92a3e6c.zip
This sort out the lag issue in Impregnable Fortress, but removing 3,000+ mobs.
Diffstat (limited to 'npc/026-5/ctrl.c')
-rw-r--r--npc/026-5/ctrl.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/npc/026-5/ctrl.c b/npc/026-5/ctrl.c
index 003e7c895..7611ba0c0 100644
--- a/npc/026-5/ctrl.c
+++ b/npc/026-5/ctrl.c
@@ -20,10 +20,10 @@ OnMon2358:
// Check if this is causing time leak
debugmes "Reloading B5F... %d", gettimetick(0);
killmonsterall("026-5");
- MazeMobs(145, false, 9, "026-5"); // Initiate Lv 145 mobs
- MazeMobs(175, false, 60, "026-5"); // Initiate Lv 175 mobs
+ MazeMobs(145, false, 32, "026-5", 65); // Initiate Lv 145 mobs
+ MazeMobs(175, false, 96, "026-5", 30); // Initiate Lv 175 mobs
debugmes "Reloaded B5F, %d", gettimetick(0);
- end;
+ goto OnClock1843;
// Initialize the dungeon
OnInit:
@@ -33,9 +33,8 @@ OnInit:
instance_set_timeout(0, 0, .InstId);
instance_init(.InstId);
debugmes "Impregnable Fortress B5F (%d): Init OK", .InstId;
- MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs
setmapflag("026-5", mf_zone, "SuperMMO");
- goto OnClock1843;
+ goto OnMon2358;
OnClock1843:
if (!.InstId) end;