summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/sage.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 20:04:16 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-02-28 20:04:16 +0000
commitbc65860d166f644ca3796467713c2792d0f60889 (patch)
treede59e6607287eaf6f4d3ede64545c9ab1f2faae4 /npc/jobs/2-2/sage.txt
parent4b59e146c6626a5f355af9db8e779ad3ea977684 (diff)
downloadhercules-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-2/sage.txt')
-rw-r--r--npc/jobs/2-2/sage.txt18
1 files changed, 10 insertions, 8 deletions
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index ccf7bf69a..f702be59c 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -5,7 +5,7 @@
//= Unknown Translator (1.0)
//= Darkchild (1.2)
//===== Current Version: =====================================
-//= 2.4a
+//= 2.5
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -19,6 +19,7 @@
//= 2.3 Corrected NPC names to fall within proper restrictions. [L0ne_W0lf]
//= 2.4 Fixes bug with first room monsters not being reset. [L0ne_W0lf]
//= 2.4a Deleted unused variables. [Samuray22]
+//= 2.5 Updated waiting room. (Removes global var) [L0ne_W0lf]
//============================================================
yuno_in02,38,61,5 script Dean of the Academy#sa 743,{
@@ -2469,23 +2470,18 @@ job_sage,50,165,4 script Waiting Room#sg 700,{
OnInit:
disablenpc "Waiting Room#sg";
waitingroom "Waiting Room",20,"Waiting Room#sg::OnStartArena",1;
+ enablewaitingroomevent;
end;
OnStartArena:
- disablewaitingroomevent;
warpwaitingpc "job_sage",116,97;
- set .Sage_pid,$@warpwaitingpc[0];
- if (attachrid(.Sage_pid) == 0) {
- enablewaitingroomevent;
- end;
- }
donpcevent "Arena#1::OnEnable";
+ disablewaitingroomevent;
end;
OnEnable:
enablewaitingroomevent;
end;
-
}
- script Arena#1 66,{
@@ -2580,6 +2576,8 @@ OnTimer185000:
OnTimer186000:
disablenpc "Arena#1";
donpcevent "Waiting Room#sg::OnEnable";
+ stopnpctimer;
+ end;
}
- script Arena#2 -1,{
@@ -2680,6 +2678,8 @@ OnTimer185000:
OnTimer186000:
disablenpc "Arena#2";
donpcevent "Waiting Room#sg::OnEnable";
+ stopnpctimer;
+ end;
}
- script Arena#Doorkeeper -1,{
@@ -2745,6 +2745,8 @@ OnTimer62000:
OnTimer63000:
disablenpc "Arena#Doorkeeper";
donpcevent "Waiting Room#sg::OnEnable";
+ stopnpctimer;
+ end;
}
- script Arena#3 -1,{