From 4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 Mon Sep 17 00:00:00 2001 From: Haru Date: Thu, 28 Nov 2013 00:42:20 +0100 Subject: 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 --- npc/merchants/socket_enchant.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/merchants/socket_enchant.txt') diff --git a/npc/merchants/socket_enchant.txt b/npc/merchants/socket_enchant.txt index 4c806a819..d76562783 100644 --- a/npc/merchants/socket_enchant.txt +++ b/npc/merchants/socket_enchant.txt @@ -292,7 +292,7 @@ function script Func_Socket { 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 "[Seiyablem]"; @@ -311,7 +311,7 @@ function script Func_Socket { 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 "[Seiyablem]"; mes "I wish you good luck next time!"; -- cgit v1.2.3-70-g09d2