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.
|
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, showInRefitScreenModPickerFor
public static float RANGE_THRESHOLD
public static float RANGE_MULT
public static float DAMAGE_BONUS_PERCENT
public static float SMOD_MODIFIER
public boolean isApplicableToShip(ShipAPI ship)
isApplicableToShip
in interface HullModEffect
isApplicableToShip
in class BaseHullMod
public java.lang.String getUnapplicableReason(ShipAPI ship)
getUnapplicableReason
in interface HullModEffect
getUnapplicableReason
in class BaseHullMod
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation
in interface HullModEffect
applyEffectsBeforeShipCreation
in class BaseHullMod
public java.lang.String getSModDescriptionParam(int index, ShipAPI.HullSize hullSize, ShipAPI ship)
getSModDescriptionParam
in interface HullModEffect
getSModDescriptionParam
in class BaseHullMod
public void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffect
applyEffectsAfterShipCreation
in interface HullModEffect
applyEffectsAfterShipCreation
in class BaseHullMod
public java.lang.String getDescriptionParam(int index, ShipAPI.HullSize hullSize)
getDescriptionParam
in interface HullModEffect
getDescriptionParam
in class BaseHullMod
public boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec)
HullModEffect
shouldAddDescriptionToTooltip
in interface HullModEffect
shouldAddDescriptionToTooltip
in class BaseHullMod
public void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec)
HullModEffect
addPostDescriptionSection
in interface HullModEffect
addPostDescriptionSection
in class BaseHullMod
Copyright © 2013 Fractal Softworks, LLC. All Rights Reserved.