Sfoglia il codice sorgente

Fixed a weird typo in the dye maker npc (from r11145).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11277 54d463be-8e91-2dee-dedb-b68131a5f0ec
ultramage 17 anni fa
parent
commit
37c339c94b
1 ha cambiato i file con 2 aggiunte e 3 eliminazioni
  1. 2 3
      npc/merchants/dye_maker.txt

+ 2 - 3
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...?";