50 public static class Level2
implements CharacterStatsSkillEffect {
51 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
55 public void unapply(MutableCharacterStatsAPI stats, String
id) {
59 public String getEffectDescription(
float level) {
60 return "+" + (int)
ZERO_FLUX_SPEED_BONUS +
" to 0-flux speed boost and a high maneuverability bonus if no enemy presence nearby, +" +
64 public String getEffectPerLevelDescription() {
68 public ScopeDescription getScopeDescription() {
69 return ScopeDescription.ALL_SHIPS;
73 public static class Level3
implements CharacterStatsSkillEffect {
74 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
75 stats.getDynamic().getMod(Stats.CAN_DEPLOY_LEFT_RIGHT_MOD).modifyFlat(
id, 1f);
78 public void unapply(MutableCharacterStatsAPI stats, String
id) {
79 stats.getDynamic().getMod(Stats.CAN_DEPLOY_LEFT_RIGHT_MOD).unmodifyFlat(
id);
82 public String getEffectDescription(
float level) {
83 return "Able to deploy ships of all size classes from the flanks in all combat scenarios";
86 public String getEffectPerLevelDescription() {
90 public ScopeDescription getScopeDescription() {
91 return ScopeDescription.ALL_SHIPS;
95 public static class Level4
extends BaseSkillEffectDescription implements CharacterStatsSkillEffect {
97 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
101 public void unapply(MutableCharacterStatsAPI stats, String
id) {
102 stats.getDynamic().getStat(Stats.COMMAND_POINT_RATE_COMMANDER).unmodify(
id);
105 public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill,
106 TooltipMakerAPI info,
float width) {
110 Color c = Misc.getBasePlayerColor();
112 info.addPara(
"Affects: %s", opad + 5f, Misc.getGrayColor(), c,
"fleet");
113 info.addSpacer(opad);
114 info.addPara(
"%s faster command point recovery", 0f,
hc,
hc,
118 public String getEffectDescription(
float level) {
122 public String getEffectPerLevelDescription() {
126 public ScopeDescription getScopeDescription() {
127 return ScopeDescription.FLEET;