16 public static class Level0
implements DescriptionSkillEffect {
17 public String getString() {
20 return "\n*Use the \"" + desc +
"\" control [" + control +
"] to switch between ships.";
22 public Color[] getHighlightColors() {
23 Color h = Misc.getHighlightColor();
24 h = Misc.getDarkHighlightColor();
25 return new Color[] {h};
27 public String[] getHighlights() {
30 return new String [] {control};
32 public Color getTextColor() {
40 public void apply(MutableCharacterStatsAPI stats, String
id,
float level) {
41 if (stats.isPlayerStats()) {
42 stats.getDynamic().getMod(Stats.HAS_NEURAL_LINK).modifyFlat(
id, 1f);
46 public void unapply(MutableCharacterStatsAPI stats, String
id) {
47 if (stats.isPlayerStats()) {
48 stats.getDynamic().getMod(Stats.HAS_NEURAL_LINK).unmodifyFlat(
id);
52 public void createCustomDescription(MutableCharacterStatsAPI stats, SkillSpecAPI skill,
53 TooltipMakerAPI info,
float width) {
81 info.addPara(
"Allows two ships to benefit from your combat skills at the same time "
82 +
"and enables rapid switching between them.",
hc, 0f);
83 info.addPara(
"The destination ship "
84 +
"must not be under the command of an officer or an AI core.",
hc, 5f);
90 public String getEffectPerLevelDescription() {
94 public ScopeDescription getScopeDescription() {
95 return ScopeDescription.FLEET;