summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/dancer.txt
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-08 19:54:07 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-08 19:54:07 +0000
commitb14a29b01e52692e95fcabfc387e9300a8f98845 (patch)
tree683eba5a917617949a13ded5ff2ccba626171d89 /npc/jobs/2-2/dancer.txt
parent75e25456f77add4d6b38980f43fa1d0fca060d50 (diff)
downloadhercules-b14a29b01e52692e95fcabfc387e9300a8f98845.tar.gz
hercules-b14a29b01e52692e95fcabfc387e9300a8f98845.tar.bz2
hercules-b14a29b01e52692e95fcabfc387e9300a8f98845.tar.xz
hercules-b14a29b01e52692e95fcabfc387e9300a8f98845.zip
* Slew up NPC bug fixes and other updates.
- Corrected item checking in Dancer job quest. (buggreport:1987) - Fixed infinite dialog in novice grounds. (buggreport:1998) - Fixed overlapping warps in ice dungeon. (buggreport:2009) - Corrected super novice script checks. (buggreport:2016) - Corrected bug in alchemist dealer. (bugreport:2020) - Commented out message board NPCs. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13052 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/jobs/2-2/dancer.txt')
-rw-r--r--npc/jobs/2-2/dancer.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index c492cb2a8..87bf5ea37 100644
--- a/npc/jobs/2-2/dancer.txt
+++ b/npc/jobs/2-2/dancer.txt
@@ -4,7 +4,7 @@
//= Kalen - Original jAthena
//= Fredzilla - Converted, Lupus
//===== Current Version: =====================================
-//= 3.5
+//= 3.6
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -17,6 +17,7 @@
//= 3.3 Updated waiting room. (Removes global var) [L0ne_W0lf]
//= 3.4 Fixed bad variables, bugreport:1685 [Brainstorm]
//= 3.5 Minor corrections to script. (bugreport:1766) [L0ne_W0lf]
+//= 3.6 Applied Correction bug with for loop. [L0ne_W0lf]
//============================================================
comodo,180,153,4 script Sonotora#1 90,{
@@ -294,7 +295,11 @@ job_duncer,43,93,4 script Aile#da 724,{
break;
}
set .@size, getarraysize(.@item);
- for( set .@i, 0; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i]; set .@i, .@i + 1 );
+ for( set .@i, 0; .@i < .@size; set .@i,.@i+1 ) {
+ if( countitem(.@item[.@i]) < .@count[.@i] ) {
+ break;
+ }
+ }
if( .@i == .@size && Zeny > 9999 ) {
cutin "job_dancer_eir02",2;
mes "[Aile]";