From 85f333ebab0bf69b5f1294509d757c22759fb6b5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 7 May 2020 11:33:10 -0300 Subject: Lockpicks: Randomness fix --- npc/functions/lockpicks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc') 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!"); -- cgit v1.2.3-60-g2f50