Esempio n. 1
0
        public override bool Tick(Actor self)
        {
            if (!IsCanceling && !SaboteurUtils.CanEnter(self, target))
            {
                Cancel(self, true);
            }

            return(base.Tick(self));
        }
Esempio n. 2
0
        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);
        }