Navigation
API > API/Plugins > API/Plugins/GameplayAbilities > API/Plugins/GameplayAbilities/UGameplayModMagnitudeCalculation
References
Module | GameplayAbilities |
Header | /Engine/Plugins/Runtime/GameplayAbilities/Source/GameplayAbilities/Public/GameplayModMagnitudeCalculation.h |
Include | #include "GameplayModMagnitudeCalculation.h" |
UFUNCTION (BlueprintNativeEvent, Category="Calculation")
float CalculateBaseMagnitude
(
const FGameplayEffectSpec & Spec
) const
Remarks
Calculate the base magnitude of the gameplay effect modifier, given the specified spec. Note 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
Parameters
Name | Description |
---|---|
Spec | Gameplay effect spec to use to calculate the magnitude with |