summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/dancer.txt
diff options
context:
space:
mode:
authorzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-11 10:16:35 +0000
committerzephyrus <zephyrus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-07-11 10:16:35 +0000
commitcd78dd490000e45dbb8ce70c9f54abc65c3f385f (patch)
treeec5c834d08adaf7c6148384bbeb308f53356db8b /npc/jobs/2-2/dancer.txt
parent9151040781fe1180081f17e65ace8649ad8a361f (diff)
downloadhercules-cd78dd490000e45dbb8ce70c9f54abc65c3f385f.tar.gz
hercules-cd78dd490000e45dbb8ce70c9f54abc65c3f385f.tar.bz2
hercules-cd78dd490000e45dbb8ce70c9f54abc65c3f385f.tar.xz
hercules-cd78dd490000e45dbb8ce70c9f54abc65c3f385f.zip
- Fixed a bug in Dancer Quest.
- Some fixes on guild2/schg_cas03.txt git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12937 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-2/dancer.txt')
-rw-r--r--npc/jobs/2-2/dancer.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index 5bc75b95e..c492cb2a8 100644
--- a/npc/jobs/2-2/dancer.txt
+++ b/npc/jobs/2-2/dancer.txt
@@ -293,9 +293,9 @@ job_duncer,43,93,4 script Aile#da 724,{
setarray .@count[0], 2,5,20,10,1;
break;
}
- set .@size, (getarraysize(.@item)-1);
- for( set .@i,0 ; .@i <= .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 );
- if(.@i == .@size && Zeny > 9999) {
+ set .@size, getarraysize(.@item);
+ for( set .@i, 0; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i]; set .@i, .@i + 1 );
+ if( .@i == .@size && Zeny > 9999 ) {
cutin "job_dancer_eir02",2;
mes "[Aile]";
mes "Oh...!";