summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormandark022 <mandark022@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-26 13:07:28 +0000
committermandark022 <mandark022@54d463be-8e91-2dee-dedb-b68131a5f0ec>2012-03-26 13:07:28 +0000
commit0dd43876699d9c01d0c0a8a08820a0e9fa67b302 (patch)
tree0e1c49e8804fac711d0860b59fad192b98e0bbe0
parentffcd2b33e23b8d2b6e2ea86bd0f248f45e2b7bd2 (diff)
downloadhercules-0dd43876699d9c01d0c0a8a08820a0e9fa67b302.tar.gz
hercules-0dd43876699d9c01d0c0a8a08820a0e9fa67b302.tar.bz2
hercules-0dd43876699d9c01d0c0a8a08820a0e9fa67b302.tar.xz
hercules-0dd43876699d9c01d0c0a8a08820a0e9fa67b302.zip
Fixed the (bugreport:4096) where player can enter the Test Area without passing the written exam. Now player will not be warp inside the Test Area when did not passed the written exam instead the player will be warp back to the written exam entrance.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@15795 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--npc/jobs/2-1/assassin.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/npc/jobs/2-1/assassin.txt b/npc/jobs/2-1/assassin.txt
index bf4e4a534..7f8febe58 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.4
+//= 3.5
//===== Compatible With: =====================================
//= rAthena SVN
//===== Description: =========================================
@@ -47,6 +47,7 @@
//= 3.2 Fixed a question having all correct answers. [brianluau]
//= 3.3 Added Quest Log commands. [Kisuka]
//= 3.4 Removed the need for use of 'goto.' [L0ne_W0lf]
+//= 3.5 Fixed the waitingroom where player can enter the Test Area without passing the written exam. Now player will not be warp inside the Test Area when did not passed the written exam instead the player will be warp back to the written exam entrance [JayPee]
//============================================================
in_moc_16,19,33,1 script Guildsman#asn 55,{
@@ -1105,6 +1106,13 @@ OnInit:
OnStartArena:
warpwaitingpc "in_moc_16", 66, 151;
+ attachrid($@warpwaitingpc[0]);
+ if(ASSIN_Q2<5)
+ {
+ warpchar "in_moc_16",20,145,getcharid(0);
+ end;
+ }
+
donpcevent "Beholder#ASNTEST::OnEnable";
donpcevent "Keeper of the Door#ASN::OnDisable";
set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0;