summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2
diff options
context:
space:
mode:
authorVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-02 18:19:56 +0000
committerVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-02 18:19:56 +0000
commit57dff6a693955d56a8b316f78411a4f50e061a0d (patch)
tree3bcf91abb09abe13e0db76f86acb22ce9937a8ad /npc/jobs/2-2
parent01402970c73b20574aa586b701d6975ace919e95 (diff)
downloadhercules-57dff6a693955d56a8b316f78411a4f50e061a0d.tar.gz
hercules-57dff6a693955d56a8b316f78411a4f50e061a0d.tar.bz2
hercules-57dff6a693955d56a8b316f78411a4f50e061a0d.tar.xz
hercules-57dff6a693955d56a8b316f78411a4f50e061a0d.zip
fixed hidden temple spawn and sage script?
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5873 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-2')
-rw-r--r--npc/jobs/2-2/sage.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/npc/jobs/2-2/sage.txt b/npc/jobs/2-2/sage.txt
index 366f33e49..735f86c7b 100644
--- a/npc/jobs/2-2/sage.txt
+++ b/npc/jobs/2-2/sage.txt
@@ -1956,9 +1956,9 @@ OnReset:
OnKilled:
set $@jobsage_m,$@jobsage_m-1;
if( $@jobsage_m > 0 )goto L_NotWin;
- if(getnpctimer(1,"jobsage_1st") < 60000 ) set sagecheck,sagecheck+1;
- if((getnpctimer(1,"jobsage_1st") >= 120000 ) && (getnpctimer(1,"jobsage_1st") <= 170000 )) set sagecheck,sagecheck-1;
- if(getnpctimer(1,"jobsage_1st") > 170000 ) set sagecheck,sagecheck-2;
+ if(getnpctimer(0) < 60000 ) set sagecheck,sagecheck+1;
+ if((getnpctimer(0) >= 120000 ) && (getnpctimer(0) <= 170000 )) set sagecheck,sagecheck-1;
+ if(getnpctimer(0) > 170000 ) set sagecheck,sagecheck-2;
stopnpctimer;
mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + " killed all the monsters!",8;
donpcevent "jobsage_2nd::OnStart";
@@ -2047,9 +2047,9 @@ OnKilled:
set $@jobsage_m,$@jobsage_m-1;
if( $@jobsage_m > 0 )goto L_NotWin;
stopnpctimer;
- if(getnpctimer(1,"jobsage_2nd") < 60000 ) set sagecheck,sagecheck+1;
- if((getnpctimer(1,"jobsage_2nd") >= 120000 ) && (getnpctimer(1,"jobsage_2nd") <= 170000 )) set sagecheck,sagecheck-1;
- if(getnpctimer(1,"jobsage_2nd") > 170000 ) set sagecheck,sagecheck-2;
+ if(getnpctimer(0) < 60000 ) set sagecheck,sagecheck+1;
+ if((getnpctimer(0) >= 120000 ) && (getnpctimer(0) <= 170000 )) set sagecheck,sagecheck-1;
+ if(getnpctimer(0) > 170000 ) set sagecheck,sagecheck-2;
mapannounce "job_sage.gat","Examiner: " + $@jobsage_pname$ + " killed all the monsters!",8;
donpcevent "jobsage_3rd::OnStart";
L_NotWin:
@@ -2117,9 +2117,9 @@ OnKilled:
stopnpctimer;
killmonster "job_sage.gat","All";
set SAGE_Q,7;
- if(getnpctimer(1,"jobsage_3rd") < 20000 ) set sagecheck,sagecheck+1;
- if((getnpctimer(1,"jobsage_3rd") >= 30000 ) && (getnpctimer(1,"jobsage_2nd") <= 50000 )) set sagecheck,sagecheck-1;
- if(getnpctimer(1,"jobsage_3rd") > 50000 ) set sagecheck,sagecheck-2;
+ if(getnpctimer(0) < 20000 ) set sagecheck,sagecheck+1;
+ if((getnpctimer(0) >= 30000 ) && (getnpctimer(0) <= 50000 )) set sagecheck,sagecheck-1;
+ if(getnpctimer(0) > 50000 ) set sagecheck,sagecheck-2;
mapannounce "job_sage.gat","Examiner: Congratulations. " + $@jobsage_pname$ + "passed the test!",8;
donpcevent "jobsage_success::OnSuccess";
L_NotWin: