Table of Contents

Namespace ElectricDrill.AstraHealth.GameActions.Actions.WithIHasEntity

Classes

EntityContextToDamageResolutionContextProjectionGameActionSO

Attempts to narrow an ElectricDrill.AstraRpgFramework.Contexts.IHasEntity payload to a more specific context type and, if the runtime type matches, forwards the original payload to the wrapped action. Use this when subscribing a broad entity-based event pipeline to actions that only make sense for richer payloads such as damage or death contexts.

EntityContextToEntityDiedContextProjectionGameActionSO

Attempts to narrow an ElectricDrill.AstraRpgFramework.Contexts.IHasEntity payload to a more specific context type and, if the runtime type matches, forwards the original payload to the wrapped action. Use this when subscribing a broad entity-based event pipeline to actions that only make sense for richer payloads such as damage or death contexts.

EntityContextToPreDamageContextProjectionGameActionSO

Attempts to narrow an ElectricDrill.AstraRpgFramework.Contexts.IHasEntity payload to a more specific context type and, if the runtime type matches, forwards the original payload to the wrapped action. Use this when subscribing a broad entity-based event pipeline to actions that only make sense for richer payloads such as damage or death contexts.

ResurrectEntityIHasEntityGameActionSO

A game action used to resurrect an entity. Can be configured to resurrect with either a percentage of max HP or a flat HP amount. Provided as a ScriptableObject for easy assignment in the editor.

Connect to any GameEventListener whose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such as EntityDiedGameEventListener, EntityResurrectedGameEventListener, or directly from an EntityHealth reference.

Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Resurrect.
SetEntityOverrideOnDeathIHasEntityGameActionSO

Assigns (or clears) OverrideOnDeathGameAction on the target entity. Provided as a ScriptableObject for easy assignment in the editor.

Connect to any GameEventListener whose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such as EntityDiedGameEventListener or DamageResolutionGameEventListener.

Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Set Override On Death.
SetEntityOverrideOnResurrectionIHasEntityGameActionSO

Assigns (or clears) OverrideOnResurrectionGameAction on the target entity. Provided as a ScriptableObject for easy assignment in the editor.

Connect to any GameEventListener whose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such as EntityResurrectedGameEventListener or EntityDiedGameEventListener.

Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Set Override On Resurrection.