This is the calculation engine that automatically determines how source attributes (like Constitution, Strength, Agility) modify target attributes (like MaxHealth, AttackPower, MovementSpeed). It handles all the math behind attribute dependencies in your game.
When you set up an attribute to be modified by other attributes (for example, MaxHealth being influenced by Constitution and Strength), this calculator:
You never interact with this class directly as a designer. The WCGASAttributeModSubsystem automatically uses this calculator when you configure attribute modifications in your AttributeDefinition assets. The Gameplay Ability System calls it automatically whenever:
If you set up MaxHealth to be modified by Constitution (×10) and Strength (×5), and a character has Constitution=75 and Strength=50, this calculator automatically computes: (75×10) + (50×5) = 1000, and adds that to the base MaxHealth value. If Constitution changes to 80, it instantly recalculates to 1050.