if ( getCrew().isDead() || getCrew().isDoomed() ) {
if ( getCrew().isDead() || getCrew().isDoomed() || getCrew().getHits() >= 6 ) {
    public PilotingRollData getBasePilotingRoll() {        final int entityId = getId();                PilotingRollData roll;                // Pilot dead?        if ( getCrew().isDead() || getCrew().isDoomed() ) {            return new PilotingRollData(entityId, PilotingRollData.IMPOSSIBLE, "Pilot dead");        }        // pilot awake?        else if (!getCrew().isActive()) {            return new PilotingRollData(entityId, PilotingRollData.IMPOSSIBLE, "Pilot unconcious");        }        // gyro operational?        if (getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO, Mech.LOC_CT) > 1) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FAIL, 3, "Gyro destroyed");        }        // both legs present?        if ( this instanceof BipedMech ) {          if ( ((BipedMech)this).countDestroyedLegs() == 2 )            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FAIL, 10, "Both legs destroyed");        } else if ( this instanceof QuadMech ) {          if ( ((QuadMech)this).countDestroyedLegs() >= 3 )            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FAIL, 10, ((Mech)this).countDestroyedLegs() + " legs destroyed");        }        // entity shut down?        if (isShutDown()) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FAIL, 3, "Reactor shut down");        }                // okay, let's figure out the stuff then        roll = new PilotingRollData(entityId, getCrew().getPiloting(), "Base piloting skill");                //Let's see if we have a modifier to our piloting skill roll. We'll pass in the roll        //object and adjust as necessary          roll = addEntityBonuses(roll);                return roll;    }