public class GenerateSlipsurgeAbility extends DurationAbilityWithCost2
| Modifier and Type | Class and Description |
|---|---|
static class |
GenerateSlipsurgeAbility.ExpandStormRadiusScript |
static class |
GenerateSlipsurgeAbility.SlipsurgeEffectScript |
static class |
GenerateSlipsurgeAbility.SlipsurgeFadeInScript |
| Modifier and Type | Field and Description |
|---|---|
static float |
CR_COST_MULT |
static float |
FUEL_COST_MULT |
protected java.lang.Boolean |
primed |
static boolean |
REQUIRE_GIANT_STARS_OR_STRONGER |
static java.lang.String |
SENSOR_MOD_ID |
static float |
SENSOR_RANGE_MULT |
static java.util.Map<java.lang.String,java.lang.Float> |
SLIPSURGE_STRENGTH |
static float |
SLIPSURGE_STRENGTH_MULT |
protected org.lwjgl.util.vector.Vector2f |
startLoc |
static float |
TRANSIT_MUSIC_SUPPRESSION |
static java.lang.String |
TRANSIT_SOUND_LOOP |
protected JumpPointAPI |
well |
activeDaysLeft, cooldownLeft, fadingOut, level, LOOP_FADE_TIME_DAYS, loopFadeLeft, turnedOndisableFrames, entity, id, PLAY_UI_SOUNDS_IN_WORLD_SOURCES, spec| Constructor and Description |
|---|
GenerateSlipsurgeAbility() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activateImpl() |
void |
addInitialDescription(TooltipMakerAPI tooltip,
boolean expanded) |
boolean |
addNotUsableReasonBeforeFuelCost(TooltipMakerAPI tooltip,
boolean expanded) |
protected void |
applyStatsEffect(float amount,
float level) |
boolean |
canRecoverCRWhileActive() |
JumpPointAPI |
findGravityWell() |
protected void |
generateSlipstream() |
Misc.FleetMemberDamageLevel |
getActivationDamageLevel() |
float |
getCRCostMult() |
float |
getFuelCostMult() |
float |
getStrengthForGravityWell(JumpPointAPI jp) |
float |
getStrengthForStellarObject(SectorEntityToken object) |
boolean |
isUsable()
Whether the ability can be activated / the UI button corresponding to it is enabled.
|
protected void |
unapplyStatsEffect() |
addNotUsableReasonAfterFuelCost, applyEffect, applyFleetVisual, cleanupImpl, computeFuelCost, computeSupplyCost, createTooltip, deactivateImpl, deductCost, fleetLeftBattle, fleetOpenedMarket, getActivationAtLowCRShipDamageProbability, getCooldownColor, getCooldownFraction, getCRCost, getNonReadyShips, hasTooltip, isCooldownRenderingAdditive, isOnCooldown, showAlarmactivate, addIncompatibleToTooltip, advance, cleanup, deactivate, getActivationDays, getActiveDaysLeft, getCooldownDays, getCooldownLeft, getDeactivationDays, getDurationDays, getLevel, getLoopSoundUIPitch, getLoopSoundUIVolume, getLoopSoundWorldPitch, getLoopSoundWorldVolume, getProgressFraction, getTotalDurationDays, hasCustomButtonPressSounds, isActive, isFadingOut, isInProgress, pressButton, runWhilePaused, setActiveDaysLeft, setCooldownLeft, showActiveIndicator, showProgressIndicatoraddIncompatibleToTooltip, disableIncompatible, fleetJoinedBattle, forceDisable, getActivationText, getActiveColor, getActiveLayers, getDeactivationText, getEntity, getFleet, getId, getInterruptedList, getLoopSoundUI, getLoopSoundWorld, getModId, getOffSoundUI, getOffSoundWorld, getOnSoundUI, getOnSoundWorld, getProgressColor, getSpec, getSpriteName, getTooltipWidth, init, interruptIncompatible, isActiveOrInProgress, isCompatible, isDone, isTooltipExpandable, readResolve, render, showCooldownIndicatorpublic static boolean REQUIRE_GIANT_STARS_OR_STRONGER
public static java.util.Map<java.lang.String,java.lang.Float> SLIPSURGE_STRENGTH
public static float SLIPSURGE_STRENGTH_MULT
public static float TRANSIT_MUSIC_SUPPRESSION
public static java.lang.String TRANSIT_SOUND_LOOP
public static float FUEL_COST_MULT
public static float CR_COST_MULT
public static float SENSOR_RANGE_MULT
public static java.lang.String SENSOR_MOD_ID
protected java.lang.Boolean primed
protected org.lwjgl.util.vector.Vector2f startLoc
protected JumpPointAPI well
public GenerateSlipsurgeAbility()
public float getFuelCostMult()
getFuelCostMult in class DurationAbilityWithCost2public float getCRCostMult()
getCRCostMult in class DurationAbilityWithCost2public Misc.FleetMemberDamageLevel getActivationDamageLevel()
getActivationDamageLevel in class DurationAbilityWithCost2public boolean canRecoverCRWhileActive()
canRecoverCRWhileActive in class DurationAbilityWithCost2protected void activateImpl()
activateImpl in class DurationAbilityWithCost2protected void applyStatsEffect(float amount, float level)
applyStatsEffect in class DurationAbilityWithCost2protected void generateSlipstream()
protected void unapplyStatsEffect()
unapplyStatsEffect in class DurationAbilityWithCost2public boolean isUsable()
AbilityPluginisUsable in interface AbilityPluginisUsable in class DurationAbilityWithCost2public void addInitialDescription(TooltipMakerAPI tooltip, boolean expanded)
addInitialDescription in class DurationAbilityWithCost2public boolean addNotUsableReasonBeforeFuelCost(TooltipMakerAPI tooltip, boolean expanded)
addNotUsableReasonBeforeFuelCost in class DurationAbilityWithCost2public JumpPointAPI findGravityWell()
public float getStrengthForGravityWell(JumpPointAPI jp)
public float getStrengthForStellarObject(SectorEntityToken object)