diff options
author | AtlantisRO <atlas@atlantis-ro.net> | 2017-03-06 17:05:44 -0700 |
---|---|---|
committer | AtlantisRO <atlas@atlantis-ro.net> | 2017-03-07 19:36:09 -0700 |
commit | a32898b6236a6fe884d25bb409f35f3ace244d24 (patch) | |
tree | 7e2e439c025129ea200fe6df1abc0134c973085d /npc | |
parent | 9fba7e8c5966bb0aa5ce1c31ebe5cec96180e1d5 (diff) | |
download | hercules-a32898b6236a6fe884d25bb409f35f3ace244d24.tar.gz hercules-a32898b6236a6fe884d25bb409f35f3ace244d24.tar.bz2 hercules-a32898b6236a6fe884d25bb409f35f3ace244d24.tar.xz hercules-a32898b6236a6fe884d25bb409f35f3ace244d24.zip |
Fixes #1293. Attaches [Yggdrasil Gatekeeper] NPC to make him capable of read instance variables.
Signed-off-by: Ragno <ragno@atlantis-ro.net>
Diffstat (limited to 'npc')
-rw-r--r-- | npc/instances/NydhoggsNest.txt | 4 |
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]"; |