summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 11:14:18 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 11:14:18 -0300
commit88d7c8c2530a2179b48ec0d862e4d53dc788ba15 (patch)
treeac88829536a9240f3e6138d1e7c7640c7fe6f0e0
parentbe4b3e36d43605e1a0aebb458c5fe582664fd391 (diff)
downloadserverdata-88d7c8c2530a2179b48ec0d862e4d53dc788ba15.tar.gz
serverdata-88d7c8c2530a2179b48ec0d862e4d53dc788ba15.tar.bz2
serverdata-88d7c8c2530a2179b48ec0d862e4d53dc788ba15.tar.xz
serverdata-88d7c8c2530a2179b48ec0d862e4d53dc788ba15.zip
Typo on source code
-rw-r--r--npc/functions/lockpicks.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/lockpicks.txt b/npc/functions/lockpicks.txt
index 78878eaf6..1efd3c1ea 100644
--- a/npc/functions/lockpicks.txt
+++ b/npc/functions/lockpicks.txt
@@ -118,7 +118,7 @@ function script LockPicking {
// Script helper to say if you were arrested or not
function script ArrestedChances {
- .@runaway=limit(0, readbattleparam(bLuk)+readbattleparam(bAgi), 200); // 20%
+ .@runaway=limit(0, readparam2(bLuk)+readparam2(bAgi), 200); // 20%
.@runaway+=is_night()*125; // 12.5%
.@runaway+=limit(0, THIEF_RANK*15, 100); // real max 7.5%
// Max runaway chance: 40%