public class ThreatHullmod extends BaseHullMod
| Modifier and Type | Field and Description |
|---|---|
static float |
AIM_BONUS |
static float |
CR_BONUS |
static float |
EMP_DAMAGE_TAKEN_MULT |
static float |
EW_PENALTY_MULT |
static java.lang.String |
FABRICATOR_UNIT |
static float |
FABRICATOR_UNIT_REGEN_RATE_MULT |
static float |
FABRICATOR_UNIT_SWARM_SIZE_MULT |
static java.lang.String |
HIVE_UNIT |
static float |
HIVE_UNIT_REGEN_RATE_MULT |
static float |
HIVE_UNIT_SWARM_SIZE_MULT |
static float |
MISSILE_GUIDANCE_BONUS |
static float |
MODULE_DAMAGE_TAKEN_MULT |
static float |
SENSOR_PROFILE_MULT |
static java.lang.String |
SHIP_BEING_RECLAIMED |
spec| Constructor and Description |
|---|
ThreatHullmod() |
| 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 |
advanceInCombat(ShipAPI ship,
float amount)
Not called while paused.
|
void |
applyEffectsAfterShipAddedToCombatEngine(ShipAPI ship,
java.lang.String id)
Only called once.
|
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) |
void |
applyEffectsToFighterSpawnedByShip(ShipAPI fighter,
ShipAPI ship,
java.lang.String id) |
float |
getTooltipWidth() |
boolean |
shouldAddDescriptionToTooltip(ShipAPI.HullSize hullSize,
ShipAPI ship,
boolean isForModSpec)
ship may be null, will be for modspecs.
|
addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, affectsOPCosts, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getSModDescriptionParam, getUnapplicableReason, hasSModEffect, hasSModEffectSection, init, isApplicableToShip, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, showInRefitScreenModPickerForclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredItempublic static java.lang.String SHIP_BEING_RECLAIMED
public static java.lang.String HIVE_UNIT
public static java.lang.String FABRICATOR_UNIT
public static float AIM_BONUS
public static float MISSILE_GUIDANCE_BONUS
public static float CR_BONUS
public static float SENSOR_PROFILE_MULT
public static float EW_PENALTY_MULT
public static float HIVE_UNIT_REGEN_RATE_MULT
public static float HIVE_UNIT_SWARM_SIZE_MULT
public static float FABRICATOR_UNIT_REGEN_RATE_MULT
public static float FABRICATOR_UNIT_SWARM_SIZE_MULT
public static float MODULE_DAMAGE_TAKEN_MULT
public static float EMP_DAMAGE_TAKEN_MULT
public ThreatHullmod()
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, java.lang.String id)
applyEffectsBeforeShipCreation in interface HullModEffectapplyEffectsBeforeShipCreation in class BaseHullModpublic void applyEffectsAfterShipCreation(ShipAPI ship, java.lang.String id)
HullModEffectapplyEffectsAfterShipCreation in interface HullModEffectapplyEffectsAfterShipCreation in class BaseHullModpublic void applyEffectsAfterShipAddedToCombatEngine(ShipAPI ship, java.lang.String id)
HullModEffectpublic void advanceInCombat(ShipAPI ship, float amount)
HullModEffectadvanceInCombat in interface HullModEffectadvanceInCombat in class BaseHullModpublic void applyEffectsToFighterSpawnedByShip(ShipAPI fighter, ShipAPI ship, java.lang.String id)
applyEffectsToFighterSpawnedByShip in interface HullModEffectapplyEffectsToFighterSpawnedByShip 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 BaseHullModpublic float getTooltipWidth()
getTooltipWidth in interface HullModEffectgetTooltipWidth in class BaseHullMod