Class PolarizedArmor.PolarizedArmorEffectMod
java.lang.Object
com.fs.starfarer.api.impl.campaign.skills.PolarizedArmor.PolarizedArmorEffectMod
- All Implemented Interfaces:
AdvanceableListener
,DamageTakenModifier
- Enclosing class:
- PolarizedArmor
public static class PolarizedArmor.PolarizedArmorEffectMod
extends Object
implements DamageTakenModifier, AdvanceableListener
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
advance
(float amount) modifyDamageTaken
(Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) Modifications to damage should ONLY be made using damage.getModifier().
-
Field Details
-
ship
-
id
-
-
Constructor Details
-
PolarizedArmorEffectMod
-
-
Method Details
-
advance
public void advance(float amount) - Specified by:
advance
in interfaceAdvanceableListener
-
modifyDamageTaken
public String modifyDamageTaken(Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) Description copied from interface:DamageTakenModifier
Modifications to damage should ONLY be made using damage.getModifier(). param can be: null DamagingProjectileAPI BeamAPI EmpArcEntityAPI Something custom set by a script- Specified by:
modifyDamageTaken
in interfaceDamageTakenModifier
- Returns:
- the id of the stat modification to damage.getModifier(), or null if no modification was made
-