summaryrefslogtreecommitdiff
path: root/npc/jobs/2-2/dancer.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/jobs/2-2/dancer.txt')
-rw-r--r--npc/jobs/2-2/dancer.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/jobs/2-2/dancer.txt b/npc/jobs/2-2/dancer.txt
index cfc95ee8c..5bc75b95e 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.4
+//= 3.5
//===== Compatible With: =====================================
//= eAthena SVN
//===== Description: =========================================
@@ -16,6 +16,7 @@
//= 3.2a Deleted unused variables. [Samuray22]
//= 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]
//============================================================
comodo,180,153,4 script Sonotora#1 90,{
@@ -293,7 +294,7 @@ job_duncer,43,93,4 script Aile#da 724,{
break;
}
set .@size, (getarraysize(.@item)-1);
- for( set .@i,0 ; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 );
+ 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]";
@@ -478,6 +479,7 @@ job_duncer,95,93,4 script Bijou#da 101,{
next;
}
switch(rand(1,3)) {
+ case 1:
mes "[Bijou]";
mes "1. The Dancer's dance, ^CD6889Lady Luck^000000,";
mes "increases which of the following?";