Table of Contents

Class ResurrectEntityIHasEntityGameActionSO

Namespace
ElectricDrill.AstraHealth.GameActions.Actions.WithIHasEntity
Assembly
com.electricdrill.astra-health.Runtime.dll

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.
[CreateAssetMenu(fileName = "Resurrect Game Action", menuName = "Astra Health/Game Actions/Context: Entity/Resurrect")]
public class ResurrectEntityIHasEntityGameActionSO : ResurrectEntityGameActionSO<IHasEntity>, IExecutable<IHasEntity>, ITaggable
Inheritance
object
GameActionBase
GameAction<IHasEntity>
ResurrectEntityIHasEntityGameActionSO
Implements
IExecutable<IHasEntity>
ITaggable
Inherited Members
GameAction<IHasEntity>.Tags
GameAction<IHasEntity>.DisplayName
GameAction<IHasEntity>.ExecuteAsyncForUnityEvent(IHasEntity)
GameAction<IHasEntity>.OnOperationCanceled()