Class DefensiveTargetingArray
java.lang.Object
com.fs.starfarer.api.combat.BaseHullMod
com.fs.starfarer.api.impl.hullmods.DefensiveTargetingArray
- All Implemented Interfaces:
HullModEffect
-
Field Summary
FieldsFields inherited from class com.fs.starfarer.api.combat.BaseHullMod
spec
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyEffectsBeforeShipCreation
(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, String id) void
applyEffectsToFighterSpawnedByShip
(ShipAPI fighter, ShipAPI ship, String id) getDescriptionParam
(int index, ShipAPI.HullSize hullSize) getSModDescriptionParam
(int index, ShipAPI.HullSize hullSize) getUnapplicableReason
(ShipAPI ship) boolean
isApplicableToShip
(ShipAPI ship) Methods inherited from class com.fs.starfarer.api.combat.BaseHullMod
addPostDescriptionSection, addRequiredItemSection, addSModEffectSection, addSModSection, advanceInCampaign, advanceInCombat, affectsOPCosts, applyEffectsAfterShipCreation, canBeAddedOrRemovedNow, getBorderColor, getCanNotBeInstalledNowReason, getDescriptionParam, getDisplayCategoryIndex, getDisplaySortOrder, getNameColor, getSModDescriptionParam, getTooltipWidth, hasSModEffect, hasSModEffectSection, init, isBuiltIn, isInPlayerFleet, isInPlayerFleet, isSMod, isSMod, isSModEffectAPenalty, shipHasOtherModInCategory, shouldAddDescriptionToTooltip, showInRefitScreenModPickerFor
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.fs.starfarer.api.combat.HullModEffect
applyEffectsAfterShipAddedToCombatEngine, getRequiredItem
-
Field Details
-
PD_DAMAGE_BONUS
public static float PD_DAMAGE_BONUS -
SMOD_RANGE_BONUS
public static float SMOD_RANGE_BONUS
-
-
Constructor Details
-
DefensiveTargetingArray
public DefensiveTargetingArray()
-
-
Method Details
-
applyEffectsBeforeShipCreation
public void applyEffectsBeforeShipCreation(ShipAPI.HullSize hullSize, MutableShipStatsAPI stats, String id) - Specified by:
applyEffectsBeforeShipCreation
in interfaceHullModEffect
- Overrides:
applyEffectsBeforeShipCreation
in classBaseHullMod
-
applyEffectsToFighterSpawnedByShip
- Specified by:
applyEffectsToFighterSpawnedByShip
in interfaceHullModEffect
- Overrides:
applyEffectsToFighterSpawnedByShip
in classBaseHullMod
-
getSModDescriptionParam
- Specified by:
getSModDescriptionParam
in interfaceHullModEffect
- Overrides:
getSModDescriptionParam
in classBaseHullMod
-
getDescriptionParam
- Specified by:
getDescriptionParam
in interfaceHullModEffect
- Overrides:
getDescriptionParam
in classBaseHullMod
-
isApplicableToShip
- Specified by:
isApplicableToShip
in interfaceHullModEffect
- Overrides:
isApplicableToShip
in classBaseHullMod
-
getUnapplicableReason
- Specified by:
getUnapplicableReason
in interfaceHullModEffect
- Overrides:
getUnapplicableReason
in classBaseHullMod
-