16 public static class Level0
implements DescriptionSkillEffect {
17 public String getString() {
18 int baseOfficers = (int)
Global.
getSector().getPlayerStats().getOfficerNumber().getBaseValue();
20 return "*The base maximum number of officers you're able to command is " + baseOfficers +
".";
22 public Color[] getHighlightColors() {
23 Color h = Misc.getDarkHighlightColor();
24 return new Color[] {h};
26 public String[] getHighlights() {
27 String baseOfficers =
"" + (int)
Global.
getSector().getPlayerStats().getOfficerNumber().getBaseValue();
28 return new String [] {baseOfficers};
30 public Color getTextColor() {
34 public static class Level1
implements CharacterStatsSkillEffect {
36 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
40 public void unapply(MutableCharacterStatsAPI stats, String
id) {
41 stats.getOfficerNumber().unmodify(
id);
44 public String getEffectDescription(
float level) {
46 return "+" + (int)
NUM_OFFICERS_BONUS +
" to maximum number of officers* you're able to command";
49 public String getEffectPerLevelDescription() {
53 public ScopeDescription getScopeDescription() {
54 return ScopeDescription.NONE;
58 public static class Level1B
implements CharacterStatsSkillEffect {
60 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
61 stats.getCommandPoints().modifyFlat(
id,
CP_BONUS);
64 public void unapply(MutableCharacterStatsAPI stats, String
id) {
65 stats.getCommandPoints().unmodify(
id);
68 public String getEffectDescription(
float level) {
69 return "+" + (int)
CP_BONUS +
" command points";
72 public String getEffectPerLevelDescription() {
76 public ScopeDescription getScopeDescription() {
77 return ScopeDescription.FLEET;