Class SpellAttackAction
The action that choose a spell from RuntimeData
Each move will increase the Used Count.
Inheritance
SpellAttackAction
Assembly: UtilityAIFramework.dll
Syntax
public class SpellAttackAction : UtilityAction, IUtilityAction
Fields
RuntimeData
Declaration
public RuntimeSpellAttackData RuntimeData
Field Value
Methods
InitializeDynamicConsideration()
Dyamically Create a consideration for this spell type and inject spell attack data through.
You can also manually make a spell consideration but this is handy if you need to dynamically inject, see OnConsiderationCheck method.
Declaration
public override void InitializeDynamicConsideration()
Overrides
OnConsiderationCheck(Consideration)
Allows you to bind runtime data that has changed.
In this case, we are passing in RuntimeData which would allow the consideration to consider if this action can be used anymore.
Declaration
public override void OnConsiderationCheck(Consideration consideration)
Parameters
Overrides
Declaration
public override EActionStatus Perform(Agent agent)
Parameters
Type |
Name |
Description |
Agent |
agent |
|
Returns
Overrides
Implements