summaryrefslogtreecommitdiff
path: root/npc/merchants/old_pharmacist.txt
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2013-11-28 00:42:20 +0100
committerHaru <haru@dotalux.com>2013-11-28 00:43:49 +0100
commit4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6 (patch)
treee2dd2640adb13411dee1982e3a7d13c12d4e04b3 /npc/merchants/old_pharmacist.txt
parentc069e2e9b89f712c6ad6ebba983460408f6da198 (diff)
downloadhercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.gz
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.bz2
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.tar.xz
hercules-4cc19ba31eaf1cb20f451ff462e1cf9e5ea3def6.zip
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 <haru@dotalux.com>
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 785529a70..5384125e1 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;
}
- Zeny -=(.@max*5);
+ set Zeny,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;
- Zeny -=(.@amount*5);
+ set Zeny,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;
}
- Zeny -=(.@max*getarg(1));
+ set Zeny,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;
}
- Zeny -=(.@amount*getarg(1));
+ set Zeny,Zeny-(.@amount*getarg(1));
delitem getarg(0),.@amount*2;
delitem 713,.@amount; //Empty_Bottle
getitem getarg(2),.@amount;