summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/018-2-2/main.txt16
1 files changed, 9 insertions, 7 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
index 0769a2545..c5e41cc70 100644
--- a/npc/018-2-2/main.txt
+++ b/npc/018-2-2/main.txt
@@ -62,18 +62,13 @@ OnInit:
setarray .Master_Ammo, 1, 140, 20, 20, 20, 20, 20, 20, 20, 10,
10, 1, 7, 1;
- // HH_MASTER
- freeloop(true);
- for (.@i=0;.@i<getarraysize(.Master_Mobs);.@i++) {
- areamonster "018-2-3", 20, 20, 220, 220, strmobinfo(1, .Master_Mobs[.@i]), .Master_Mobs[.@i], .Master_Ammo[.@i], "#HH_CONTROLLER01::OnMaster"+.@i;
- }
- freeloop(false);
+ end;
+OnInterIfInit:
initnpctimer;
end;
-
// Controls logic for each instance
OnTimer7000:
stopnpctimer;
@@ -107,6 +102,13 @@ OnTimer7000:
}
freeloop(false);
+ // HH_MASTER
+ freeloop(true);
+ for (.@i=0;.@i<getarraysize(.Master_Mobs);.@i++) {
+ areamonster "018-2-3", 20, 20, 220, 220, strmobinfo(1, .Master_Mobs[.@i]), .Master_Mobs[.@i], .Master_Ammo[.@i], "#HH_CONTROLLER01::OnMaster"+.@i;
+ }
+ freeloop(false);
+
// TODO: We still need the main logic for this. I mean, what is the objective on each floor of Master Dungeon?
debugmes "Heroes Hold Monsters: Success";
end;