Class ReviveDef
Finite same-identity recovery, independent of death-successor production and ordinary hero respawning.
public sealed class ReviveDef
- Inheritance
-
ReviveDef
- Inherited Members
Constructors
ReviveDef(int, float, float, float, bool, bool, bool)
Creates a finite return policy. Exhaustion is terminal, including for heroes using this explicit policy.
public ReviveDef(int returns = 1, float downDelay = 0, float riseDuration = 0, float returnShare = 0.5, bool ignoreDamageWhileRising = true, bool excludeWhileRising = true, bool clearEffects = true)
Parameters
returnsintdownDelayfloatriseDurationfloatreturnSharefloatignoreDamageWhileRisingboolexcludeWhileRisingboolclearEffectsbool
Properties
ClearEffects
Remove attached effects when entering the down state.
public bool ClearEffects { get; }
Property Value
DownDelay
Noncombat time spent down.
public float DownDelay { get; }
Property Value
ExcludeWhileRising
Exclude from attack acquisition while rising, independently from damage immunity.
public bool ExcludeWhileRising { get; }
Property Value
IgnoreDamageWhileRising
Ignore incoming damage while rising.
public bool IgnoreDamageWhileRising { get; }
Property Value
ReturnShare
Maximum-health share restored on beginning to rise.
public float ReturnShare { get; }
Property Value
Returns
Maximum same-identity returns over this entity's lifetime.
public int Returns { get; }
Property Value
RiseDuration
Preparation after restoring health, before acting.
public float RiseDuration { get; }