Skip to main content

ActiveCatch

A class in Root.Township, Alta.Intelligence.Wyrms.

Wyrm action that catches a nearby fleshy target that isn't dangerous. Runs on the server as part of the wyrm AI.

Constructors​

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

Methods​

MemberWhat it is
static BasicAction<Wyrm, ActiveCatch, WyrmCatchSettings> GetAction(WyrmCatchSettings settings)Builds the catch action: needs a low danger, fleshy target within Reach of the wyrm.
override void Update(bool hasTarget)Does nothing each tick.
protected override void OnStart()Sets the action to last for the settings' Duration.