diff options
author | Haruna <haru@dotalux.com> | 2013-12-05 00:53:43 -0800 |
---|---|---|
committer | Haruna <haru@dotalux.com> | 2013-12-05 00:53:43 -0800 |
commit | 5dd63c8ccef96e51cec7339eff6c31d1cfbc360d (patch) | |
tree | aa67a4f361bef916a484b4814bfebcfd2f8bbf89 | |
parent | 43462caf9441a041755806a889cb6d5104dcf438 (diff) | |
parent | 5e9a2d434f522d1407b8764581473307293e921f (diff) | |
download | hercules-5dd63c8ccef96e51cec7339eff6c31d1cfbc360d.tar.gz hercules-5dd63c8ccef96e51cec7339eff6c31d1cfbc360d.tar.bz2 hercules-5dd63c8ccef96e51cec7339eff6c31d1cfbc360d.tar.xz hercules-5dd63c8ccef96e51cec7339eff6c31d1cfbc360d.zip |
Merge pull request #235 from Patskie/master
Fix part 2 of issue 7841
-rw-r--r-- | npc/instances/EndlessTower.txt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/npc/instances/EndlessTower.txt b/npc/instances/EndlessTower.txt index f8f8d541f..456bf590f 100644 --- a/npc/instances/EndlessTower.txt +++ b/npc/instances/EndlessTower.txt @@ -246,7 +246,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ instance_init(.@instance); close; case 2: - callsub L_Enter,0,1; + callsub L_Enter,0,1,.@md_name$,.@p_name$; case 3: mes "I will move you to Alberta."; close2; @@ -258,7 +258,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ } switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) { case 1: - callsub L_Enter,1,1; + callsub L_Enter,1,1,.@md_name$,.@p_name$; case 2: mes "I will move you to Alberta."; close2; @@ -272,7 +272,7 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ next; switch(select("Enter the "+.@md_name$+":Return to Alberta:Cancel")) { case 1: - callsub L_Enter,0,0; + callsub L_Enter,0,0,.@md_name$,.@p_name$; case 2: mes "I will move you to Alberta."; close2; @@ -308,11 +308,11 @@ e_tower,81,105,0 script Tower Protection Stone 2_MONEMUS,{ L_Enter: if (has_instance("1@tower") == "") { - mes "The memorial dungeon " + .@md_name$ + " does not exist."; + mes "The memorial dungeon " +getarg(2)+ " does not exist."; mes "The party leader did not generate the dungeon yet."; close; } else { - mapannounce "e_tower", strcharinfo(0)+" of the party, "+.@p_name$+", is entering the dungeon, Endless Tower.",bc_map,"0x00ff99",FW_NORMAL,12; + mapannounce "e_tower", strcharinfo(0)+" of the party, " +getarg(3)+", is entering the dungeon, Endless Tower.",bc_map,"0x00ff99",FW_NORMAL,12; if (getarg(1)) { set etower_timer,gettimetick(2); setquest 60200; |