public class AcausalDisruptorStats extends BaseShipSystemScript
ShipSystemStatsScript.State, ShipSystemStatsScript.StatusData| Modifier and Type | Field and Description |
|---|---|
static float |
DISRUPTION_DUR |
static float |
ENERGY_DAM_PENALTY_MULT |
static java.awt.Color |
JITTER_COLOR |
static java.awt.Color |
JITTER_UNDER_COLOR |
protected static float |
MIN_DISRUPTION_RANGE |
static java.awt.Color |
OVERLOAD_COLOR |
| Constructor and Description |
|---|
AcausalDisruptorStats() |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(MutableShipStatsAPI stats,
java.lang.String id,
ShipSystemStatsScript.State state,
float effectLevel) |
protected void |
applyEffectToTarget(ShipAPI ship,
ShipAPI target) |
protected ShipAPI |
findTarget(ShipAPI ship) |
java.lang.String |
getInfoText(ShipSystemAPI system,
ShipAPI ship)
If null, uses "READY" and "ACTIVE" as appropritate in the ship info widget.
|
static float |
getMaxRange(ShipAPI ship) |
ShipSystemStatsScript.StatusData |
getStatusData(int index,
ShipSystemStatsScript.State state,
float effectLevel) |
boolean |
isUsable(ShipSystemAPI system,
ShipAPI ship) |
void |
unapply(MutableShipStatsAPI stats,
java.lang.String id) |
getActiveOverride, getDisplayNameOverride, getInOverride, getOutOverride, getRegenOverride, getUsesOverridepublic static float ENERGY_DAM_PENALTY_MULT
public static float DISRUPTION_DUR
protected static float MIN_DISRUPTION_RANGE
public static final java.awt.Color OVERLOAD_COLOR
public static final java.awt.Color JITTER_COLOR
public static final java.awt.Color JITTER_UNDER_COLOR
public AcausalDisruptorStats()
public void apply(MutableShipStatsAPI stats, java.lang.String id, ShipSystemStatsScript.State state, float effectLevel)
apply in interface ShipSystemStatsScriptapply in class BaseShipSystemScriptpublic void unapply(MutableShipStatsAPI stats, java.lang.String id)
unapply in interface ShipSystemStatsScriptunapply in class BaseShipSystemScriptprotected ShipAPI findTarget(ShipAPI ship)
public static float getMaxRange(ShipAPI ship)
protected void applyEffectToTarget(ShipAPI ship, ShipAPI target)
public ShipSystemStatsScript.StatusData getStatusData(int index, ShipSystemStatsScript.State state, float effectLevel)
getStatusData in interface ShipSystemStatsScriptgetStatusData in class BaseShipSystemScriptpublic java.lang.String getInfoText(ShipSystemAPI system, ShipAPI ship)
ShipSystemStatsScriptAdvancedgetInfoText in interface ShipSystemStatsScriptAdvancedgetInfoText in class BaseShipSystemScriptpublic boolean isUsable(ShipSystemAPI system, ShipAPI ship)
isUsable in interface ShipSystemStatsScriptAdvancedisUsable in class BaseShipSystemScript