summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
Diffstat (limited to 'npc')
-rw-r--r--npc/functions/lockpicks.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index 88171c3dd..c8271ba3a 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -71,8 +71,8 @@ function script LockPicking {
l("Give up!"), 0;
if (!@menuret) {
- // 10% chance to save the lockpick
- if (rand(1,10) == 7)
+ // 25% chance to save the lockpick
+ if (rand2(1,4) == 2)
getitem Lockpicks, 1;
else
dispbottom l("The lockpick broke.");
@@ -92,8 +92,8 @@ function script LockPicking {
}
if (@pos >= .@d) {
- // 10% chance to save the lockpick
- if (rand(1,10) == 7)
+ // 20% chance to save the lockpick
+ if (rand2(1,5) == 3)
getitem Lockpicks, 1;
else
dispbottom l("The lockpick broke.");