25 lines
653 B
C++
25 lines
653 B
C++
// Fill out your copyright notice in the Description page of Project Settings.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "../StatusEffect.h"
|
|
#include "the_twilight_abyss/TurnBasedCombatV2/TurnBaseCombatV2.h"
|
|
#include "DamageDownPlayer.generated.h"
|
|
|
|
/**
|
|
*
|
|
*/
|
|
UCLASS()
|
|
class THE_TWILIGHT_ABYSS_API UDamageDownPlayer : public UStatusEffect
|
|
{
|
|
GENERATED_BODY()
|
|
|
|
public:
|
|
UPROPERTY(EditDefaultsOnly)
|
|
float PlayerDamageMultiplierDecreaseAmount = 0.2f;
|
|
virtual void Invoke(AActor* Character, float TimeOfExpiry) override;
|
|
virtual void OnExpiry(AActor* Character) override;
|
|
virtual void OnEnemyTurn(AActor* Enemy, AActor* Character) override;
|
|
};
|