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/EclageInterior.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/EclageInterior.txt')
-rw-r--r-- | npc/re/instances/EclageInterior.txt | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/npc/re/instances/EclageInterior.txt b/npc/re/instances/EclageInterior.txt index 6b2808e05..2b2117b93 100644 --- a/npc/re/instances/EclageInterior.txt +++ b/npc/re/instances/EclageInterior.txt @@ -55,20 +55,18 @@ ecl_hub01,132,12,3 script Chief of Staff#tl01::EclInstance 4_F_FAIRY,{ switch (select("Enter it.", "Forget it.")) { case 1: .@instance = instance_create(.@md_name$, .@party_id); - if (.@instance < 0) { - mes("[Shenime]"); - mes("There are some soldiers dispatched by Mayor not too long ago."); - mes("I should sure hope that you aren't the disturbance they're looking for, right?"); - close(); - } - if (instance_attachmap("1@ecl", .@instance) == "") { - mesf("^0000ff%s^000000 - Reservation Failed!", .@md_name$); - instance_destroy(.@instance); - close(); + if (.@instance >= 0) { + if (instance_attachmap("1@ecl", .@instance) == "") { + mes("[Shenime]"); + mes("There are some soldiers dispatched by Mayor not too long ago."); + mes("I should sure hope that you aren't the disturbance they're looking for, right?"); + instance_destroy(.@instance); + close(); + } + ecl_interior_time = gettimetick(2) + 20 * 60; + instance_set_timeout(1200, 1200, .@instance); + instance_init(.@instance); } - ecl_interior_time = gettimetick(2) + 20 * 60; - instance_set_timeout(1200, 1200, .@instance); - instance_init(.@instance); mes("[Shenime]"); mes("Given the tight internal security, you should prepare yourself."); mes("Wait here for a minute."); |