diff options
author | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 20:04:16 +0000 |
---|---|---|
committer | L0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-02-28 20:04:16 +0000 |
commit | bc65860d166f644ca3796467713c2792d0f60889 (patch) | |
tree | de59e6607287eaf6f4d3ede64545c9ab1f2faae4 /npc/jobs/2-1/assassin.txt | |
parent | 4b59e146c6626a5f355af9db8e779ad3ea977684 (diff) | |
download | hercules-bc65860d166f644ca3796467713c2792d0f60889.tar.gz hercules-bc65860d166f644ca3796467713c2792d0f60889.tar.bz2 hercules-bc65860d166f644ca3796467713c2792d0f60889.tar.xz hercules-bc65860d166f644ca3796467713c2792d0f60889.zip |
* Changed how waiting rooms work in the job quests.
- Implemented a checkweight in the alchemist job quest.
- Various other small updates to the 2-1 and 2-2 quests.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12262 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-1/assassin.txt')
-rw-r--r-- | npc/jobs/2-1/assassin.txt | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt index b4700bb23..d7a37f7dc 100644 --- a/npc/jobs/2-1/assassin.txt +++ b/npc/jobs/2-1/assassin.txt @@ -3,7 +3,7 @@ //===== By: ================================================== //= kobra_k88 //===== Current Version: ===================================== -//= 2.9b +//= 3.0 //===== Compatible With: ===================================== //= eAthena SVN //===== Description: ========================================= @@ -40,6 +40,7 @@ //= 2.9 Fixed an indent and added a 'break;' in hopes of 'fixing' an error [L0ne_W0lf] //= 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] //============================================================ in_moc_16,19,33,1 script Guildsman#asn 55,{ @@ -1083,19 +1084,20 @@ in_moc_16,21,165,2 script Standby Room#ASNTEST 725,{ OnInit: disablenpc "Standby Room#ASNTEST"; waitingroom "Standby Room",10,"Standby Room#ASNTEST::OnStartArena",1; + enablewaitingroomevent; end; OnStartArena: - set $@SinUsers, getareausers("in_moc_16", 60, 136, 93, 177); - set $@SinUsers, $@SinUsers + getareausers("in_moc_16", 64, 46, 111, 105); - if ($@SinUsers > 0) end; // stops the rest of the script from running if there is somebody taking the test - - if ((getwaitingroomstate(33)) == 0) end; // stops the rest of the script from running if there is no one in the waiting room killmonsterall "in_moc_16"; warpwaitingpc "in_moc_16", 66, 151; donpcevent "Beholder#ASNTEST::OnEnable"; donpcevent "Keeper of the Door#ASN::OnDisable"; set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0; + disablewaitingroomevent; + end; + +OnStart: + enablewaitingroomevent; end; } @@ -1246,14 +1248,16 @@ OnMyMobDead: set .DisableTraps,1; stopnpctimer; } - else + else { mapannounce "in_moc_16","Okay, you're doing good! Hang in there, you're almost there!",bc_map; + } end; 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"; end; @@ -1314,6 +1318,7 @@ OnTimer185000: OnTimer187000: areawarp "in_moc_16",60,136,93,177,"in_moc_16",19,161; donpcevent "Beholder#ASNTEST::OnDisable"; + donpcevent "Standby Room#ASNTEST::OnStart"; end; } @@ -1324,6 +1329,7 @@ OnTouch: set ASSIN_Q,2; warp "in_moc_16",19,161; donpcevent "Beholder#ASNTEST::OnDisable"; + donpcevent "Standby Room#ASNTEST::OnStart"; } end; } |