summaryrefslogtreecommitdiff
path: root/npc/quests/juice_maker.txt
diff options
context:
space:
mode:
authorbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-05-10 00:53:22 +0000
committerbrianluau <brianluau@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-05-10 00:53:22 +0000
commit01dc34c9a73819dfbf0e8242a9ba7e572d76955d (patch)
tree807e703a81399259da92a17702983c4cf51b4caf /npc/quests/juice_maker.txt
parent89e21c57b3f24f3700957a1ff1dce5359ca8c97f (diff)
downloadhercules-01dc34c9a73819dfbf0e8242a9ba7e572d76955d.tar.gz
hercules-01dc34c9a73819dfbf0e8242a9ba7e572d76955d.tar.bz2
hercules-01dc34c9a73819dfbf0e8242a9ba7e572d76955d.tar.xz
hercules-01dc34c9a73819dfbf0e8242a9ba7e572d76955d.zip
- Fixed the Juice Maker's "As many as I can" option. (bugreport:4155)
- Removed a duplicate 'next' in Kiel Hyre Quest. (bugreport:4222) - Fixed 'checkequipedcard' not counter-checking for signed items. (bugreport:4231) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14294 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc/quests/juice_maker.txt')
-rw-r--r--npc/quests/juice_maker.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/npc/quests/juice_maker.txt b/npc/quests/juice_maker.txt
index fa9c7145d..d3745a7de 100644
--- a/npc/quests/juice_maker.txt
+++ b/npc/quests/juice_maker.txt
@@ -228,6 +228,8 @@ payon_in03,188,146,5 script Marx Hansen#juice 86,{
switch(select("As many as I can.:I want a certain amount.:Cancel.")) {
case 1:
set .@make,countitem(.@fruit);
+ if (countitem(713) < .@make) set .@make, countitem(713);
+ if (Zeny/3 < .@make) set .@make, Zeny/3;
break;
case 2:
mes "[Merchant Marx Hansen]";