Thread:Sylvandyr/@comment-5089372-20130118013553/@comment-5619126-20130118154314

weird... I already had that rule...


 * 1) Check for 2-color pool with one diamond

if ($countPar == 2 && $parColor["Diamond"] == "Diamond" ) { $valid = true; }

$countPar -> Number of array elements in parent color pool

So, if the parent color pool has 2 elements in the array and if the Diamond element is in the array, then it's a valid breeding combination.