From 20366b5c5204d5b3578b0a5a686fe013ddd3fbc9 Mon Sep 17 00:00:00 2001 From: L0ne_W0lf Date: Mon, 5 Nov 2007 15:53:09 +0000 Subject: 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 --- npc/merchants/old_pharmacist.txt | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'npc/merchants') 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; -- cgit v1.2.3-70-g09d2