20 public FleetTotalItem getFleetTotalItem() {
24 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
27 stats.getMaxCombatReadiness().modifyFlat(
id, crBonus * 0.01f,
"Crew Training skill");
31 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
32 stats.getMaxCombatReadiness().unmodify(
id);
35 public String getEffectDescription(
float level) {
39 public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill,
40 TooltipMakerAPI info,
float width) {
46 info.addPara(
"+%s maximum combat readiness for combat ships (maximum: %s)", 0f,
hc,
hc,
47 "" + (
int) crBonus +
"%",
54 public FleetTotalItem getFleetTotalItem() {
58 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
61 stats.getPeakCRDuration().modifyFlat(
id, peakTimeBonus);
65 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
66 stats.getPeakCRDuration().unmodifyFlat(
id);
69 public String getEffectDescription(
float level) {
73 public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill,
74 TooltipMakerAPI info,
float width) {
80 info.addPara(
"+%s seconds peak operating time for combat ships (maximum: %s)", 0f,
hc,
hc,
81 "" + (
int) peakTimeBonus,