diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-04 06:02:17 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-03-04 06:02:17 +0000 |
commit | 6417db1a5901325a0954f46d8ae91937df857532 (patch) | |
tree | b991ce1668dfed0a8edd6fe79e15fdb2dd1d3771 | |
parent | 0a869055ea95e069331b98b678221850b5cff54d (diff) | |
download | hercules-6417db1a5901325a0954f46d8ae91937df857532.tar.gz hercules-6417db1a5901325a0954f46d8ae91937df857532.tar.bz2 hercules-6417db1a5901325a0954f46d8ae91937df857532.tar.xz hercules-6417db1a5901325a0954f46d8ae91937df857532.zip |
Hopefully fixed waiting room in the assassin quest. (bugreport:1100)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12290 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | npc/Changelog.txt | 2 | ||||
-rw-r--r-- | npc/jobs/2-1/assassin.txt | 41 |
2 files changed, 26 insertions, 17 deletions
diff --git a/npc/Changelog.txt b/npc/Changelog.txt index ccae5204e..eba3b4156 100644 --- a/npc/Changelog.txt +++ b/npc/Changelog.txt @@ -1,5 +1,7 @@ Date Added ====== +2008/03/04 + * Rev 12290 Hopefully fixed waiting room in the assassin quest. (bugreport:1100) [L0ne_W0lf0 2008/03/03 * Rev 12285 Added dummy "OnMyMobDead" labels to rogue quest. (bugreport:1100) [L0ne_W0lf] * Rev 12283 Added Auction file. (Disabled until auctions work) [L0ne_W0lf] diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt index d7a37f7dc..d8429acd5 100644 --- a/npc/jobs/2-1/assassin.txt +++ b/npc/jobs/2-1/assassin.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 3.0 +//= 3.1 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -41,6 +41,7 @@ //= 2.9a Corrected a Typo error ";;". [Samuray22] //= 2.9b Moved a wrong 'break'. [Zephyrus_cr] //= 3.0 Now uses enable and disable waitingroomevent. [L0ne_W0lf] +//= 3.1 Fixed problem with waiting room. (bugreport:1099) [L0ne_W0lf] //============================================================ in_moc_16,19,33,1 script Guildsman#asn 55,{ @@ -1088,7 +1089,6 @@ OnInit: end; OnStartArena: - killmonsterall "in_moc_16"; warpwaitingpc "in_moc_16", 66, 151; donpcevent "Beholder#ASNTEST::OnEnable"; donpcevent "Keeper of the Door#ASN::OnDisable"; @@ -1178,13 +1178,9 @@ OnTouch: } in_moc_16,1,1,0 script Beholder#ASNTEST -1,{ -OnInit: - disablenpc "Beholder#ASNTEST"; end; OnEnable: - mapannounce "in_moc_16","lol?",bc_map; - enablenpc "Beholder#ASNTEST"; set .MyMobs,6; // Target mobs monster "in_moc_16",62,161,"Job change target",1002,1,"Beholder#ASNTEST::OnMyMobDead"; @@ -1231,9 +1227,16 @@ OnEnable: initnpctimer; end; -OnDisable: - killmonsterall "in_moc_16"; - disablenpc "Beholder#ASNTEST"; +OnReset: + killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead"; + killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead2"; + stopnpctimer; + donpcevent "Standby Room#ASNTEST::OnStart"; + end; + +OnResetmob: + killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead"; + killmonster "in_moc_16","Beholder#ASNTEST::OnMyMobDead2"; stopnpctimer; end; @@ -1244,7 +1247,7 @@ OnMyMobDead: set ASSIN_Q,3; donpcevent "timestopper#1::OnEnable"; donpcevent "Keeper of the Door#ASN::OnEnable"; - donpcevent "Beholder#ASNTEST::OnDisable"; + donpcevent "Beholder#ASNTEST::OnResetmob"; set .DisableTraps,1; stopnpctimer; } @@ -1257,12 +1260,11 @@ OnMyMobDead2: mapannounce "in_moc_16",strcharinfo(0) + "! You made a mistake! I'm bringing you back!",bc_map; set ASSIN_Q,2; warp "in_moc_16",19,161; - donpcevent "Standby Room#ASNTEST::OnStart"; - donpcevent "Beholder#ASNTEST::OnDisable"; + donpcevent "Beholder#ASNTEST::OnReset"; end; OnTimer1000: - mapannounce "in_moc_16","Okay, let the test begin!",bc_map; + mapannounce "in_moc_16"," Okay, let the test begin!",bc_map; end; OnTimer2000: @@ -1306,7 +1308,7 @@ OnTimer183000: end; OnTimer184000: - mapannounce "in_moc_16","1 second left...",bc_map; + mapannounce "in_moc_16","1 second left.",bc_map; end; OnTimer185000: @@ -1315,10 +1317,12 @@ OnTimer185000: //set ASSIN_Q,2; end; -OnTimer187000: +OnTimer186000: areawarp "in_moc_16",60,136,93,177,"in_moc_16",19,161; - donpcevent "Beholder#ASNTEST::OnDisable"; - donpcevent "Standby Room#ASNTEST::OnStart"; + end; + +OnTimer187000: + donpcevent "Beholder#ASNTEST::OnReset"; end; } @@ -1440,6 +1444,7 @@ OnEnable: OnDisable: disablenpc "Keeper of the Door#ASN"; + end; } in_moc_16,3,3,0 script timestopper#1 -1,{ @@ -1454,6 +1459,7 @@ OnTimer187000: OnDisable: stopnpctimer; + end; } in_moc_16,89,98,1 script Thomas#ASNTEST 118,5,1,{ @@ -1601,6 +1607,7 @@ OnTouch: OnDisable: mapannounce "in_moc_16","...Next volunteer, please come in.",bc_map; + end; } in_moc_16,149,80,4 script Guildmaster#ASN2 106,1,1,{ |