16 public static class Level1
implements ShipSkillEffect {
17 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
18 stats.getBallisticWeaponDamageMult().modifyPercent(
id,
DAMAGE_BONUS);
21 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
22 stats.getBallisticWeaponDamageMult().unmodify(
id);
25 public String getEffectDescription(
float level) {
26 return "+" + (int)(
DAMAGE_BONUS) +
"% damage dealt by ballistic weapons";
29 public String getEffectPerLevelDescription() {
33 public ScopeDescription getScopeDescription() {
34 return ScopeDescription.PILOTED_SHIP;
38 public static class Level2
implements ShipSkillEffect {
39 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
40 stats.getBallisticWeaponRangeBonus().modifyPercent(
id,
RANGE_BONUS);
43 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
44 stats.getBallisticWeaponRangeBonus().unmodify(
id);
47 public String getEffectDescription(
float level) {
48 return "+" + (int)(
RANGE_BONUS) +
"% ballistic weapon range";
51 public String getEffectPerLevelDescription() {
55 public ScopeDescription getScopeDescription() {
56 return ScopeDescription.PILOTED_SHIP;
60 public static class Level3
implements ShipSkillEffect {
61 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
65 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
66 stats.getBallisticProjectileSpeedMult().unmodify(
id);
69 public String getEffectDescription(
float level) {
73 public String getEffectPerLevelDescription() {
77 public ScopeDescription getScopeDescription() {
78 return ScopeDescription.PILOTED_SHIP;
83 public static class Level4
implements ShipSkillEffect {
84 public void apply(MutableShipStatsAPI stats, HullSize hullSize, String
id,
float level) {
85 stats.getBallisticWeaponDamageMult().modifyPercent(
id,
DAMAGE_ELITE);
88 public void unapply(MutableShipStatsAPI stats, HullSize hullSize, String
id) {
89 stats.getBallisticWeaponDamageMult().unmodify(
id);
92 public String getEffectDescription(
float level) {
93 return "+" + (int)(
DAMAGE_ELITE) +
"% damage dealt by ballistic weapons";
96 public String getEffectPerLevelDescription() {
100 public ScopeDescription getScopeDescription() {
101 return ScopeDescription.PILOTED_SHIP;