unreal.GameplayEffectMagnitudeCalculation

class unreal.GameplayEffectMagnitudeCalculation

Bases: EnumBase

Enumeration outlining the possible gameplay effect magnitude calculation policies.

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayEffect.h

ATTRIBUTE_BASED: GameplayEffectMagnitudeCalculation

Perform a calculation based upon an attribute.

Type:

1

CUSTOM_CALCULATION_CLASS: GameplayEffectMagnitudeCalculation

Perform a custom calculation, capable of capturing and acting on multiple attributes, in either BP or native.

Type:

2

SCALABLE_FLOAT: GameplayEffectMagnitudeCalculation

Use a simple, scalable float for the calculation.

Type:

0

SET_BY_CALLER: GameplayEffectMagnitudeCalculation

This magnitude will be set explicitly by the code/blueprint that creates the spec.

Type:

3