implemented player health, knockback, invicibility frames and hitstop
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user