diff options
author | gumi <mekolat@users.noreply.github.com> | 2017-04-25 21:04:22 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2017-05-04 09:48:28 -0400 |
commit | 0a973c034c314eec7574c4afae82c96dc1a6d0b3 (patch) | |
tree | 8b4bada3073e3c2dae4e8a002d9a8b6d7d31ad15 /npc/001-2-19 | |
parent | a9f6793ab05f3f8490de3dfa7f97f91f11915bc7 (diff) | |
download | serverdata-s20170510.tar.gz serverdata-s20170510.tar.bz2 serverdata-s20170510.tar.xz serverdata-s20170510.zip |
convert the old bank vault to the new bank vaults20170510
Diffstat (limited to 'npc/001-2-19')
-rw-r--r-- | npc/001-2-19/lloyd.txt | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/npc/001-2-19/lloyd.txt b/npc/001-2-19/lloyd.txt index 2f3a959b..67e3fbc0 100644 --- a/npc/001-2-19/lloyd.txt +++ b/npc/001-2-19/lloyd.txt @@ -233,4 +233,12 @@ OnInit: .sex = G_MALE; .distance = 4; end; + +OnPCLoginEvent: + if (#MerchantBank) + { + BankVault += max(0, #MerchantBank); + #MerchantBank = 0; + } + end; } |