summaryrefslogtreecommitdiff
path: root/npc/017-3
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-25 10:56:43 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-25 10:56:43 -0300
commitaa2ba120465fd265526dac744daf60b8603b4f00 (patch)
treec6a20fedacf60e13acaa644daba6d49c5b3f16e2 /npc/017-3
parent119bcaa618235378d045474c1424872715431d0a (diff)
downloadserverdata-aa2ba120465fd265526dac744daf60b8603b4f00.tar.gz
serverdata-aa2ba120465fd265526dac744daf60b8603b4f00.tar.bz2
serverdata-aa2ba120465fd265526dac744daf60b8603b4f00.tar.xz
serverdata-aa2ba120465fd265526dac744daf60b8603b4f00.zip
Livio Patch's: You can now escape from the cops (max. 40% runaway chance)
Diffstat (limited to 'npc/017-3')
-rw-r--r--npc/017-3/vault.txt13
1 files changed, 11 insertions, 2 deletions
diff --git a/npc/017-3/vault.txt b/npc/017-3/vault.txt
index 9f48bc3be..35434eae9 100644
--- a/npc/017-3/vault.txt
+++ b/npc/017-3/vault.txt
@@ -15,11 +15,20 @@
mesq l("Booty!");
} else {
mesn;
- mesq l("Arrested!");
.@inch=(Zeny/100);
Zeny-=.@inch;
$VAULT_01738039+=.@inch;
- atcommand("@jailfor 5mn "+strcharinfo(0));
+ if (ArrestedChances()) {
+ mesc l("Arrested!");
+ atcommand("@jailfor 5mn "+strcharinfo(0));
+ } else {
+ if (is_night())
+ .@p$=l("The darkness of night gives you cover.");
+ else
+ .@p$=l("Your agile legs and sheer luck allows you to outrun the cops.");
+ mesc l("You run as far as you could. %s", .@p$);
+ warp "000-1", 22, 22;
+ }
}
close;