String weightModStr = "";
    private void checkFor20Damage() {        for (Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity entity = (Entity)i.nextElement();            if (entity.getMovementType() == Entity.MovementType.BIPED ||            entity.getMovementType() == Entity.MovementType.QUAD) {                // if this mech has 20+ damage, add another roll to the list.                if (entity.damageThisPhase >= 20) {                    if ( game.getOptions().booleanOption("maxtech_round_damage") ) {                      int damMod = (entity.damageThisPhase / 20);                      game.addPSR(new PilotingRollData(entity.getId(), damMod, entity.damageThisPhase + " damage"));                      int weightMod = 0;                                            switch ( entity.getWeightClass() ) {                        case Entity.WEIGHT_LIGHT:                          weightMod = 1;                          break;                                                  case Entity.WEIGHT_MEDIUM:                          weightMod = 0;                          break;                                                  case Entity.WEIGHT_HEAVY:                          weightMod = -1;                          break;                                                  case Entity.WEIGHT_ASSAULT:                          weightMod = -2;                          break;                      }                                            if ( weightMod != 0 )                        game.addPSR(new PilotingRollData(entity.getId(), weightMod, entity.damageThisPhase + " weight mod"));                    } else {                                    game.addPSR(new PilotingRollData(entity.getId(), 1, "20+ damage"));                    }                }            }        }    }