From 61364c8b050391b585944174bd5a753f74ed51f4 Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 22 Sep 2007 22:05:04 +0000 Subject: 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 --- npc/merchants/dye_maker.txt | 5 ++--- 1 file 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...?"; -- cgit v1.2.3-60-g2f50