예제 #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);
        }
예제 #2
0
 protected override void Attack()
 {
     PersonAttacker.Attack(EnemyAI.IsAttackHand, EnemyAI.IsAttackLeg, EnemyAI.IsAttackSuper);
 }