summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-12-19 02:26:21 -0200
committerJesusaves <cpntb1@ymail.com>2018-12-19 02:26:21 -0200
commit37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b (patch)
tree7f3b20013a2b80faea9d2a77d024fc23cd8cd594 /npc/functions
parent3363d32d83c8c5ffc95cca80f282d520029af4fa (diff)
downloadserverdata-37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b.tar.gz
serverdata-37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b.tar.bz2
serverdata-37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b.tar.xz
serverdata-37184fc6a3f8a6f3ed0c8c6f90b1438330d6d18b.zip
Instances for Heroes Hold
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/instances.txt25
1 files changed, 24 insertions, 1 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt
index 40a48a0d1..9b07b3e63 100644
--- a/npc/functions/instances.txt
+++ b/npc/functions/instances.txt
@@ -60,11 +60,34 @@ OnInstRestart:
instance_set_timeout(1000000, 1000000, .NIVAL_INSTID);
instance_init(.NIVAL_INSTID);
+
+
+ /* 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);
+
end;
OnMinute18:
OnMinute47:
- if (!isinstance(.HURNS_INSTID) && !isinstance(.NIVAL_INSTID))
+ if (!isinstance(.HURNS_INSTID) || !isinstance(.NIVAL_INSTID) || !isinstance(.HHMD_INSTID))
donpcevent("#GlobalInstanceCore::OnInstRestart");
end;