summaryrefslogtreecommitdiff
path: root/npc/custom/etc/bank.txt
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-11-28 13:21:57 -0200
committershennetsind <ind@henn.et>2013-11-28 13:21:57 -0200
commit3c8e2e97243866b0a650002d59fdf2435874fd9a (patch)
tree263d804c1c19e61ffc40f3275b8074941c108a35 /npc/custom/etc/bank.txt
parentae13db97ea770e37450e4e2c1a7919ce98d705a8 (diff)
parent09dd2097b77bf3dda4c5eb1ee6eb2a60f05bbec8 (diff)
downloadhercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.gz
hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.bz2
hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.tar.xz
hercules-3c8e2e97243866b0a650002d59fdf2435874fd9a.zip
Merge branch 'master' of https://github.com/HerculesWS/Hercules
Diffstat (limited to 'npc/custom/etc/bank.txt')
-rw-r--r--npc/custom/etc/bank.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/npc/custom/etc/bank.txt b/npc/custom/etc/bank.txt
index 7b569a3d5..51e3e7e74 100644
--- a/npc/custom/etc/bank.txt
+++ b/npc/custom/etc/bank.txt
@@ -42,8 +42,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's
close;
}
else {
- Zeny -= @deposit;
- Zeny -= @cost;
+ set Zeny,Zeny - @deposit;
+ set Zeny,Zeny - @cost;
set #bankstorage,#bankstorage + @deposit;
mes "[Banker]";
mes "Thank you very much... Your zeny is in good hands.";
@@ -80,8 +80,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's
set #bankstorage,#bankstorage - @cost;
set @cost,0;
next;
- Zeny -= @cost;
- Zeny += @withdrawl;
+ set Zeny,Zeny - @cost;
+ set Zeny,Zeny + @withdrawl;
set #bankstorage,#bankstorage - @withdrawl;
mes "[Banker]";
mes "There's your Zeny. Have a good day.";
@@ -93,8 +93,8 @@ switch(select("I'd like to make a deposit.:I'd like to make a withdrawl.:What's
}
}
else {
- Zeny -= @cost;
- Zeny += @withdrawl;
+ set Zeny,Zeny - @cost;
+ set Zeny,Zeny + @withdrawl;
set #bankstorage,#bankstorage - @withdrawl;
mes "[Banker]";
mes "There's your Zeny. Have a good day.";