--- deliantra/server/ext/Jeweler.pm 2007/02/04 11:17:52 1.9 +++ deliantra/server/ext/Jeweler.pm 2007/02/04 11:57:22 1.11 @@ -1085,6 +1085,11 @@ my $check_cnts = 0; my $check_true = 0; for my $match (@matchar) { + if ($i % 3 == 0) { + $check_cnts = 0; + $check_true = 0; + } + if ($match =~ m/^\s*$/) { $i++; next; @@ -1103,6 +1108,7 @@ } $i++; } + #d# warn "CHECK $check_true | $check_cnts | [".(join ',', @matchar).":".join (",", ($thing->name, $thing->title, $thing->arch->name))."\n"; if ($check_true && $check_cnts == $check_true) { return 1; }