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://svn.code.sf.net/p/rathena/svn/trunk@15795 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
mandark022 2012-03-26 13:07:28 +00:00
parent a048dc4bd2
commit ea4361bb17

View File

@ -3,7 +3,7 @@
//===== By: ================================================== //===== By: ==================================================
//= kobra_k88 //= kobra_k88
//===== Current Version: ===================================== //===== Current Version: =====================================
//= 3.4 //= 3.5
//===== Compatible With: ===================================== //===== Compatible With: =====================================
//= rAthena SVN //= rAthena SVN
//===== Description: ========================================= //===== Description: =========================================
@ -47,6 +47,7 @@
//= 3.2 Fixed a question having all correct answers. [brianluau] //= 3.2 Fixed a question having all correct answers. [brianluau]
//= 3.3 Added Quest Log commands. [Kisuka] //= 3.3 Added Quest Log commands. [Kisuka]
//= 3.4 Removed the need for use of 'goto.' [L0ne_W0lf] //= 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,{ in_moc_16,19,33,1 script Guildsman#asn 55,{
@ -1105,6 +1106,13 @@ OnInit:
OnStartArena: OnStartArena:
warpwaitingpc "in_moc_16", 66, 151; 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 "Beholder#ASNTEST::OnEnable";
donpcevent "Keeper of the Door#ASN::OnDisable"; donpcevent "Keeper of the Door#ASN::OnDisable";
set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0; set getvariableofnpc(.DisableTraps,"Beholder#ASNTEST"),0;