DRG-Femboy-Voice/Source/FSD/Public/RandomDamageUpgrade.h
2025-04-15 12:39:31 -07:00

26 lines
670 B
C++
Executable file

#pragma once
#include "CoreMinimal.h"
#include "ItemUpgrade.h"
#include "RandRange.h"
#include "Templates/SubclassOf.h"
#include "UpgradeValues.h"
#include "RandomDamageUpgrade.generated.h"
class AActor;
class AFSDPlayerState;
UCLASS(Blueprintable, EditInlineNew, MinimalAPI)
class URandomDamageUpgrade : public UItemUpgrade {
GENERATED_BODY()
public:
protected:
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
FRandRange DamageRange;
public:
URandomDamageUpgrade();
UFUNCTION(BlueprintCallable, BlueprintPure)
static FUpgradeValues GetUpgradedValue(TSubclassOf<AActor> Item, AFSDPlayerState* Player);
};