diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-12-19 19:57:14 -0200 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-12-19 19:57:14 -0200 |
commit | f42cc1e6d082362c5e9b5e8ad10d33344264cf65 (patch) | |
tree | 8d1b858950452d6844a751c57f0a97f337004955 | |
parent | 6556ff6e959865cc03601cd50c591658de1b30a8 (diff) | |
download | serverdata-f42cc1e6d082362c5e9b5e8ad10d33344264cf65.tar.gz serverdata-f42cc1e6d082362c5e9b5e8ad10d33344264cf65.tar.bz2 serverdata-f42cc1e6d082362c5e9b5e8ad10d33344264cf65.tar.xz serverdata-f42cc1e6d082362c5e9b5e8ad10d33344264cf65.zip |
[skip ci] Nard Candor Instance is interfering
-rw-r--r-- | npc/018-2-2/main.txt | 8 |
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) { |