public PilotingRollData checkRubbleMove(MoveStep step,EntityMovementType moveType,IHex curHex,Coords lastPos,Coords curPos,boolean isLastStep,boolean isPavementStep){
  PilotingRollData roll=getBasePilotingRoll(moveType);
  boolean enteringRubble=true;
  addPilotingModifierForTerrain(roll,curPos,enteringRubble);
  if (!lastPos.equals(curPos) && ((moveType != EntityMovementType.MOVE_JUMP) || isLastStep) && (curHex.terrainLevel(Terrains.RUBBLE) > 0)&& !isPavementStep&& (this instanceof Mech)) {
    adjustDifficultTerrainPSRModifier(roll);
  }
 else {
    roll.addModifier(TargetRoll.CHECK_FALSE,"Check false: Entity is not entering rubble");
  }
  return roll;
}

public PilotingRollData checkRubbleMove ( MoveStep step , EntityMovementType moveType , IHex curHex , Coords lastPos , Coords curPos , boolean isLastStep , boolean isPavementStep ) { PilotingRollData roll = getBasePilotingRoll ( moveType ) ; boolean enteringRubble = true ; addPilotingModifierForTerrain ( roll , curPos , enteringRubble ) ; if ( ! lastPos . equals ( curPos ) && ( ( moveType != EntityMovementType . MOVE_JUMP ) || isLastStep ) && ( curHex . terrainLevel ( Terrains . RUBBLE ) > 0 ) && ! isPavementStep && ( this instanceof Mech ) ) { adjustDifficultTerrainPSRModifier ( roll ) ; } else { roll . addModifier ( TargetRoll . CHECK_FALSE , "Check false: Entity is not entering rubble" ) ; } return roll ; }
checks if the entity is moving into rubble . if so , returns the target roll for the piloting skill check .
