28 lines
654 B
C
28 lines
654 B
C
|
// Copyright Epic Games, Inc. All Rights Reserved.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "CoreMinimal.h"
|
||
|
#include "GameplayEffectExecutionCalculation.h"
|
||
|
#include "LyraDamageExecution.generated.h"
|
||
|
|
||
|
|
||
|
/**
|
||
|
* ULyraDamageExecution
|
||
|
*
|
||
|
* Execution used by gameplay effects to apply damage to the health attributes.
|
||
|
*/
|
||
|
UCLASS()
|
||
|
class ULyraDamageExecution : public UGameplayEffectExecutionCalculation
|
||
|
{
|
||
|
GENERATED_BODY()
|
||
|
|
||
|
public:
|
||
|
|
||
|
ULyraDamageExecution();
|
||
|
|
||
|
protected:
|
||
|
|
||
|
virtual void Execute_Implementation(const FGameplayEffectCustomExecutionParameters& ExecutionParams, FGameplayEffectCustomExecutionOutput& OutExecutionOutput) const override;
|
||
|
};
|