if (!en.crew.isDead()) { en.crew.setHits(en.crew.getHits() + damage); s += "        Pilot of " + en.getDisplayName() + " \"" + en.crew.getName() + "\" takes " + damage + " damage."; if (en.crew.getHits() < 6) { en.crew.setRollsNeeded(en.crew.getRollsNeeded() + damage); } else { en.crew.setDoomed(true); s += "\n*** " + en.getDisplayName() + " PILOT KILLED! ***";
if (!crew.isDead()) { crew.setHits( crew.getHits() + damage ); desc.append( "        Pilot of " ) .append( en.getDisplayName() ) .append( " \"" ) .append( crew.getName() ) .append( "\" takes " ) .append( damage ) .append( " damage." ); if ( Pilot.DEATH > crew.getHits() ) { crew.setRollsNeeded( crew.getRollsNeeded() + damage ); } else if ( !crew.isDoomed() ) { crew.setDoomed(true); desc.append( "\n*** " ) .append( en.getDisplayName() ) .append( " PILOT KILLED! ***" );
    private String damageCrew(Entity en, int damage) {        String s = new String();        if (!en.crew.isDead()) {            en.crew.setHits(en.crew.getHits() + damage);            s += "        Pilot of " + en.getDisplayName() + " \"" + en.crew.getName() + "\" takes " + damage + " damage.";            if (en.crew.getHits() < 6) {                en.crew.setRollsNeeded(en.crew.getRollsNeeded() + damage);            } else {                en.crew.setDoomed(true);                s += "\n*** " + en.getDisplayName() + " PILOT KILLED! ***";            }        }        return s;    }