Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/FGameplayEffectSpec
References
Module | GameplayAbilities |
Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayEffect.h |
Include | #include "GameplayEffect.h" |
Source | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Private/GameplayEffect.cpp |
float GetModifierMagnitude
(
int32 ModifierIdx,
bool bFactorInStackCount
) const
Remarks
Get the computed magnitude of the modifier on the spec with the specified index Computed magnitude
Parameters
Name | Description |
---|---|
ModifierIndx | Modifier to get |
bFactorInStackCount | If true, the calculation will include the stack count |