GAS how to get the Effect Target from the Effect Spec?

GameplayEffectContext should contain information about the target, but in any case you want to use GetCapturedAttributeMagnitude() to get the relevant target information, similar to how you would in GameplayEffectExecutionCalculation. See GitHub - tranek/GASDocumentation: My understanding of Unreal Engine 4's GameplayAbilitySystem plug for an example / overall everything you need for GAS.

2 Likes