Added Thorns Status Effect for Combat
This commit is contained in:
parent
9b0ef82e7c
commit
fb697f3588
BIN
Content/Blueprints/StatusEffects/BP_Thorns.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Blueprints/StatusEffects/BP_Thorns.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
@ -0,0 +1,14 @@
|
|||||||
|
// Fill out your copyright notice in the Description page of Project Settings.
|
||||||
|
|
||||||
|
|
||||||
|
#include "Thorns.h"
|
||||||
|
|
||||||
|
void UThorns::Invoke(AActor* Character, float TimeOfExpiry)
|
||||||
|
{
|
||||||
|
Super::Invoke(Character, TimeOfExpiry);
|
||||||
|
}
|
||||||
|
|
||||||
|
void UThorns::OnExpiry(AActor* Character)
|
||||||
|
{
|
||||||
|
Super::OnExpiry(Character);
|
||||||
|
}
|
@ -0,0 +1,20 @@
|
|||||||
|
// 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:
|
||||||
|
virtual void Invoke(AActor* Character, float TimeOfExpiry) override;
|
||||||
|
virtual void OnExpiry(AActor* Character) override;
|
||||||
|
};
|
Loading…
x
Reference in New Issue
Block a user