summaryrefslogtreecommitdiff
path: root/npc/merchants
diff options
context:
space:
mode:
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;