public static class CombatEndurance.CombatEnduranceRegen extends java.lang.Object implements DamageTakenModifier, AdvanceableListener
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
inited |
protected float |
limit |
protected float |
repaired |
protected java.lang.String |
repKey1 |
protected java.lang.String |
repKey2 |
protected ShipAPI |
ship |
| Constructor and Description |
|---|
CombatEnduranceRegen(ShipAPI ship) |
| Modifier and Type | Method and Description |
|---|---|
void |
advance(float amount) |
protected float |
getRepaired(java.lang.String key) |
protected void |
init() |
java.lang.String |
modifyDamageTaken(java.lang.Object param,
CombatEntityAPI target,
DamageAPI damage,
org.lwjgl.util.vector.Vector2f point,
boolean shieldHit)
Modifications to damage should ONLY be made using damage.getModifier().
|
protected boolean inited
protected float limit
protected float repaired
protected java.lang.String repKey1
protected java.lang.String repKey2
public CombatEnduranceRegen(ShipAPI ship)
protected void init()
protected float getRepaired(java.lang.String key)
public void advance(float amount)
advance in interface AdvanceableListenerpublic java.lang.String modifyDamageTaken(java.lang.Object param, CombatEntityAPI target, DamageAPI damage, org.lwjgl.util.vector.Vector2f point, boolean shieldHit)
DamageTakenModifiermodifyDamageTaken in interface DamageTakenModifier