Exemplo n.º 1
0
        protected override void Attack()
        {
            bool attackSuper = PlayerParameters.EnergyParameter.Value >= PlayerParameters.EnergyParameter.MaxValue &&
                               PlayerInput.AttackSuper() &&
                               !PersonAnimator.IsAttack;

            if (attackSuper)
            {
                PlayerParameters.EnergyParameter.Value = 0;
            }

            PersonAttacker.Attack(PlayerInput.AttackHand(), PlayerInput.AttackLeg(), attackSuper);
        }
Exemplo n.º 2
0
 protected override void Attack()
 {
     PersonAttacker.Attack(EnemyAI.IsAttackHand, EnemyAI.IsAttackLeg, EnemyAI.IsAttackSuper);
 }