summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-22 22:05:04 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-09-22 22:05:04 +0000
commit61364c8b050391b585944174bd5a753f74ed51f4 (patch)
treeaf9dbf8914184fc5f8adecf8e5f018a21fb44995 /npc
parent9823099ec2b9c4a81c13906739baf185db416f70 (diff)
downloadhercules-61364c8b050391b585944174bd5a753f74ed51f4.tar.gz
hercules-61364c8b050391b585944174bd5a753f74ed51f4.tar.bz2
hercules-61364c8b050391b585944174bd5a753f74ed51f4.tar.xz
hercules-61364c8b050391b585944174bd5a753f74ed51f4.zip
Fixed a weird typo in the dye maker npc (from r11145).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11277 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
-rw-r--r--npc/merchants/dye_maker.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/npc/merchants/dye_maker.txt b/npc/merchants/dye_maker.txt
index 4449c14a5..5d0c8d65a 100644
--- a/npc/merchants/dye_maker.txt
+++ b/npc/merchants/dye_maker.txt
@@ -169,9 +169,8 @@ S_MakeDye:
if (select("Make Dyestuffs:Cancel") == 1) {
set .@size, getarraysize(.@item);
// check requirements
- for (set .@i,0 ; .@i < .@size ; set .@i,.@i+1)
- countitem(.@item[.@i]) >= .@count[.@i];
- if (.@i < .@size || Zeny < .@cost) {
+ for( set .@i,0 ; .@i < .@size && countitem(.@item[.@i]) >= .@count[.@i] ; set .@i,.@i+1 );
+ if( .@i < .@size || Zeny < .@cost ) {
mes "[Dye Maker Java Dullihan]";
mes "Hmmm. Not enough...";
mes "I don't think I'll be able to make the color you want with those materials. Why don't you go get some more materials...?";