diff options
author | Haru <haru@dotalux.com> | 2013-11-28 00:42:20 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2013-11-28 00:43:49 +0100 |
commit | 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch) | |
tree | e2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/custom/etc/bank.txt | |
parent | c069e2e9b89f712c6ad6ebba983460408f6da198 (diff) | |
download | hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.gz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.bz2 hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.xz hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.zip |
Revert "Cleaned up Zeny manipulation in scripts."
Reverted due to a serious regression.
I'll commit this again once I fixed the issue in the script engine.
Sorry for the inconvenience.
This reverts commit 4faa0ec9df7067cee3eb1c1953fccc6c2f842179.
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'npc/custom/etc/bank.txt')
-rw-r--r-- | npc/custom/etc/bank.txt | 12 |
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."; |