Get Attribute value from UGameplayModMagnitudeCalculation

Hello !

Well, I created a UGameplayEffect with Blueprint, with those settings:

fc171373eb4d4f189dfcd7f10ea552cb.png

After I created a Custom Calculation Class (UGameplayModMagnitudeCalculation) for the modifier magnitude.

I have a problem with the RelevantAttributeToCapture (array of FGameplayEffectAttributeCaptureDefinition) present here:

9392f54493794ced993ec75bc93237ab.png

I don’t know how to set attribute I need to my calculation and how to get value of these attributes.

I found a message talking about this here:

Thanks in advance :slight_smile:

Bump! I have also a question about UGameplayEffectExtension if I can have an usage example.

Thanks in advance :slight_smile:

Bump ! \o/

Anyone around ? I really need an answer please :slight_smile: