Skip to main content

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.

Constructors​

MemberWhat it is
ActiveDodge()Creates an ActiveDodge with default values.

Methods​

MemberWhat 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.