This commit is contained in:
Crizomb 2025-01-20 21:05:28 +01:00
parent ffb1f1caa1
commit b21d392ff6
80 changed files with 2888 additions and 221 deletions

View file

@ -44,12 +44,12 @@ public class HealthHandler : MonoBehaviour
armor -= armorBoost;
}
public void Death()
public void Death(float delay = 0)
{
DeathSate deathState = _minecraftUnit.AbstractDeath();
if (deathState == DeathSate.QueenADead) print("TEAM B WIN GG");
if (deathState == DeathSate.QueenBDead) print("TEAM A WIN GG");
Destroy(gameObject);
Destroy(gameObject, delay);
}
}