Overview

WCGASAttributeModSubsystem is a Game Instance Subsystem that generates and manages runtime Gameplay Effects for automatic attribute modifications in the Wonderscape GAS Ally plugin. It automatically initializes at game start, generates modification effects from attribute definitions, caches them for efficient reuse, and provides the infrastructure for applying/removing attribute modifications where source attributes automatically influence target attributes (e.g., Constitution → MaxHealth).


Purpose

The Attribute Modification Subsystem orchestrates the automatic attribute modification system by providing:


How It Works

Initialization Flow

  1. Subsystem Startup: When the GameInstance initializes, this subsystem automatically loads
  2. Registry Dependency: Ensures WCGASAttributeRegistry is initialized first via InitializeDependency()
  3. Scan Attributes: Retrieves all registered attributes from the registry using GetAllAttributes()
  4. Process Modifications: For each attribute with WCGASAttributeModData configured:
  5. Ready for Use: All effects are cached and ready to be applied to any ASC

Effect Generation

Each generated effect is configured as: