summaryrefslogtreecommitdiff
path: root/npc/merchants/alchemist.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
commit4faa0ec9df7067cee3eb1c1953fccc6c2f842179 (patch)
tree2ad86f1414ff35cf96a8ec5577a978d533072750 /npc/merchants/alchemist.txt
parent463cbc94ea4124a35ad5bf3222b510ad979d8805 (diff)
downloadhercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.gz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.bz2
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.tar.xz
hercules-4faa0ec9df7067cee3eb1c1953fccc6c2f842179.zip
Cleaned up Zeny manipulation in scripts.
Diffstat (limited to 'npc/merchants/alchemist.txt')
-rw-r--r--npc/merchants/alchemist.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/merchants/alchemist.txt b/npc/merchants/alchemist.txt
index af0cbc7d9..9ae092fa8 100644
--- a/npc/merchants/alchemist.txt
+++ b/npc/merchants/alchemist.txt
@@ -78,7 +78,7 @@ alde_alche,24,188,3 script Guild Dealer 2_M_ALCHE,{
mes "in your inventory.";
close;
}
- set Zeny, Zeny-.@sell;
+ Zeny -=.@sell;
getitem 7134,.@input; //Medicine_Bowl
mes "[Gever Al Sharp]";
mes "Thank you.";
@@ -151,7 +151,7 @@ S_SellManual:
mes "That'll be "+getarg(1)+" zeny.";
next;
if (select("Purchase.:Quit.") == 1) {
- set Zeny, Zeny-getarg(1);
+ Zeny -=getarg(1);
getitem getarg(0),1;
mes "[Gever Al Sharp]";
mes "Thank you for";