public PilotingRollData checkLandingWithDamage(EntityMovementType overallMoveType){
  PilotingRollData roll=getBasePilotingRoll(overallMoveType);
  if (((getBadCriticals(CriticalSlot.TYPE_SYSTEM,Mech.SYSTEM_GYRO,Mech.LOC_CT) > 0) && (getGyroType() != Mech.GYRO_HEAVY_DUTY)) || ((getBadCriticals(CriticalSlot.TYPE_SYSTEM,Mech.SYSTEM_GYRO,Mech.LOC_CT) > 1) && (getGyroType() == Mech.GYRO_HEAVY_DUTY)) || hasLegActuatorCrit()) {
    roll.append(new PilotingRollData(getId(),0,"landing with damaged leg actuator or gyro"));
    addPilotingModifierForTerrain(roll);
  }
 else {
    roll.addModifier(TargetRoll.CHECK_FALSE,"Entity does not have gyro or leg actuator damage -- checking for purposes of determining PSR " + "after jump.");
  }
  return roll;
}

public PilotingRollData checkLandingWithDamage ( EntityMovementType overallMoveType ) { PilotingRollData roll = getBasePilotingRoll ( overallMoveType ) ; if ( ( ( getBadCriticals ( CriticalSlot . TYPE_SYSTEM , Mech . SYSTEM_GYRO , Mech . LOC_CT ) > 0 ) && ( getGyroType ( ) != Mech . GYRO_HEAVY_DUTY ) ) || ( ( getBadCriticals ( CriticalSlot . TYPE_SYSTEM , Mech . SYSTEM_GYRO , Mech . LOC_CT ) > 1 ) && ( getGyroType ( ) == Mech . GYRO_HEAVY_DUTY ) ) || hasLegActuatorCrit ( ) ) { roll . append ( new PilotingRollData ( getId ( ) , 0 , "landing with damaged leg actuator or gyro" ) ) ; addPilotingModifierForTerrain ( roll ) ; } else { roll . addModifier ( TargetRoll . CHECK_FALSE , "Entity does not have gyro or leg actuator damage -- checking for purposes of determining PSR " + "after jump." ) ; } return roll ; }
checks if the entity is landing ( from a jump ) with damage that would force a psr . if so , returns the target roll for the piloting skill check .
