Table of Contents

Class CounterDamageOnDamageGameActionSO

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

Reacts to a DamageResolutionContext event by inflicting configured damage. Connect to a DamageResolutionGameEventListener's UnityEvent response and select ExecuteAsyncForUnityEvent(DamageResolutionContext) as the dynamic invocation target. Create instances via Assets → Create → Astra Health/Game Actions/Context: DamageResolutionContext/Counter Damage.

[CreateAssetMenu(fileName = "Counter Damage Game Action", menuName = "Astra Health/Game Actions/Context: DamageResolutionContext/Counter Damage")]
public class CounterDamageOnDamageGameActionSO : CounterDamageGameActionSO<DamageResolutionContext>, IExecutable<DamageResolutionContext>, ITaggable, IEffectInstigator
Inheritance
object
GameActionBase
CounterDamageOnDamageGameActionSO
Implements
ITaggable
IEffectInstigator
Inherited Members
GameAction<DamageResolutionContext>.Tags
GameAction<DamageResolutionContext>.DisplayName
GameAction<DamageResolutionContext>.ExecuteAsyncForUnityEvent(DamageResolutionContext)
GameAction<DamageResolutionContext>.OnOperationCanceled()