implemented player health, knockback, invicibility frames and hitstop
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 20s
Create tag and build when new code gets to main / Export (push) Successful in 9m56s

This commit is contained in:
2026-01-20 12:05:31 +01:00
parent 87a9fad005
commit 2e5fcb6a75
10 changed files with 206 additions and 39 deletions

View File

@@ -20,7 +20,6 @@ public partial class CHealth : Node, IHealthable
public void ReduceHealth(IDamageable source, DamageRecord damageRecord)
{
GD.Print(CurrentHealth);
CurrentHealth -= damageRecord.Damage.DamageDealt;
HealthChanged?.Invoke(this, CurrentHealth);