18 public static class Level1A
implements CharacterStatsSkillEffect {
20 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
21 stats.getCommandPoints().modifyFlat(
id,
CP_BONUS);
24 public void unapply(MutableCharacterStatsAPI stats, String
id) {
25 stats.getCommandPoints().unmodify(
id);
28 public String getEffectDescription(
float level) {
29 return "+" + (int)
CP_BONUS +
" command points";
32 public String getEffectPerLevelDescription() {
36 public ScopeDescription getScopeDescription() {
37 return ScopeDescription.FLEET;
41 public static class Level1B
implements CharacterStatsSkillEffect {
43 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
44 stats.getDynamic().getStat(Stats.COMMAND_POINT_RATE_COMMANDER).modifyFlat(
id,
RATE_BONUS / 100f);
47 public void unapply(MutableCharacterStatsAPI stats, String
id) {
48 stats.getDynamic().getStat(Stats.COMMAND_POINT_RATE_COMMANDER).unmodify(
id);
51 public String getEffectDescription(
float level) {
52 return "" + (int)
RATE_BONUS +
"% faster command point recovery";
55 public String getEffectPerLevelDescription() {
59 public ScopeDescription getScopeDescription() {
60 return ScopeDescription.FLEET;
70 public static class Level3A
implements CharacterStatsSkillEffect {
71 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
72 stats.getDynamic().getMod(Stats.COORDINATED_MANEUVERS_MAX).modifyFlat(
id,
CM_BONUS);
74 public void unapply(MutableCharacterStatsAPI stats, String
id) {
75 stats.getDynamic().getMod(Stats.COORDINATED_MANEUVERS_MAX).unmodify(
id);
77 public String getEffectDescription(
float level) {
78 return "" + (int)
CM_BONUS +
"% maximum bonus from Coordinated Maneuvers";
80 public String getEffectPerLevelDescription() {
83 public ScopeDescription getScopeDescription() {
84 return ScopeDescription.NONE;
88 public static class Level3B
implements CharacterStatsSkillEffect {
89 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
90 stats.getDynamic().getMod(Stats.ELECTRONIC_WARFARE_MAX).modifyFlat(
id,
EW_BONUS);
92 public void unapply(MutableCharacterStatsAPI stats, String
id) {
93 stats.getDynamic().getMod(Stats.ELECTRONIC_WARFARE_MAX).unmodify(
id);
95 public String getEffectDescription(
float level) {
96 return "" + (int)
CM_BONUS +
"% maximum bonus from Electronic Warfare";
98 public String getEffectPerLevelDescription() {
101 public ScopeDescription getScopeDescription() {
102 return ScopeDescription.NONE;