summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/026-3/ctrl.c2
-rw-r--r--npc/026-4/ctrl.c13
-rw-r--r--npc/026-5/ctrl.c8
-rw-r--r--npc/functions/util.txt5
4 files changed, 18 insertions, 10 deletions
diff --git a/npc/026-3/ctrl.c b/npc/026-3/ctrl.c
index bd0f3d6e6..21b86c2cb 100644
--- a/npc/026-3/ctrl.c
+++ b/npc/026-3/ctrl.c
@@ -46,7 +46,7 @@ L_Warp:
mesc l("Minimum wins: %d/%d", $MK_TEMPVAR, MKIF_LV_B4F), 1;
close;
}
- //warp "026-4", X, Y;
+ //warp "026-4", 40, 40; // TODO: Are these coords actually OK?
dispbottom l("Coming Soon, in Moubootaur Legends!");
end;
diff --git a/npc/026-4/ctrl.c b/npc/026-4/ctrl.c
index 3419ac496..bd93eecbf 100644
--- a/npc/026-4/ctrl.c
+++ b/npc/026-4/ctrl.c
@@ -11,9 +11,11 @@
end;
// On Tuesday, the map changes
-OnTue0000:
- // TODO: Reload .InstId
- //MazeMobs(145, false, 10, "026-4"); // Initiate Lv 145 mobs
+//OnTue0000:
+OnMon2359:
+ // Reload .InstId
+ killmonsterall("026-4");
+ MazeMobs(145, false, 8, "026-4"); // Initiate Lv 145 mobs
end;
// Initialize the dungeon
@@ -23,8 +25,9 @@ OnInit:
instance_set_timeout(0, 0, .InstId);
instance_init(.InstId);
debugmes "Impregnable Fortress B4F (%d): Init OK", .InstId;
- MazeMobs(145, false, 10, "026-4"); // Initiate Lv 145 mobs
- // TODO: Add the utilities
+ MazeMobs(145, false, 8, "026-4"); // Initiate Lv 145 mobs
+ // TODO: Add the utilities: Switches (and move them every day?) and mobpt logic
+ // And the actual portal (NPC?)
end;
}
diff --git a/npc/026-5/ctrl.c b/npc/026-5/ctrl.c
index 04de1832a..d0a9fbd7e 100644
--- a/npc/026-5/ctrl.c
+++ b/npc/026-5/ctrl.c
@@ -12,9 +12,11 @@
end;
// On Tuesday, the map changes
-OnTue0000:
+//OnTue0000:
+OnMon2358:
// TODO: Reload .InstId
- //MazeMobs(145, false, 10, "026-4"); // Initiate Lv 145 mobs
+ killmonsterall("026-5");
+ MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs
end;
// Initialize the dungeon
@@ -24,7 +26,7 @@ OnInit:
instance_set_timeout(0, 0, .InstId);
instance_init(.InstId);
debugmes "Impregnable Fortress B5F (%d): Init OK", .InstId;
- MazeMobs(145, false, 10, "026-5"); // Initiate Lv 145 mobs
+ MazeMobs(145, false, 7, "026-5"); // Initiate Lv 145 mobs
// TODO: Add the utilities
end;
}
diff --git a/npc/functions/util.txt b/npc/functions/util.txt
index 77a1c073a..e9d521a1d 100644
--- a/npc/functions/util.txt
+++ b/npc/functions/util.txt
@@ -20,6 +20,9 @@ function script DelItemFromEveryPlayer {
query_sql("DELETE FROM `auction` WHERE `nameid`="+getarg(0));
consolewarn "Deleting item %d", getarg(0);
+ // TODO: Delete from guild storage as well if SQL fail to?
+ // I'm not sure there's a function for that D:
+
// Del items which SQL can't reach
.@c = getunits(BL_PC, .@players, MAX_CYCLE_PC);
for (.@i = 0; .@i < .@c; .@i++) {
@@ -1210,7 +1213,7 @@ function script NewcomerEXPDROPUP {
// Frostia Util
// frally( )
function script frally {
- return (Class == Elven); // or something
+ return (Class == Elven || reputation("Frostia") == 100);
}
// Easter Egg