diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-10-08 01:38:40 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-10-08 01:38:40 -0300 |
commit | e550b02b60a81b9d8b4882325e124df983ff5c2b (patch) | |
tree | be0c0606ab0978c9e7c461c140eb3ece93201910 /npc/026-5/ctrl.c | |
parent | a05eca80ef42342be07756416be5f6b782941cc4 (diff) | |
download | serverdata-e550b02b60a81b9d8b4882325e124df983ff5c2b.tar.gz serverdata-e550b02b60a81b9d8b4882325e124df983ff5c2b.tar.bz2 serverdata-e550b02b60a81b9d8b4882325e124df983ff5c2b.tar.xz serverdata-e550b02b60a81b9d8b4882325e124df983ff5c2b.zip |
Update Maze code to work with IOT_NONE (requires special care).
Prepare 026-4 and 026-5 (mobs do not respawn) - they're not yet usable.
Diffstat (limited to 'npc/026-5/ctrl.c')
-rw-r--r-- | npc/026-5/ctrl.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/npc/026-5/ctrl.c b/npc/026-5/ctrl.c index 9255a145c..04de1832a 100644 --- a/npc/026-5/ctrl.c +++ b/npc/026-5/ctrl.c @@ -11,5 +11,21 @@ - script Impregnable#B5F NPC_HIDDEN,{ end; +// On Tuesday, the map changes +OnTue0000: + // TODO: Reload .InstId + //MazeMobs(145, false, 10, "026-4"); // Initiate Lv 145 mobs + end; + +// Initialize the dungeon +OnInit: + sleep(7000); // Delay 7s before initialization + .InstId = CreateMaze(IOT_NONE, MAZE_SIZE_A, "026-5"); + 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 + // TODO: Add the utilities + end; } |