unreal.GameplayEffectMagnitudeCalculation

class unreal.GameplayEffectMagnitudeCalculation

Bases: unreal.EnumBase

Enumeration outlining the possible gameplay effect magnitude calculation policies.

C++ Source:

  • Plugin: GameplayAbilities

  • Module: GameplayAbilities

  • File: GameplayEffect.h

ATTRIBUTE_BASED

Perform a calculation based upon an attribute.

Type

1

CUSTOM_CALCULATION_CLASS

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

Type

2

SCALABLE_FLOAT

Use a simple, scalable float for the calculation.

Type

0

SET_BY_CALLER

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

Type

3