diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-09-18 11:07:44 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-09-18 11:07:44 -0300 |
commit | be8fd261284d3ce487f8365dd740ccb2d7c800ec (patch) | |
tree | 23200a9d87d9d5271e5e03d7294b051705731262 /npc/functions/lockpicks.txt | |
parent | d9dc1eb686e50845300cf42484fe0b1ee0b368e3 (diff) | |
download | serverdata-be8fd261284d3ce487f8365dd740ccb2d7c800ec.tar.gz serverdata-be8fd261284d3ce487f8365dd740ccb2d7c800ec.tar.bz2 serverdata-be8fd261284d3ce487f8365dd740ccb2d7c800ec.tar.xz serverdata-be8fd261284d3ce487f8365dd740ccb2d7c800ec.zip |
Lockpicks: Rewrite the warning about time running out.
It is unreliable, btw.
Diffstat (limited to 'npc/functions/lockpicks.txt')
-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; } |