Addon ID

  • salmanshh_simple_health

Info

Statistics

  • Download count135 total downloads
  • Latest download count 1 downloads of latest version
  • Average download count1 downloads per day average

Owners

A list of all Actions, Conditions and Expressions supported in this addon.

Health

  • Actions

    Heal {0} health

    Increase health by the specified amount (up to max health).

    Revive instance (health: {0})

    Revive the instance. Use -1 to restore to max health, or specify an amount.

    Set health to {0}

    Set the instance's current health (clamped between 0 and max).

    Set health absorption rate to {0}

    Set the multiplier applied to damage that reaches real health. 1.0 = normal, 0.5 = 50% damage taken (resistance), 2.0 = double damage taken (vulnerability), 0 = immune.

    Set invulnerable to {0}

    Set whether the instance is invulnerable to damage.

    Set max health to {0}

    Set the instance's maximum health (minimum 1).

    Take {0} damage

    Reduce health by the specified amount.

  • Conditions

    Is dead

    True if the instance is dead (health is 0).

    Is invulnerable

    True if the instance is currently invulnerable to damage.

    On damaged

    Trigger when the instance takes damage.

    On death

    Trigger when the instance dies.

    On healed

    Trigger when the instance is healed.

    On health changed

    Triggers whenever health changes for any reason (damage, healing, set health, revive, or max health clamp).

    On revived

    Triggers when the instance is revived from death.

  • Expressions

    CurrentHealth

    Current health of the instance.

    HealthAbsorptionRate

    The current damage multiplier applied to real health. 1.0 = normal, 0.5 = resistance, 2.0 = vulnerability.

    HealthPercent

    Current health as a percentage of max health.

    LastDamage

    Amount of last damage taken.

    LastHeal

    Amount of last healing applied.

    MaxHealth

    Maximum health of the instance.

Temporary Health

  • Actions

    Add {1} to {0} temp health

    Add to a named temporary health pool.

    Clear all temp health pools

    Remove all temporary health from every named pool.

    Clear {0} temp health

    Remove all temporary health from a named pool.

    Set {0} temp health to {1}

    Set a named temporary health pool to a specific value.

    Set {0} temp health absorption rate to {1}

    Set how much of a named pool is consumed per 1 point of incoming damage. 1.0 = equal, 0.5 = armour-style (1 dmg costs 0.5 armour), 2.0 = fragile shield.

    Set {0} temp health decay rate to {1} per second

    Set how much a named temporary health pool drains per second. 0 disables decay.

    Set {0} temp health pool priority to {1}

    Set the damage-absorption priority for a named pool. Lower numbers are consumed first. Default is 0. Use this to reorder existing pools without changing their amounts or rates.

    Set {0} temp health | decay {1}s | absorption {2}

    Set both the decay rate (HP lost per second) and absorption rate (temp HP cost per 1 damage) for a named pool in one action.

    Setup {0} temp health | amount {1} | decay {2}s | absorption {3} | priority {4}

    Fully configure a named temporary health pool in one action — sets the amount, decay rate, absorption rate, and priority together.

  • Conditions

    Has any temp health

    True if any temporary health pool has health remaining.

    {0} temp health pool has health

    True if a specific named temporary health pool has any health remaining.

    Temp health pool is {0}

    True if the temporary health pool that fired the last trigger matches the given type name. Use inside 'On temp health depleted' or 'On temp health absorbed damage' to filter by pool.

    On temp health absorbed damage

    Triggers when temporary health intercepts incoming damage (even partially).

    On temp health added

    Triggers when temporary health is added to a pool. Use LastTempHealthType to identify which pool was affected.

    On temp health depleted

    Triggers when temporary health reaches zero (from damage or time decay).

  • Expressions

    LastTempDamageAbsorbed

    The amount of incoming damage intercepted by temporary health on the last hit.

    LastTempHealthType

    The name of the temporary health pool that fired the most recent 'On temp health depleted' or 'On temp health absorbed damage' trigger.

    TempHealth

    Current temporary health of a named pool.

    TempHealthAbsorptionRate

    Temp health cost per 1 point of incoming damage for a named pool (absorption rate). 1.0 = equal, 0.5 = armour-style.

    TempHealthDecayRate

    Temporary health lost per second for a named pool (time-based decay rate).

    TempHealthPriority

    Damage absorption priority of the named pool. Lower numbers are consumed first. Returns 0 if the pool does not exist.