summaryrefslogtreecommitdiff
path: root/npc/functions/bank.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-06-29 09:28:02 -0300
committerJesusaves <cpntb1@ymail.com>2018-06-29 09:28:02 -0300
commitc3e75a2ea91803ce25ed10ceb8affae5aca59901 (patch)
treea1adfed351dc05fc75ce91b6163532cbc49169af /npc/functions/bank.txt
parent70ba8e4743e82f137012a8fc996fb822c2560ac6 (diff)
downloadserverdata-c3e75a2ea91803ce25ed10ceb8affae5aca59901.tar.gz
serverdata-c3e75a2ea91803ce25ed10ceb8affae5aca59901.tar.bz2
serverdata-c3e75a2ea91803ce25ed10ceb8affae5aca59901.tar.xz
serverdata-c3e75a2ea91803ce25ed10ceb8affae5aca59901.zip
Multi-char banks now have a discount %%0
Diffstat (limited to 'npc/functions/bank.txt')
-rw-r--r--npc/functions/bank.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/functions/bank.txt b/npc/functions/bank.txt
index bb5d8ff34..ebaee6070 100644
--- a/npc/functions/bank.txt
+++ b/npc/functions/bank.txt
@@ -128,13 +128,13 @@ function script Banking {
// name, city, price (defaults to 10k)
function script Banker {
-
mesn getarg(0);
mesq l("Welcome! My name is @@, I am a representative of the Merchant Guild on @@.", getarg(0), getarg(1));
next;
L_Menu:
.@price = getarg(2, 10000);
+ .@price=min(2000, .@price-#BankP);
if (getq(General_Banker) == 0) {
mesn getarg(0);
mesq l("Register fee is @@.", .@price);
@@ -148,6 +148,7 @@ L_Menu:
case 1:
Zeny=Zeny-.@price;
setq General_Banker, 1;
+ #BankP=#BankP+rand(100,400);
mesn getarg(0);
mesq l("Registered! You can now use any banking service, of any town!");
break;