summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-07 11:33:10 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-07 11:33:10 -0300
commit85f333ebab0bf69b5f1294509d757c22759fb6b5 (patch)
tree6cfca899c9177ee6f16c3ebab9a07a7b1616d430
parent3e168bc5acda3c3109de0f6713ccd61e70d82fdb (diff)
downloadserverdata-85f333ebab0bf69b5f1294509d757c22759fb6b5.tar.gz
serverdata-85f333ebab0bf69b5f1294509d757c22759fb6b5.tar.bz2
serverdata-85f333ebab0bf69b5f1294509d757c22759fb6b5.tar.xz
serverdata-85f333ebab0bf69b5f1294509d757c22759fb6b5.zip
Lockpicks: Randomness fix
-rw-r--r--npc/functions/lockpicks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index 0933d0c35..387145893 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -41,7 +41,7 @@ function script LockPicking {
// Create @pins array (the answer)
for (.@i=0; .@i < .@d;.@i++)
- @pins[.@i] = rand(1,.@m);
+ @pins[.@i] = rand2(1,.@m);
// Check if you'll try to open it.
mesc l("This lock is simple, maybe with your thief skills you can manage to pry it open. But beware, you can end up in jail!");