summaryrefslogtreecommitdiff
path: root/npc/merchants/socket_enchant.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/socket_enchant.txt')
-rw-r--r--npc/merchants/socket_enchant.txt4
1 files changed, 2 insertions, 2 deletions
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!";