Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/AbilitySystemComponent.h |
Include |
#include "AbilitySystemComponent.h" |
Source |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/AbilitySystemComponent.cpp |
void ApplyModToAttributeUnsafe
(
const FGameplayAttribute & Attribute,
TEnumAsByte< EGameplayModOp::Type > ModifierOp,
float ModifierMagnitude
)
Applies an inplace mod to the given attribute. Unlike ApplyModToAttribute this function will run on the client or server. This may result in problems related to prediction and will not roll back properly.