if ( isLocationDestroyed(loc) ) return 0;
if (isLocationBad(loc)) { return 0; }
      public int countLegActuatorCrits(int loc) {        if ( isLocationDestroyed(loc) )          return 0;                  int crits = 0;                if ( locationIsLeg(loc) ) {          if(getGoodCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_UPPER_LEG, loc) == 0) {              crits++;        }          if(getGoodCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_LOWER_LEG, loc) == 0) {              crits++;            }          if(getGoodCriticals(CriticalSlot.TYPE_SYSTEM, Mech.ACTUATOR_FOOT, loc) == 0) {              crits++;        }    }        return crits;    }