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

25 lines
560 B
C
Raw Normal View History

2023-02-27 04:55:12 +00:00
// Fill out your copyright notice in the Description page of Project Settings.
#pragma once
#include "CoreMinimal.h"
#include "../StatusEffect.h"
#include "Thorns.generated.h"
/**
*
*/
UCLASS()
class THE_TWILIGHT_ABYSS_API UThorns : public UStatusEffect
{
GENERATED_BODY()
public:
UPROPERTY(EditAnywhere, BlueprintReadWrite)
float DamagePerTurn = 3.0f;
2023-02-27 04:55:12 +00:00
virtual void Invoke(AActor* Character, float TimeOfExpiry) override;
virtual void OnExpiry(AActor* Character) override;
virtual void OnEnemyTurn(AActor* Enemy, AActor* Character) override;
2023-02-27 04:55:12 +00:00
};