public override void Attack() { // Reset the timer. attackTimer = 0f; if (!playerHealth.GetIsDead()) { playerHealth.TakeDamage(attackDamage); playerAttack.ChangeMeleeDamage(-1); } }
public override void Attack() { // Reset the timer. attackTimer = 0f; if (!playerHealth.GetIsDead()) { playerHealth.TakeDamage(attackDamage); playerAttack.ChangeMeleeDamage(-1); } }