If I understand correctly, you only want to select a body part to attack if the value difference is positive (Enemy stat stricly greater than player stat).
You can try something along those lines:
Obviously I don’t have access to your exact nodes, but you get the logic behind this example.
You can have a branch node (if statement) to check the max value of the array and only set your body part if it is positive.
