Namespace ElectricDrill.AstraHealth.GameActions.Actions.WithPreDamageContext
Classes
- CompositePreDamageContextGameActionSO
Executes a list of actions. Two authoring models are supported:
- Steps (ElectricDrill.AstraRpgFramework.GameActions.Actions.CompositeGameAction<TContext>._steps) — each ElectricDrill.AstraRpgFramework.GameActions.Actions.CompositeStep<TContext> chooses how it composes with its neighbours (await it, run it alongside the following steps, or fire it and forget it) and may carry a delay. This is the model new assets should use.
- Legacy list (ElectricDrill.AstraRpgFramework.GameActions.Actions.CompositeGameAction<TContext>._actions) — a plain sequential list. Kept so assets authored before steps existed keep deserializing and running unchanged.
- CounterDamageOnPreDamageGameActionSO
Reacts to a PreDamageContext event by inflicting configured damage. Connect to a
PreDamageContextGameEventListener's UnityEvent response and selectExecuteAsyncForUnityEvent(PreDamageContext)as the dynamic invocation target. Create instances via Assets → Create → Astra Health/Game Actions/Context: PreDamageContext/Counter Damage.