29 lines
984 B
C++
29 lines
984 B
C++
// © 2024 Long Ly. All rights reserved. Any unauthorized use, reproduction, or distribution of this trademark is strictly prohibited and may result in legal action.
|
|
|
|
|
|
#include "AbilitySystem/Abilities/OLSAbilityCost.h"
|
|
|
|
UOLSAbilityCost::UOLSAbilityCost()
|
|
{
|
|
}
|
|
|
|
bool UOLSAbilityCost::CheckCost(const UOLSGameplayAbility* ability,
|
|
const FGameplayAbilitySpecHandle handle,
|
|
const FGameplayAbilityActorInfo* actorInfo,
|
|
FGameplayTagContainer* optionalRelevantTags) const
|
|
{
|
|
return true;
|
|
}
|
|
|
|
void UOLSAbilityCost::ApplyCost(const UOLSGameplayAbility* ability,
|
|
const FGameplayAbilitySpecHandle handle,
|
|
const FGameplayAbilityActorInfo* actorInfo,
|
|
const FGameplayAbilityActivationInfo activationInfo)
|
|
{
|
|
}
|
|
|
|
bool UOLSAbilityCost::ShouldOnlyApplyCostOnHit() const
|
|
{
|
|
return bShouldOnlyApplyCostOnHit;
|
|
}
|