Class ShroudedThunderheadHullmod
java.lang.Object
com.fs.starfarer.api.combat.BaseHullMod
com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
com.fs.starfarer.api.impl.combat.dweller.ShroudedThunderheadHullmod
- All Implemented Interfaces:
HullModEffect
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
static class
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic String
static float
static float
static float
static float
static float
static float
static float
static float
static float
static float
static float
static float
Fields inherited from class com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
ALLOW_ON_PHASE_SHIPS, CREATOR, CREW_CASUALTIES
Fields inherited from class com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
INITED_DWELLER_STUFF, SHIP_CREATORS
Fields inherited from class com.fs.starfarer.api.combat.BaseHullMod
spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPostDescriptionSection
(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) ship may be null, will be for modspecs.void
advanceInCombat
(ShipAPI ship, float amount) Not called while paused.void
applyEffectsAfterShipCreation
(ShipAPI ship, String id) Effects applied here should NOT affect ship stats as this does not get called from the campaign.static float
getDamage
(ShipAPI.HullSize size) getDescriptionParam
(int index, ShipAPI.HullSize hullSize) static float
getEMPDamage
(ShipAPI.HullSize size) static float
getFluxCost
(ShipAPI.HullSize size) static float
getPowerMult
(ShipAPI.HullSize size) boolean
shouldAddDescriptionToTooltip
(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) ship may be null, will be for modspecs.void
Methods inherited from class com.fs.starfarer.api.impl.combat.dweller.HumanShipShroudedHullmod
addCrewCasualties, addStrategyAI, applyEffectsBeforeShipCreation, deductFlux, getShipCreator, getUnapplicableReason, increasesCrewCasualties, isApplicableToShip, skipFluxUseWhenOverloadedOrVenting
Methods inherited from class com.fs.starfarer.api.impl.combat.dweller.DwellerHullmod
applyEffectsAfterShipAddedToCombatEngine
Methods inherited from class com.fs.starfarer.api.combat.BaseHullMod
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, applyEffectsToFighterSpawnedByShip, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerFor
-
Field Details
-
MAX_RANGE
public static float MAX_RANGE -
RECENT_HIT_DUR
public static float RECENT_HIT_DUR -
MAX_TIME_SINCE_RECENT_HIT
public static float MAX_TIME_SINCE_RECENT_HIT -
WEIGHT_PER_RECENT_HIT
public static float WEIGHT_PER_RECENT_HIT -
MISFIRE_WEIGHT
public static float MISFIRE_WEIGHT -
MIN_REFIRE_DELAY
public static float MIN_REFIRE_DELAY -
MAX_REFIRE_DELAY
public static float MAX_REFIRE_DELAY -
REFIRE_RATE_MULT
public static float REFIRE_RATE_MULT -
FLUX_PER_DAMAGE
public static float FLUX_PER_DAMAGE -
MIN_DAMAGE
public static float MIN_DAMAGE -
MAX_DAMAGE
public static float MAX_DAMAGE -
EMP_MULT
public static float EMP_MULT -
DATA_KEY
-
-
Constructor Details
-
ShroudedThunderheadHullmod
public ShroudedThunderheadHullmod()
-
-
Method Details
-
applyEffectsAfterShipCreation
Description copied from interface:HullModEffect
Effects applied here should NOT affect ship stats as this does not get called from the campaign. Apply stat changes in applyEffectsBeforeShipCreation() instead, as that does affect the campaign.- Specified by:
applyEffectsAfterShipCreation
in interfaceHullModEffect
- Overrides:
applyEffectsAfterShipCreation
in classDwellerHullmod
-
getDescriptionParam
- Specified by:
getDescriptionParam
in interfaceHullModEffect
- Overrides:
getDescriptionParam
in classBaseHullMod
-
getRequiredItem
-
getData
-
advanceInCombat
Description copied from interface:HullModEffect
Not called while paused.- Specified by:
advanceInCombat
in interfaceHullModEffect
- Overrides:
advanceInCombat
in classDwellerHullmod
-
getPowerMult
-
getDamage
-
getEMPDamage
-
getFluxCost
-
spawnLightning
-
shouldAddDescriptionToTooltip
public boolean shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize, ShipAPI ship, boolean isForModSpec) Description copied from interface:HullModEffect
ship may be null, will be for modspecs. hullsize will always be CAPITAL_SHIP for modspecs.- Specified by:
shouldAddDescriptionToTooltip
in interfaceHullModEffect
- Overrides:
shouldAddDescriptionToTooltip
in classBaseHullMod
- Returns:
-
addPostDescriptionSection
public void addPostDescriptionSection(TooltipMakerAPI tooltip, ShipAPI.HullSize hullSize, ShipAPI ship, float width, boolean isForModSpec) Description copied from interface:HullModEffect
ship may be null, will be for modspecs. hullsize will always be CAPITAL_SHIP for modspecs.- Specified by:
addPostDescriptionSection
in interfaceHullModEffect
- Overrides:
addPostDescriptionSection
in classBaseHullMod
-