# Capture Attributes from Effect Causer in ModMagnitudeCalculation

**URL:** <https://forums.unrealengine.com/t/capture-attributes-from-effect-causer-in-modmagnitudecalculation/2234146>\
**Category:** C++\
**Tags:** Gameplay-Attributes, Gameplay-Effects, unreal-engine\
**Created:** [December 20, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/capture-attributes-from-effect-causer-in-modmagnitudecalculation/2234146 "2024-12-20T18:42:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JPEGDog](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JPEGDog](https://forums.unrealengine.com/u/JPEGDog)\
**Post date:** [December 20, 2024, 6:42pm UTC](https://forums.unrealengine.com/t/capture-attributes-from-effect-causer-in-modmagnitudecalculation/2234146/1 "2024-12-20T18:42:32Z")

</div>

Hello,

I have a Character with a Damage Multiplier attribute, holding a weapon with a Damage attribute.  
Both have an `AbilitySystemComponent` and inherit `IAbilitySystemComponentInterface`

I am trying to capture those two attributes in a `ModMagnitudeCalculation` so I can apply the weapon damage multiplied by the character’s damage multipler through a `Gameplay Effect` using custom magnitude calculation.

I set the weapon’s owner as Instigator and the weapon itself as Effect Causer when creating the context for the effect’s outgoing spec, and was hoping I could capture the weapon’s attributes like this afterward.

 ![Screenshot 2024-12-20 192508](https://d3kjluh73b9h9o.cloudfront.net/original/4X/b/5/f/b5fa3705714add4047ad0089747159c89e9bf32c.png)

But it doesn’t seem to work.  
Are Effect Causer’s attributes really capturable?  
Or should I find an different way to handle this?

If you have any information on this that could help me understand the issue I’d be grateful!
