From b9a8bf4f85d08807d0e3febbff9d68a893344602 Mon Sep 17 00:00:00 2001 From: MH261677 Date: Thu, 30 Nov 2023 11:55:40 +0000 Subject: [PATCH] Added Stamina and SprintSpeed values to player header --- .../Source/EndlessVendetta/EndlessVendettaCharacter.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h index 9a14b875..f893d625 100644 --- a/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h +++ b/EndlessVendetta/Source/EndlessVendetta/EndlessVendettaCharacter.h @@ -83,6 +83,13 @@ public: UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats") float DefaultHealth = 100.0f; + UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats") + float MaxStamina = 100.0f; + UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats") + float StaminaDecreaseRate = 10.0f; + UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats") + int SprintSpeed = 50; + AActor* PrimaryWeaponActor; AActor* SecondaryWeaponActor; bool bIsPrimaryWeaponCreated = false;