diff options
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/lockpicks.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |