This commit is contained in:
2026-06-05 22:38:32 +07:00
parent c03f78b557
commit a7fa0f9356
30 changed files with 186 additions and 56 deletions

View File

@@ -318,6 +318,14 @@ namespace Invector.vCharacterController
currentStaminaRecoveryDelay = 2f;
}
public override void TakeDamage(vDamage damage)
{
Debug.Log($"Player TakeDamage called. Damage: {damage.damageValue}. Current Health before: {currentHealth}");
base.TakeDamage(damage);
Debug.Log($"Player Health after: {currentHealth}");
// Additional logic for player-specific damage handling can be added here
}
#region Check Action Triggers