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
Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Resurrect.GameEventListenerwhose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such asEntityDiedGameEventListener,EntityResurrectedGameEventListener, or directly from anEntityHealthreference.
- SetEntityOverrideOnDeathIHasEntityGameActionSO
Assigns (or clears) OverrideOnDeathGameAction on the target entity. Provided as a ScriptableObject for easy assignment in the editor.
Connect to any
Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Set Override On Death.GameEventListenerwhose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such asEntityDiedGameEventListenerorDamageResolutionGameEventListener.
- SetEntityOverrideOnResurrectionIHasEntityGameActionSO
Assigns (or clears) OverrideOnResurrectionGameAction on the target entity. Provided as a ScriptableObject for easy assignment in the editor.
Connect to any
Create instances via Assets → Create → Astra Health/Game Actions/Context: Entity/Set Override On Resurrection.GameEventListenerwhose payload implements ElectricDrill.AstraRpgFramework.Contexts.IHasEntity, such asEntityResurrectedGameEventListenerorEntityDiedGameEventListener.