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 Details

  • Constructor Details

    • PolarizedArmorEffectMod

      public PolarizedArmorEffectMod(ShipAPI ship, String id)
  • Method Details

    • advance

      public void advance(float amount)
      Specified by:
      advance in interface AdvanceableListener
    • 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 interface DamageTakenModifier
      Returns:
      the id of the stat modification to damage.getModifier(), or null if no modification was made