ActiveDodge
A class in Root.Township, Alta.Intelligence.Wyrms.
Wyrm action that dodges a dangerous, fast moving target within reach. Runs on the server as part of the wyrm AI.
- Listed in Creatures and AI
- Inherits or implements
BasicActiveAction<Wyrm, WyrmDodgeSettings>
Constructors
| Member | What it is |
|---|---|
ActiveDodge() | Creates an ActiveDodge with default values. |
Methods
| Member | What it is |
|---|---|
static BasicAction<Wyrm, ActiveDodge, WyrmDodgeSettings> GetAction(WyrmDodgeSettings settings) | Builds the dodge action: needs a dangerous target moving fast (velocity sense 1 to 5) within Reach. |
override void Update(bool hasTarget) | Does nothing each tick. |
protected override void OnStart() | Sets the action to last for the settings' Duration. |