public override bool Tick(Actor self) { if (!IsCanceling && !SaboteurUtils.CanEnter(self, target)) { Cancel(self, true); } return(base.Tick(self)); }
public override bool CanTargetActor(Actor self, Actor target, TargetModifiers modifiers, ref string cursor) { if (SaboteurUtils.CanEnter(self, target)) { cursor = cursorAllowed; return(true); } cursor = cursorForbidden; return(false); }