Procházet zdrojové kódy

Fixed a bug in Orange Potion creating. Copy&Pasting = bad.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11661 54d463be-8e91-2dee-dedb-b68131a5f0ec
L0ne_W0lf před 17 roky
rodič
revize
d1074145f0
2 změnil soubory, kde provedl 12 přidání a 7 odebrání
  1. 2 0
      npc/Changelog.txt
  2. 10 7
      npc/merchants/old_pharmacist.txt

+ 2 - 0
npc/Changelog.txt

@@ -1,5 +1,7 @@
 Date		Added
 ======
+2007/11/05
+	* Rev 11661 Fixed a bug in Orange Potion creating. Copy&Pasting = bad.[L0ne_W0lf]
 2007/11/04
 	* Updated Thor Volcano spawns [Playtester]
 	* Rev. 11653 Fixed a bug in sage job quest. [L0ne_W0lf]

+ 10 - 7
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;