summaryrefslogtreecommitdiff
path: root/npc/003-1/ishi.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-06-01 21:30:02 -0300
committerJesusaves <cpntb1@ymail.com>2019-06-01 21:30:02 -0300
commit44862dca9b6f26513f23ea1fd79365c7a8d33d9e (patch)
treed125ad9b9249c6f061a11991ec1b5d742662236c /npc/003-1/ishi.txt
parentd3c277d189ff513258f290c84680d275c4d05e0c (diff)
downloadserverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.gz
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.bz2
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.tar.xz
serverdata-44862dca9b6f26513f23ea1fd79365c7a8d33d9e.zip
Use rand2() instead of rand() in several places
Diffstat (limited to 'npc/003-1/ishi.txt')
-rw-r--r--npc/003-1/ishi.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/003-1/ishi.txt b/npc/003-1/ishi.txt
index e371acfc5..2283af685 100644
--- a/npc/003-1/ishi.txt
+++ b/npc/003-1/ishi.txt
@@ -159,7 +159,7 @@ L_Items:
//debugmes "Setting reward"; // could be if (!.@lucked) but for sanity...
if (.@reward$ == "")
- set .@reward$, @Items$[rand(getarraysize(@Items$))];
+ .@reward$=any_of(@Items$);
//debugmes "Check weight";
.@weight = checkweight(.@reward$,1);