From 88d7c8c2530a2179b48ec0d862e4d53dc788ba15 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 Feb 2020 11:14:18 -0300 Subject: Typo on source code --- npc/functions/lockpicks.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/functions/lockpicks.txt') 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% -- cgit v1.2.3-60-g2f50