16 public static class Level1
implements ShipSkillEffect {
18 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
22 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
23 stats.getDynamic().getStat(Stats.FIGHTER_CREW_LOSS_MULT).unmodify(
id);
26 public String getEffectDescription(
float level) {
30 public String getEffectPerLevelDescription() {
34 public ScopeDescription getScopeDescription() {
35 return ScopeDescription.PILOTED_SHIP;
39 public static class Level2
implements ShipSkillEffect {
40 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
46 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
47 stats.getHullDamageTakenMult().unmodify(
id);
48 stats.getArmorDamageTakenMult().unmodify(
id);
49 stats.getShieldDamageTakenMult().unmodify(
id);
52 public String getEffectDescription(
float level) {
56 public String getEffectPerLevelDescription() {
60 public ScopeDescription getScopeDescription() {
61 return ScopeDescription.SHIP_FIGHTERS;
65 public static class Level3
implements ShipSkillEffect {
67 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
69 stats.getFighterRefitTimeMult().modifyMult(
id, timeMult);
72 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
73 stats.getFighterRefitTimeMult().unmodify(
id);
76 public String getEffectDescription(
float level) {
80 public String getEffectPerLevelDescription() {
84 public ScopeDescription getScopeDescription() {
85 return ScopeDescription.PILOTED_SHIP;