public class HighScatterAmp extends BaseHullMod
| Modifier and Type | Class and Description |
|---|---|
static class |
HighScatterAmp.HighScatterAmpDamageDealtMod |
static class |
HighScatterAmp.HighScatterAmpRangeMod |
| Modifier and Type | Field and Description |
|---|---|
static float |
DAMAGE_BONUS_PERCENT |
static float |
RANGE_MULT |
static float |
RANGE_THRESHOLD |
static float |
SMOD_MODIFIER |
spec| Constructor and Description |
|---|
HighScatterAmp() |
| Modifier and Type | Method and Description |
|---|---|
void |
addPostDescriptionSection(TooltipMakerAPI tooltip,
ShipAPI.HullSize hullSize,
ShipAPI ship,
float width,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
void |
applyEffectsAfterShipCreation(ShipAPI ship,
java.lang.String id)
Effects applied here should NOT affect ship stats as this does not get called from the campaign.
|
void |
applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize,
MutableShipStatsAPI stats,
java.lang.String id) |
java.lang.String |
getDescriptionParam(int index,
ShipAPI.HullSize hullSize) |
java.lang.String |
getSModDescriptionParam(int index,
ShipAPI.HullSize hullSize,
ShipAPI ship) |
java.lang.String |
getUnapplicableReason(ShipAPI ship) |
boolean |
isApplicableToShip(ShipAPI ship) |
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapplyEffectsAfterShipAddedToCombatEngine, getRequiredItempublic static float RANGE_THRESHOLD
public static float RANGE_MULT
public static float DAMAGE_BONUS_PERCENT
public static float SMOD_MODIFIER
public HighScatterAmp()
public boolean isApplicableToShip(ShipAPI ship)
isApplicableToShip in interface HullModEffectisApplicableToShip in class BaseHullModpublic java.lang.String getUnapplicableReason(ShipAPI ship)
getUnapplicableReason in interface HullModEffectgetUnapplicableReason in class BaseHullModpublic void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic java.lang.String getSModDescriptionParam(int index, ShipAPI.HullSize hullSize, ShipAPI ship)
getSModDescriptionParam in interface HullModEffectgetSModDescriptionParam in class BaseHullModpublic void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffectapplyEffectsAfterShipCreation in interface HullModEffectapplyEffectsAfterShipCreation in class BaseHullModpublic java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam in interface HullModEffectgetDescriptionParam in class BaseHullModpublic boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffectshouldAddDescriptionToTooltip in interface HullModEffectshouldAddDescriptionToTooltip in class BaseHullModpublic void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffectaddPostDescriptionSection in interface HullModEffectaddPostDescriptionSection in class BaseHullMod