( target.dodging || ( !target.hasDisplacementAttack() && !target.isEligibleForPhysical() ) ) ) {
( target.dodging || false )) {
    public static void modifyPhysicalBTHForAdvantages(Entity attacker, Entity target, ToHitData toHit, Game game) {        if (attacker.getCrew().getOptions().booleanOption("melee_specialist")            && attacker instanceof Mech            && getTargetMovementModifier(game, target.getId()).getValue() > 0) {            toHit.addModifier(-1, "melee specialist");        }        // Mek targets that have the dodge maneuver but didn't get a physical        // turn (unless they're charging or DFAing) get the dodge bonus.        if ( target != null && target instanceof Mech &&             target.getCrew().getOptions().booleanOption("dodge_maneuver") &&             ( target.dodging ||               ( !target.hasDisplacementAttack() &&                 !target.isEligibleForPhysical() ) ) ) {            toHit.addModifier(2, "target is dodging");        }    }