summaryrefslogtreecommitdiff
path: root/npc/001-7
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-17 23:34:18 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-17 23:34:18 -0300
commit3e475a0ae0be34db523fbd371f24ceecc98b403e (patch)
tree54c2de9a842ce03acb1e5d055fee5ccc669ec5c9 /npc/001-7
parentc1f3b5f1e53aa4ea53582c29eb6febeda1beab85 (diff)
downloadserverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.gz
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.bz2
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.tar.xz
serverdata-3e475a0ae0be34db523fbd371f24ceecc98b403e.zip
Ambush at Monster King's Original Throne Room
Diffstat (limited to 'npc/001-7')
-rw-r--r--npc/001-7/homunculus.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/npc/001-7/homunculus.txt b/npc/001-7/homunculus.txt
index e83171f73..0feaffd3d 100644
--- a/npc/001-7/homunculus.txt
+++ b/npc/001-7/homunculus.txt
@@ -60,7 +60,18 @@ OnTouch:
close;
}
closeclientdialog;
- .@mapn$="023-3-1";
+ // We can create instance without recording the ID etc.
+ // Map name limit: 4 chars (hmc1) - as of homunculus
+ .@mapn$="hmc1@"+getcharid(0);
+ .@map2$="hmc2@"+getcharid(0);
+ .@inst = instance_create("Homunculus "+getcharid(0), getcharid(3), IOT_CHAR);
+ if (.@inst >= 0) {
+ instance_attachmap("023-3-1", .@inst, false, .@mapn$);
+ instance_attachmap("023-3-2", .@inst, false, .@map2$);
+ // Instance lasts one hour
+ instance_set_timeout(3600, 3600, .@inst);
+ instance_init(.@inst);
+ }
setq1 FrostiaQuest_Homunculus, 2;
warp .@mapn$, any(45,46), 79;
end;