public static String formatPilotCompact(Crew pilot, boolean blindDrop) { String value = ""; if (blindDrop) { value += Messages.getString("ChatLounge.Unknown"); } else { value += pilot.getDesc(); } value += " (" + pilot.getSkillsAsString() + ")"; if (pilot.countOptions() > 0) { value += " (" + pilot.countOptions() + Messages.getString("ChatLounge.abilities") + ")"; } return value; }
if (crew.countOptions(PilotOptions.LVL3_ADVANTAGES) > 0) { output.write("\" advantages=\""); output.write(String.valueOf(crew.getOptionList("::", PilotOptions.LVL3_ADVANTAGES))); if (crew.countOptions(PilotOptions.EDGE_ADVANTAGES) > 0) { output.write("\" edge=\""); output.write(String.valueOf(crew.getOptionList("::", PilotOptions.EDGE_ADVANTAGES))); if (crew.countOptions(PilotOptions.MD_ADVANTAGES) > 0) { output.write("\" implants=\""); output.write(String.valueOf(crew.getOptionList("::",
int numAdv = entity.getCrew().countOptions(PilotOptions.LVL3_ADVANTAGES); if (numAdv == 1) addToTT("Adv1", NOBR, numAdv); if ((entity.getCrew().countOptions(PilotOptions.MD_ADVANTAGES) > 0)) addToTT("MD", NOBR);
for (Enumeration<IOptionGroup> advGroups = pilot.getOptions().getGroups(); advGroups.hasMoreElements();) { IOptionGroup advGroup = advGroups.nextElement(); if (pilot.countOptions(advGroup.getKey()) > 0) { value += "<b>" + advGroup.getDisplayableName() + "</b><br>"; for (Enumeration<IOption> advs = advGroup.getOptions(); advs.hasMoreElements();) {
public static String formatPilotHTML(Crew pilot, boolean blindDrop) { int crewAdvCount = pilot.countOptions(PilotOptions.LVL3_ADVANTAGES); int implants = pilot.countOptions(PilotOptions.MD_ADVANTAGES);
int numAdv = entity.getCrew().countOptions( PilotOptions.LVL3_ADVANTAGES); if (numAdv == 1) if ((entity.getCrew().countOptions( PilotOptions.MD_ADVANTAGES) > 0)) addToTT("MD", NOBR);
if (en.getCrew().countOptions(advGroup.getKey()) > 0) { advantagesR[i++].setString(advGroup.getDisplayableName()); for (Enumeration<IOption> advs = advGroup.getOptions(); advs.hasMoreElements();) {
String pilotString = c.getDesc(c.getCurrentPilotIndex()) + " ("; pilotString += c.getGunnery() + "/" + c.getPiloting(); int crewAdvCount = c.countOptions(PilotOptions.LVL3_ADVANTAGES); if (crewAdvCount > 0) { pilotString += ", +" + crewAdvCount;
int crewAdvCount = entity.getCrew().countOptions(PilotOptions.LVL3_ADVANTAGES); boolean isManeiDomini = entity.getCrew().countOptions(PilotOptions.MD_ADVANTAGES) > 0; int posQuirkCount = entity.countQuirks(Quirks.POS_QUIRKS); int negQuirkCount = entity.countQuirks(Quirks.NEG_QUIRKS);