for (int j = 0; j < e.crew.getRollsNeeded(); j++) {
for (int j = 0; j < rollsNeeded; j++) {
    private void resolveCrewDamage() {        boolean anyRolls = false;        for (Enumeration i = game.getEntities(); i.hasMoreElements();) {            final Entity e = (Entity)i.nextElement();            final int rollsNeeded = e.getCrew().getRollsNeeded();            e.crew.setRollsNeeded(0);            if (!e.isTargetable() || !e.getCrew().isActive() || rollsNeeded == 0) {                continue;            }            anyRolls = true;            for (int j = 0; j < e.crew.getRollsNeeded(); j++) {                int roll = Compute.d6(2);                phaseReport.append("\nPilot of " + e.getDisplayName()                   + " \"" + e.getCrew().getName() + "\""                   + " needs a " + e.getCrew().getConciousnessNumber()                   + " to stay concious.  Rolls " + roll + " : ");                if (roll >= e.crew.getConciousnessNumber()) {                    phaseReport.append("successful!");                } else {                    e.crew.setUnconcious(true);                    e.crew.setKoThisRound(true);                    phaseReport.append("blacks out.");                    break;                }            }        }        if (anyRolls) {            phaseReport.append("\n");        }    }