Exemple #1
0
        void Attack(Actor self, Actor targetActor, bool allowMove)
        {
            TargetedActor = targetActor;
            var target = Target.FromActor(targetActor);

            self.SetTargetLine(target, Color.Red, false);
            attack.AttackTarget(target, false, allowMove);
        }
Exemple #2
0
        void Attack(Actor self, Actor targetActor)
        {
            TargetedActor = targetActor;
            var target = Target.FromActor(targetActor);

            self.SetTargetLine(target, Color.Red, false);
            attack.AttackTarget(target, false, info.AllowMovement && Stance != UnitStance.Defend);
        }