public static int validateTargets(Permanent[] permanents, Condition[] conditions, Card source) {
        int validTargets = 0;
        for (Permanent permanent : permanents) {
            if (checkConditions(permanent, conditions)) {
                validTargets++;
            }
        }
        return validTargets;
    }