Esempio n. 1
0
 public void Attack()
 {
     if (currentWeapon)
     {
         currentWeapon.AttemptAttack(stats.getDamageModif());
         animator.SetBool("ZoeAttack", true);
         StartCoroutine(DeactivateAttackAnimation());
     }
     else
     {
         // Attack with your hands!
         handsWeapon.AttemptAttack(stats.getDamageModif());
         animator.SetBool("ZoeAttack", true);
         StartCoroutine(DeactivateAttackAnimation());
     }
 }