From aa2ba120465fd265526dac744daf60b8603b4f00 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 25 Feb 2020 10:56:43 -0300 Subject: Livio Patch's: You can now escape from the cops (max. 40% runaway chance) --- npc/018-2-4/vault.txt | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'npc/018-2-4') diff --git a/npc/018-2-4/vault.txt b/npc/018-2-4/vault.txt index 541a53645..043504829 100644 --- a/npc/018-2-4/vault.txt +++ b/npc/018-2-4/vault.txt @@ -15,11 +15,20 @@ mesq l("Booty!"); } else { mesn; - mesq l("Arrested!"); .@inch=(Zeny/100); Zeny-=.@inch; $VAULT_01824+=.@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; -- cgit v1.2.3-70-g09d2