summaryrefslogtreecommitdiff
path: root/npc/functions/instances.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 02:43:55 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 02:43:55 -0200
commit315c44d494b9a603b8a7e6f3997ce38ebcf70027 (patch)
tree0cfde0d72445ea55fba1c582482678d5ad086dda /npc/functions/instances.txt
parent37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b (diff)
downloadserverdata-315c44d494b9a603b8a7e6f3997ce38ebcf70027.tar.gz
serverdata-315c44d494b9a603b8a7e6f3997ce38ebcf70027.tar.bz2
serverdata-315c44d494b9a603b8a7e6f3997ce38ebcf70027.tar.xz
serverdata-315c44d494b9a603b8a7e6f3997ce38ebcf70027.zip
Attempt to spawn mobs at Novice Heroes Hold (but not yet at other levels)
Diffstat (limited to 'npc/functions/instances.txt')
-rw-r--r--npc/functions/instances.txt40
1 files changed, 20 insertions, 20 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt
index 9b07b3e63..521e1a90e 100644
--- a/npc/functions/instances.txt
+++ b/npc/functions/instances.txt
@@ -63,31 +63,31 @@ OnInstRestart:
/* Heroes Hold Main Dungeon */
- .HHMD_INSTID = instance_create("018-2-2@HHMD1", 0, IOT_NONE);
- instance_attachmap("018-2-2", .HHMD_INSTID, 0, "018-2-1@No");
- instance_set_timeout(1000000, 1000000, .HHMD_INSTID);
- instance_init(.HHMD_INSTID);
-
- .HHMD_INSTID = instance_create("018-2-2@HHMD2", 0, IOT_NONE);
- instance_attachmap("018-2-2", .HHMD_INSTID, 0, "018-2-1@In");
- instance_set_timeout(1000000, 1000000, .HHMD_INSTID);
- instance_init(.HHMD_INSTID);
-
- .HHMD_INSTID = instance_create("018-2-2@HHMD4", 0, IOT_NONE);
- instance_attachmap("018-2-2", .HHMD_INSTID, 0, "018-2-1@Ad");
- instance_set_timeout(1000000, 1000000, .HHMD_INSTID);
- instance_init(.HHMD_INSTID);
-
- .HHMD_INSTID = instance_create("018-2-2@HHMD8", 0, IOT_NONE);
- instance_attachmap("018-2-2", .HHMD_INSTID, 0, "018-2-1@Ex");
- instance_set_timeout(1000000, 1000000, .HHMD_INSTID);
- instance_init(.HHMD_INSTID);
+ $@HHMD_INSTID1 = instance_create("018-2-2@HHMD1", 0, IOT_NONE);
+ instance_attachmap("018-2-2", $@HHMD_INSTID1, 0, "018-2-1@No");
+ instance_set_timeout(1000000, 1000000, $@HHMD_INSTID1);
+ instance_init($@HHMD_INSTID1);
+
+ $@HHMD_INSTID2 = instance_create("018-2-2@HHMD2", 0, IOT_NONE);
+ instance_attachmap("018-2-2", $@HHMD_INSTID2, 0, "018-2-1@In");
+ instance_set_timeout(1000000, 1000000, $@HHMD_INSTID2);
+ instance_init($@HHMD_INSTID2);
+
+ $@HHMD_INSTID4 = instance_create("018-2-2@HHMD4", 0, IOT_NONE);
+ instance_attachmap("018-2-2", $@HHMD_INSTID4, 0, "018-2-1@Ad");
+ instance_set_timeout(1000000, 1000000, $@HHMD_INSTID4);
+ instance_init($@HHMD_INSTID4);
+
+ $@HHMD_INSTID8 = instance_create("018-2-2@HHMD8", 0, IOT_NONE);
+ instance_attachmap("018-2-2", $@HHMD_INSTID8, 0, "018-2-1@Ex");
+ instance_set_timeout(1000000, 1000000, $@HHMD_INSTID8);
+ instance_init($@HHMD_INSTID8);
end;
OnMinute18:
OnMinute47:
- if (!isinstance(.HURNS_INSTID) || !isinstance(.NIVAL_INSTID) || !isinstance(.HHMD_INSTID))
+ if (!isinstance(.HURNS_INSTID) || !isinstance(.NIVAL_INSTID) || !isinstance($@HHMD_INSTID1))
donpcevent("#GlobalInstanceCore::OnInstRestart");
end;