Interface DamageDealtModifier
- All Known Implementing Classes:
DevouringSwarmMissileEffect.DismantlingFragmentBaseDamageNegator
,EnergyWeaponMastery.EWMDamageDealtMod
,HighScatterAmp.HighScatterAmpDamageDealtMod
,PDIntegration.PDIDamageDealtMod
,RangedSpecialization.RangedSpecDamageDealtMod
,ShroudedThunderheadHullmod.ShroudedThunderheadDamageDealtMod
,SquallOnFireEffect
,VoidblasterEffect
public interface DamageDealtModifier
When adding to a ship, add to the ship dealing the damage, NOT the one taking the damage.
Should add this to a ship where possible instead of the engine as performance will be better.
- Author:
- Alex Mosolov Copyright 2019 Fractal Softworks, LLC
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Passed in as param to modifyDamageDealt/Taken when the damage dealer is an EMP ship system, which does not create EmpArcEntityAPI's for historical reasons. -
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().
-
Field Details
-
EMP_SHIP_SYSTEM_PARAM
Passed in as param to modifyDamageDealt/Taken when the damage dealer is an EMP ship system, which does not create EmpArcEntityAPI's for historical reasons.- See Also:
-
-
Method Details
-
modifyDamageDealt
String modifyDamageDealt(Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit) Modifications to damage should ONLY be made using damage.getModifier(). param can be: null DamagingProjectileAPI BeamAPI EmpArcEntityAPI Something custom set by a script- Returns:
- the id of the stat modification to damage.getModifier(), or null if no modification was made
-