private void StrongAlienAggressionProcess() { awaitTimer = 0f; if (warriorHealth.instantHealth >= 0) { warriorHealth.EnemyAttack(damageAmount); } }
private void AlienAggressionProcess() // If warrior is alive, then attack { awaitTimer = 0f; //enemyAnimationTrigger.SetBool("AlienIsAttacked", true); enemyAnimationTrigger.SetBool("AlienIsAttacked", AlienIsAttacked); if (warriorHealth.instantHealth >= 0) { warriorHealth.EnemyAttack(damageAmount); } }