AzureAbyss/Source/the_twilight_abyss/TurnBasedCombatV2/StatusEffects/DamageDown.h

25 lines
640 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 "DamageDown.generated.h"
/**
*
*/
UCLASS()
class THE_TWILIGHT_ABYSS_API UDamageDown : public UStatusEffect
{
GENERATED_BODY()
public:
UPROPERTY(EditDefaultsOnly)
float EnemyDamageMultiplierDecreaseAmount = 0.2f;
virtual void Invoke(AActor* Character, float TimeOfExpiry) override;
virtual void OnExpiry(AActor* Character) override;
virtual void OnEnemyTurn(AActor* Enemy, AActor* Character) override;
};