diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/003-1/ishi.txt | 8 |
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]; } } |