summaryrefslogtreecommitdiff
path: root/npc/merchants/old_pharmacist.txt
diff options
context:
space:
mode:
authoreuphyy <euphyy@54d463be-8e91-2dee-dedb-b68131a5f0ec>2013-02-25 03:04:33 +0000
committerStreusel <advance_me@hotmail.de>2013-02-25 21:22:29 -0800
commit06526e32ea7608dfc62ad5aeca91cf78ff3a446f (patch)
tree44b11e18fc4546563fea224004c2765148468688 /npc/merchants/old_pharmacist.txt
parent5c667ccb1e95614177d5c849761040be09abc746 (diff)
downloadhercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.gz
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.bz2
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.tar.xz
hercules-06526e32ea7608dfc62ad5aeca91cf78ff3a446f.zip
* Part one of fixing bugreport:6527. This does not yet change functionality.
-- Added 'disable_items' to all applicable scripts. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17160 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/merchants/old_pharmacist.txt')
-rw-r--r--npc/merchants/old_pharmacist.txt5
1 files changed, 1 insertions, 4 deletions
diff --git a/npc/merchants/old_pharmacist.txt b/npc/merchants/old_pharmacist.txt
index d01eb92e3..f913b0eec 100644
--- a/npc/merchants/old_pharmacist.txt
+++ b/npc/merchants/old_pharmacist.txt
@@ -221,25 +221,22 @@ L_making:
mes "[Old Pharmacist]";
mes "Then pick a number below 100. If you don't want any, just enter '0'. With the materials you have, you can make about "+.@max+" potions.";
input .@amount;
+ next;
if (.@amount == 0) {
- next;
mes "[Old Pharmacist]";
mes "Make up your mind, will you?!";
close;
}
if (.@amount > 100) {
- next;
mes "[Old Pharmacist]";
mes "Are you deaf? I said less than 100!";
close;
}
if ((countitem(getarg(0)) < .@amount*2) || (countitem(713) < .@amount) || (Zeny < .@amount*getarg(1))) {
- next;
mes "[Old Pharmacist]";
mes "You rascal! You don't even have all the materials and you want me to make you potions?!";
close;
}
- next;
set Zeny,Zeny-(.@amount*getarg(1));
delitem getarg(0),.@amount*2;
delitem 713,.@amount; // Empty_Bottle