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:
|
2023-03-02 03:25:00 +00:00
|
|
|
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;
|
2023-03-02 03:25:00 +00:00
|
|
|
virtual void OnEnemyTurn(AActor* Enemy, AActor* Character) override;
|
2023-02-27 04:55:12 +00:00
|
|
|
};
|