summaryrefslogtreecommitdiff
path: root/npc/merchants/socket_enchant2.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/merchants/socket_enchant2.txt')
-rw-r--r--npc/merchants/socket_enchant2.txt8
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!";