Class FragmentVolleySystemScript
java.lang.Object
com.fs.starfarer.api.impl.combat.BaseShipSystemScript
com.fs.starfarer.api.impl.combat.threat.BaseEnergyLashActivatedSystem
com.fs.starfarer.api.impl.combat.threat.FragmentVolleySystemScript
- All Implemented Interfaces:
WeaponRangeModifier
,EnergyLashActivatedSystem
,ShipSystemStatsScript
,ShipSystemStatsScriptAdvanced
public class FragmentVolleySystemScript
extends BaseEnergyLashActivatedSystem
implements WeaponRangeModifier
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.fs.starfarer.api.plugins.ShipSystemStatsScript
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic float
static float
static float
Fields inherited from class com.fs.starfarer.api.impl.combat.threat.BaseEnergyLashActivatedSystem
inited
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyImpl
(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) float
getCurrentUsefulnessLevel
(ShipAPI overseer, ShipAPI ship) 0 to 1, how useful would the ship find it to have its system be lash-activated right now.static float
getStatusData
(int index, ShipSystemStatsScript.State state, float effectLevel) float
getWeaponRangeFlatMod
(ShipAPI ship, WeaponAPI weapon) float
getWeaponRangeMultMod
(ShipAPI ship, WeaponAPI weapon) float
getWeaponRangePercentMod
(ShipAPI ship, WeaponAPI weapon) Methods inherited from class com.fs.starfarer.api.impl.combat.threat.BaseEnergyLashActivatedSystem
apply, hitWithEnergyLash, init, makeAllGroupsAutofireOneFrame, setStandardJitter
Methods inherited from class com.fs.starfarer.api.impl.combat.BaseShipSystemScript
getActiveOverride, getDisplayNameOverride, getInfoText, getInOverride, getOutOverride, getRegenOverride, getUsesOverride, isUsable, unapply
-
Field Details
-
FRAGMENT_RANGE_MULT
public static float FRAGMENT_RANGE_MULT -
MAX_VOLLEY_RANGE
public static float MAX_VOLLEY_RANGE -
FRAGMENT_REGEN_RATE_MULT
public static float FRAGMENT_REGEN_RATE_MULT
-
-
Constructor Details
-
FragmentVolleySystemScript
public FragmentVolleySystemScript()
-
-
Method Details
-
applyImpl
public void applyImpl(ShipAPI ship, MutableShipStatsAPI stats, String id, ShipSystemStatsScript.State state, float effectLevel) - Specified by:
applyImpl
in classBaseEnergyLashActivatedSystem
-
getStatusData
public ShipSystemStatsScript.StatusData getStatusData(int index, ShipSystemStatsScript.State state, float effectLevel) - Specified by:
getStatusData
in interfaceShipSystemStatsScript
- Overrides:
getStatusData
in classBaseShipSystemScript
-
getCurrentUsefulnessLevel
Description copied from interface:EnergyLashActivatedSystem
0 to 1, how useful would the ship find it to have its system be lash-activated right now.- Specified by:
getCurrentUsefulnessLevel
in interfaceEnergyLashActivatedSystem
- Returns:
-
getMinFragmentWeaponRange
-
getWeaponRangePercentMod
- Specified by:
getWeaponRangePercentMod
in interfaceWeaponRangeModifier
-
getWeaponRangeMultMod
- Specified by:
getWeaponRangeMultMod
in interfaceWeaponRangeModifier
-
getWeaponRangeFlatMod
- Specified by:
getWeaponRangeFlatMod
in interfaceWeaponRangeModifier
-