Class PDIntegration.PDIDamageDealtMod
java.lang.Object
com.fs.starfarer.api.impl.hullmods.PDIntegration.PDIDamageDealtMod
- All Implemented Interfaces:
DamageDealtModifier
- Enclosing class:
- PDIntegration
-
Field Summary
Fields inherited from interface com.fs.starfarer.api.combat.listeners.DamageDealtModifier
EMP_SHIP_SYSTEM_PARAM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmodifyDamageDealt
(Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) Modifications to damage should ONLY be made using damage.getModifier().
-
Constructor Details
-
PDIDamageDealtMod
public PDIDamageDealtMod()
-
-
Method Details
-
modifyDamageDealt
public String modifyDamageDealt(Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) Description copied from interface:DamageDealtModifier
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:
modifyDamageDealt
in interfaceDamageDealtModifier
- Returns:
- the id of the stat modification to damage.getModifier(), or null if no modification was made
-