return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FALL, "Both legs destroyed");
return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FAIL, 10, "Both legs destroyed");
    public static PilotingRollData getBasePilotingRoll(Game game, int entityId) {        final Entity entity = game.getEntity(entityId);                PilotingRollData roll;                // gyro operational?        if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO, Mech.LOC_CT) > 1) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FALL, "Gyro destroyed");        }        // both legs present?        if (entity.isLocationDestroyed(Mech.LOC_RLEG) && entity.isLocationDestroyed(Mech.LOC_LLEG)) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FALL, "Both legs destroyed");        }        // entity shut down?        if (entity.isShutDown()) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FALL, "Reactor shut down");        }        // pilot awake?        if (!entity.getCrew().isActive()) {            return new PilotingRollData(entityId, PilotingRollData.AUTOMATIC_FALL, "Pilot unconcious");        }                // okay, let's figure out the stuff then        roll = new PilotingRollData(entityId, entity.getCrew().getPiloting(),                                      entity.getCrew().getPiloting() + " (Base piloting skill)");                // right leg destroyed?        if (entity.isLocationDestroyed(Mech.LOC_RLEG)) {            roll.addModifier(5, "Right Leg destroyed");        } else {            // check for damaged hip actuators            if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_HIP, Mech.LOC_RLEG) > 0) {                roll.addModifier(2, "Right Hip Actuator destroyed");            } else {                // upper leg actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_UPPER_LEG, Mech.LOC_RLEG) > 0) {                    roll.addModifier(1, "Right Upper Leg Actuator destroyed");                }                // lower leg actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_LOWER_LEG, Mech.LOC_RLEG) > 0) {                    roll.addModifier(1, "Right Lower Leg Actuator destroyed");                }                // foot actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_FOOT, Mech.LOC_RLEG) > 0) {                    roll.addModifier(1, "Right Foot Actuator destroyed");                }            }        }        // left leg destroyed?        if (entity.isLocationDestroyed(Mech.LOC_LLEG)) {            roll.addModifier(5, "Left Leg destroyed");        } else {            // check for damaged hip actuators            if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_HIP, Mech.LOC_LLEG) > 0) {                roll.addModifier(2, "Left Hip Actuator destroyed");            } else {                // upper leg actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_UPPER_LEG, Mech.LOC_LLEG) > 0) {                    roll.addModifier(1, "Left Upper Leg Actuator destroyed");                }                // lower leg actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_LOWER_LEG, Mech.LOC_LLEG) > 0) {                    roll.addModifier(1, "Left Lower Leg Actuator destroyed");                }                // foot actuators?                if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_FOOT, Mech.LOC_LLEG) > 0) {                    roll.addModifier(1, "Left Foot Actuator destroyed");                }            }        }        // gyro hit?        if (entity.getDestroyedCriticals(CriticalSlot.TYPE_SYSTEM, Mech.SYSTEM_GYRO, Mech.LOC_CT) > 0) {            roll.addModifier(3, "Gyro damaged");        }                return roll;    }