28 lines
743 B
C++
Executable file
28 lines
743 B
C++
Executable file
#pragma once
|
|
#include "CoreMinimal.h"
|
|
#include "ItemUpgrade.h"
|
|
#include "Templates/SubclassOf.h"
|
|
#include "UpgradeValues.h"
|
|
#include "FearAoEBonusUpgrade.generated.h"
|
|
|
|
class AActor;
|
|
class AFSDPlayerState;
|
|
|
|
UCLASS(Blueprintable, EditInlineNew, MinimalAPI)
|
|
class UFearAoEBonusUpgrade : public UItemUpgrade {
|
|
GENERATED_BODY()
|
|
public:
|
|
protected:
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float FearFactor;
|
|
|
|
UPROPERTY(BlueprintReadWrite, EditAnywhere, meta=(AllowPrivateAccess=true))
|
|
float range;
|
|
|
|
public:
|
|
UFearAoEBonusUpgrade();
|
|
UFUNCTION(BlueprintCallable, BlueprintPure)
|
|
static FUpgradeValues GetUpgradedValue(TSubclassOf<AActor> Item, AFSDPlayerState* Player);
|
|
|
|
};
|
|
|