summaryrefslogtreecommitdiff
path: root/npc/merchants/old_pharmacist.txt
diff options
context:
space:
mode:
authorTaylor Locke <kisuka@kisuka.com>2013-11-25 06:03:06 -0800
committerHaru <haru@dotalux.com>2013-11-30 21:38:38 +0100
commit94ac9fe3303c4d604485a4784e8f5c99f5457863 (patch)
treee33f4d96453941392a1d9b721d4a179ba8f89941 /npc/merchants/old_pharmacist.txt
parentafb2ed27fcc12f86f2418425dd1e7c9b8234a1f2 (diff)
downloadhercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.gz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.bz2
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.tar.xz
hercules-94ac9fe3303c4d604485a4784e8f5c99f5457863.zip
Re-commit of 4faa0ec9df7067cee3eb1c1953fccc6c2f842179
Cleaned up Zeny manipulation in scripts. - It is now finally safe to re-commit. - Removed some unwanted parts of the original commit, that broke the character set in some scripts. [Haru] - Corrected spacing in some edited lines. [Haru]
Diffstat (limited to 'npc/merchants/old_pharmacist.txt')
-rw-r--r--npc/merchants/old_pharmacist.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt
index 5384125e1..b866aa0db 100644
--- a/npc/merchants/old_pharmacist.txt
+++ b/npc/merchants/old_pharmacist.txt
@@ -83,7 +83,7 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
- set Zeny,Zeny-(.@max*5);
+ Zeny -= (.@max*5);
delitem 507,.@max; //Red_Herb
delitem 508,.@max; //Yellow_Herb
delitem 713,.@max; //Empty_Bottle
@@ -113,7 +113,7 @@ alberta_in,16,28,4 script Pharmacist 1_M_PUBMASTER,{
close;
}
next;
- set Zeny,Zeny-(.@amount*5);
+ Zeny -= (.@amount*5);
delitem 507,.@amount; //Red_Herb
delitem 508,.@amount; //Yellow_Herb
delitem 713,.@amount; //Empty_Bottle
@@ -209,7 +209,7 @@ L_Making:
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
- set Zeny,Zeny-(.@max*getarg(1));
+ Zeny -= (.@max*getarg(1));
delitem getarg(0),.@max*2;
delitem 713,.@max; //Empty_Bottle
getitem getarg(2),.@max;
@@ -235,7 +235,7 @@ L_Making:
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
- set Zeny,Zeny-(.@amount*getarg(1));
+ Zeny -= (.@amount*getarg(1));
delitem getarg(0),.@amount*2;
delitem 713,.@amount; //Empty_Bottle
getitem getarg(2),.@amount;