@Override public int getChance(int unitType, Pilot pilot) { if (pilot.getSkills().has(this)) { return 0; } String chance = "chancefor" + getAbbreviation() + "for" + Unit.getTypeClassDesc(unitType); SHouse house = CampaignMain.cm.getHouseFromPartialString(pilot.getCurrentFaction()); if (house == null) { return CampaignMain.cm.getIntegerConfig(chance); } return house.getIntegerConfig(chance); }