summaryrefslogtreecommitdiff
path: root/npc/003-1/ishi.txt
diff options
context:
space:
mode:
authorjesusalva <cpntb1@ymail.com>2018-03-08 14:35:49 -0300
committerjesusalva <cpntb1@ymail.com>2018-03-08 14:35:49 -0300
commit61da291f366dcd35384bd6a935de5c203234c641 (patch)
tree42b0d69093612f1fefa679fc63a49d45f449a19d /npc/003-1/ishi.txt
parentbec7e6266347efc192dfb472bd06a91bca6a2460 (diff)
downloadserverdata-61da291f366dcd35384bd6a935de5c203234c641.tar.gz
serverdata-61da291f366dcd35384bd6a935de5c203234c641.tar.bz2
serverdata-61da291f366dcd35384bd6a935de5c203234c641.tar.xz
serverdata-61da291f366dcd35384bd6a935de5c203234c641.zip
Ishi now works - thanks @Crazyfefe
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r--npc/003-1/ishi.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt
index 91459b243..7d63c04e7 100644
--- a/npc/003-1/ishi.txt
+++ b/npc/003-1/ishi.txt
@@ -124,11 +124,11 @@ L_Items:
debugmes "Testing rares";
for (.@b = 0; .@b < getarraysize(@Rares$); .@b=.@b+2) {
.@lucky = rand(10000); // 0 - 99999
- debugmes "Checking "+@Rares$[b]+" - b is now "+.@b;
- debugmes l("Check @@ <= @@", .@lucky, @Rares$[b+1]);
- if (.@lucky <= atoi(@Rares$[b+1])) {
+ debugmes "Checking "+@Rares$[.@b]+" - b is now "+.@b;
+ debugmes l("Check @@ <= @@", .@lucky, @Rares$[.@b+1]);
+ if (.@lucky <= atoi(@Rares$[.@b+1])) {
.@lucked=1;
- .@reward$ = @Rares$[b];
+ .@reward$ = @Rares$[.@b];
}
}