Class CounterDamageOnDamageGameActionSO
- 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
-
objectGameActionBaseGameAction<DamageResolutionContext>CounterDamageOnDamageGameActionSO
- Implements
-
IExecutable<DamageResolutionContext>ITaggableIEffectInstigator
- Inherited Members
-
GameAction<DamageResolutionContext>.TagsGameAction<DamageResolutionContext>.DisplayNameGameAction<DamageResolutionContext>.ExecuteAsyncForUnityEvent(DamageResolutionContext)GameAction<DamageResolutionContext>.OnOperationCanceled()