Added Stamina and SprintSpeed values to player header

This commit is contained in:
MH261677 2023-11-30 11:55:40 +00:00
parent d9763b3bf2
commit b9a8bf4f85

View File

@ -83,6 +83,13 @@ public:
UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats") UPROPERTY(EditDefaultsOnly, BlueprintReadOnly, Category = "Stats")
float DefaultHealth = 100.0f; 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* PrimaryWeaponActor;
AActor* SecondaryWeaponActor; AActor* SecondaryWeaponActor;
bool bIsPrimaryWeaponCreated = false; bool bIsPrimaryWeaponCreated = false;