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&40;BlueprintNativeEvent, Category&61;"Calculation"&41;
float CalculateBaseMagnitude
&40;
const FGameplayEffectSpec & Spec
&41; 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 |