summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
authorL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-05 15:53:09 +0000
committerL0ne_W0lf <L0ne_W0lf@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-11-05 15:53:09 +0000
commit20366b5c5204d5b3578b0a5a686fe013ddd3fbc9 (patch)
tree4484de8157e587e82659c86174f5b65b86b7d8ea /npc/merchants
parent2f254cd153ba353488bb80eb3b217592e32c54cc (diff)
downloadhercules-20366b5c5204d5b3578b0a5a686fe013ddd3fbc9.tar.gz
hercules-20366b5c5204d5b3578b0a5a686fe013ddd3fbc9.tar.bz2
hercules-20366b5c5204d5b3578b0a5a686fe013ddd3fbc9.tar.xz
hercules-20366b5c5204d5b3578b0a5a686fe013ddd3fbc9.zip
Fixed a bug in Orange Potion creating. Copy&Pasting = bad.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11661 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants')
-rw-r--r--npc/merchants/old_pharmacist.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt
index 8f872c1e9..f53eae7cf 100644
--- a/npc/merchants/old_pharmacist.txt
+++ b/npc/merchants/old_pharmacist.txt
@@ -3,7 +3,7 @@
//===== By: ==================================================
//= DZeroX
//===== Current Version: =====================================
-//= 1.1a
+//= 1.1b
//===== Compatible With: =====================================
//= eAthena SVN Trunk
//===== Description: =========================================
@@ -19,6 +19,7 @@
//= 1.1 - Added changed the dialogs and name to fit the
//= the official information. [DZeroX]
//= 1.1a Removed .GATs [Lupus]
+//= 1.1b Fixed a bug in Orange Potion creating. Copy&Pasting = bad. [L0ne_W0lf]
//============================================================
alberta_in,16,28,4 script Old Pharmacist 61,{
@@ -73,10 +74,11 @@ alberta_in,16,28,4 script Old Pharmacist 61,{
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));
- delitem getarg(0),.@max*2;
+ set Zeny,Zeny-(.@max*5);
+ delitem 507,.@max;
+ delitem 508,.@max;
delitem 713,.@max;
- getitem getarg(2),.@max;
+ getitem 502,.@max;
mes "[Old Pharmacist]";
mes "Here. Take them.";
mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good.";
@@ -105,10 +107,11 @@ alberta_in,16,28,4 script Old Pharmacist 61,{
close;
}
next;
- set Zeny,Zeny-(.@amount*getarg(1));
- delitem getarg(0),.@amount*2;
+ set Zeny,Zeny-(.@amount*5);
+ delitem 507,.@amount;
+ delitem 508,.@amount;
delitem 713,.@amount;
- getitem getarg(2),.@amount;
+ getitem 502,.@amount;
mes "[Old Pharmacist]";
mes "Here you go. It's all done so you can take it. But remember! Abusing medicine is not good.";
close;