summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/018-2-2/main.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/018-2-2/main.txt b/npc/018-2-2/main.txt
index dc5832401..7cbee0426 100644
--- a/npc/018-2-2/main.txt
+++ b/npc/018-2-2/main.txt
@@ -254,6 +254,10 @@ OnMaster14:
// Controls logic for each instance
OnInstanceInit:
+ // Nard in Candor is always ID zero. Wait until we start loading HHMD.
+ if ($@HHMD_INSTID1 == 0)
+ end;
+
//if (instance_mapname("0018-2-2"))
// HH_NOVICE
if (instance_id() == $@HHMD_INSTID1) {
@@ -265,19 +269,23 @@ OnInstanceInit:
}
// HH_INTERMEDIARY
if (instance_id() == $@HHMD_INSTID2) {
+ debugmes "+ Init Intermed";
freeloop(true);
for (.@i=0;.@i<getarraysize(.Interm_Mobs);.@i++) {
areamonster "018-2-3@In", 20, 20, 220, 220, strmobinfo(1, .Interm_Mobs[.@i]), .Interm_Mobs[.@i], .Interm_Ammo[.@i], "#HH_CONTROLLER01::OnInterm"+.@i;
}
freeloop(false);
+ debugmes "- Init Intermed";
}
// HH_ADVANCED
if (instance_id() == $@HHMD_INSTID4) {
+ debugmes "+ Init Advanced";
freeloop(true);
for (.@i=0;.@i<getarraysize(.Advanc_Mobs);.@i++) {
areamonster "018-2-2@Ad", 20, 20, 220, 220, strmobinfo(1, .Advanc_Mobs[.@i]), .Advanc_Mobs[.@i], .Advanc_Ammo[.@i], "#HH_CONTROLLER01::OnAdvanc"+.@i;
}
freeloop(false);
+ debugmes "- Init Advanced";
}
// HH_EXPERT
if (instance_id() == $@HHMD_INSTID8) {