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/merchants/socket_enchant2.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/merchants/socket_enchant2.txt')
-rw-r--r-- | npc/merchants/socket_enchant2.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/socket_enchant2.txt b/npc/merchants/socket_enchant2.txt index dbdcfe379..3e7c64808 100644 --- a/npc/merchants/socket_enchant2.txt +++ b/npc/merchants/socket_enchant2.txt @@ -287,7 +287,7 @@ mes "Congratulations."; delitem 5022,1; //Helm_Of_Sun delitem 969,2; //Gold - Zeny -= 200000000; + set Zeny, Zeny - 200000000; getitem 5353,1; //Helm_Of_Sun_ next; mes "[Leablem]"; @@ -306,7 +306,7 @@ mes "I didn't want to do in the first place!"; delitem 5022,1; //Helm_Of_Sun delitem 969,2; //Gold - Zeny -= 200000000; + set Zeny, Zeny - 200000000; next; mes "[Leablem]"; mes "No, don't ever ask me to do such a risky thing again!"; @@ -428,7 +428,7 @@ function script Func_Socket2 { delitem getarg(5),getarg(6); if (getarg(7,0) != 0 && getarg(8,0) != 0) delitem getarg(7),getarg(8); - Zeny -= getarg(4)*1000; + set Zeny, Zeny - getarg(4)*1000; getitem getarg(1),1; next; mes "[Leablem]"; @@ -448,7 +448,7 @@ function script Func_Socket2 { delitem getarg(5),getarg(6); if (getarg(7,0) != 0 && getarg(8,0) != 0) delitem getarg(7),getarg(8); - Zeny -= getarg(4)*1000; + set Zeny, Zeny - getarg(4)*1000; next; mes "[Leablem]"; mes "See you again, buddy!"; |