Table of Contents

Class EndCasterRushAction

Namespace
FishMMO.Shared
Assembly
FishMMO.Shared.dll

Stops the caster's rush (CasterRushAction): a charge that has struck its target stops at it.

[Serializable]
public class EndCasterRushAction : BaseAction, IAction
Inheritance
EndCasterRushAction
Implements
Inherited Members

Remarks

Wire it to the rush object's OnHit. Server and owner (MayPredict(ICharacter, EventData)). The hit is not run again on a replay, so the owner's motor remembers the stop and makes it again (EndMotionFromHit()); without that, a correction from before the hit carried the rush on past the target until the server's stop snapped it back.

Methods

Execute(ICharacter, EventData)

Executes the action. Must be implemented by derived classes.

public override void Execute(ICharacter initiator, EventData eventData)

Parameters

initiator ICharacter

The character initiating the action.

eventData EventData

Event data for the action.