From be8fd261284d3ce487f8365dd740ccb2d7c800ec Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 18 Sep 2019 11:07:44 -0300 Subject: Lockpicks: Rewrite the warning about time running out. It is unreliable, btw. --- npc/functions/lockpicks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt index 3394dc7f8..879c3b334 100644 --- a/npc/functions/lockpicks.txt +++ b/npc/functions/lockpicks.txt @@ -91,7 +91,7 @@ function script LockPicking { // We don't need to clear console, each successful attempt IS counted. // Therefore, unsetting 3 pins means you must do 3 new attempts!! // The biggie is that you're running against time, here!!! - if (@chance < THIEF_RANK) + if (@chance < .@d && rand2(0, THIEF_RANK)) mesc l("Your thief instincts suggest you to hurry."), 1; } -- cgit v1.2.3-60-g2f50