summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRidley <ridley8819@gmail.com>2017-03-12 22:33:15 +0100
committerGitHub <noreply@github.com>2017-03-12 22:33:15 +0100
commit3971be1b701252724a1cf412220795fd9b4d59c5 (patch)
tree70f3e1ab3744bab5830ee2fd6ab57ccc4f5ea55a
parentd0568eefba012ec1339f474154a5f239d08f4b41 (diff)
parenta32898b6236a6fe884d25bb409f35f3ace244d24 (diff)
downloadhercules-3971be1b701252724a1cf412220795fd9b4d59c5.tar.gz
hercules-3971be1b701252724a1cf412220795fd9b4d59c5.tar.bz2
hercules-3971be1b701252724a1cf412220795fd9b4d59c5.tar.xz
hercules-3971be1b701252724a1cf412220795fd9b4d59c5.zip
Merge pull request #1611 from AtlantisRO/ins_nyd_fix
Fixes #1293. Attaches [Yggdrasil Gatekeeper] NPC to make him capable of read instance variables.
-rw-r--r--npc/instances/NydhoggsNest.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/instances/NydhoggsNest.txt b/npc/instances/NydhoggsNest.txt
index 16df567e3..e2ff46342 100644
--- a/npc/instances/NydhoggsNest.txt
+++ b/npc/instances/NydhoggsNest.txt
@@ -165,6 +165,10 @@ nyd_dun02,100,201,3 script Yggdrasil Gatekeeper HIDDEN_NPC,8,8,{
close;
goto L_Enter;
} else {
+ .@instance = has_instance2("1@nyd");
+ if (.@instance >= 0) {
+ instance_attach(.@instance);
+ }
if (.@ins_nyd_check == 1) {
if ('ins_nyd2 == 3 || 'ins_nyd2 == 4) {
mes "[Yggdrasil Gatekeeper]";