Module |
|
Header |
/Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayModMagnitudeCalculation.h |
Include |
#include "GameplayModMagnitudeCalculation.h" |
[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintNativeEvent, Category="Calculation")
float CalculateBaseMagnitude
(
const FGameplayEffectSpec & Spec
) const
Calculate the base magnitude of the gameplay effect modifier, given the specified spec.
that the owning spec def can still modify this base value with a coeffecient and pre/post multiply adds. see FCustomCalculationBasedFloat::CalculateMagnitude for details.
Computed magnitude of the modifier
Parameter |
Description |
---|---|
Spec |
Gameplay effect spec to use to calculate the magnitude with |