diff options
author | Asheraf <acheraf1998@gmail.com> | 2018-06-05 08:11:31 +0000 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-06-05 08:11:31 +0000 |
commit | 82d5ed8ee5349e0338f1819ecf472efe95523ae9 (patch) | |
tree | 60ceaca119c0524d65e96b9e5c7406bd477903b6 /npc/re/instances/HazyForest.txt | |
parent | 97dc1ef1695404ea5276813616a17653439ede46 (diff) | |
download | hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.gz hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.bz2 hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.tar.xz hercules-82d5ed8ee5349e0338f1819ecf472efe95523ae9.zip |
Update instance scripts to follow official behaviour
Diffstat (limited to 'npc/re/instances/HazyForest.txt')
-rw-r--r-- | npc/re/instances/HazyForest.txt | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/npc/re/instances/HazyForest.txt b/npc/re/instances/HazyForest.txt index 291ce54db..24e03b22e 100644 --- a/npc/re/instances/HazyForest.txt +++ b/npc/re/instances/HazyForest.txt @@ -101,35 +101,34 @@ bif_fild01,158,340,5 script Laphine Soldier#mist 4_M_FAIRYSOLDIER,{ mesf("Party Name %s...", getpartyname(.@party_id)); mesf("Party Leader %s...", strcharinfo(PC_NAME)); .@instance = instance_create(.@md_name$, .@party_id); - if (.@instance < 0) { - mes("Hmm..."); - next(); - mes("[Laphine Soldier]"); - if (!.@playtime) - mes("It's dangerous in the forest."); - else - mes("The atmosphere is somewhat tense in the forest."); - mes("...Why don't you just go back today?"); - close(); - } - if (instance_attachmap("1@mist", .@instance) != "") { + if (.@instance >= 0) { + if (instance_attachmap("1@mist", .@instance) == "") { + mes("Hmm..."); + next(); + mes("[Laphine Soldier]"); + if (!.@playtime) + mes("It's dangerous in the forest."); + else + mes("The atmosphere is somewhat tense in the forest."); + mes("...Why don't you just go back today?"); + instance_destroy(.@instance); + close(); + } instance_set_timeout(7200, 300, .@instance); instance_init(.@instance); - mes("I've got it. I've written them down on the report here."); - next(); - mes("[Laphine Soldier]"); - mes("You'll get permission soon."); - mes("Now go to the log tunnel, the only way to get into the Hazy Forest."); - mes("You understand?"); - next(); - mes("[Laphine Soldier]"); - mes("We can't go against the forest,"); - mes("but maybe you humans can."); - mes("Good luck!"); - close(); - } else { - instance_destroy(.@instance); } + mes("I've got it. I've written them down on the report here."); + next(); + mes("[Laphine Soldier]"); + mes("You'll get permission soon."); + mes("Now go to the log tunnel, the only way to get into the Hazy Forest."); + mes("You understand?"); + next(); + mes("[Laphine Soldier]"); + mes("We can't go against the forest,"); + mes("but maybe you humans can."); + mes("Good luck!"); + close(); case 2: mes("[Laphine Soldier]"); mes("Well, you've made the right decision."); |