Overview
WCGASDRAttributeModifiers is a Data Asset that defines how gameplay attributes modify diminishing returns (DR) values for the Wonderscape Creations GAS Ally plugin. It allows designers to configure attribute-based DR enhancements without writing any C++ code, making player agency through resistances a fully designer-driven workflow. Each ruleset is reusable across multiple actors and can be assigned globally (e.g., "DefaultDRModifiers") or per-actor (e.g., "BossPoisonMasterModifiers", "PlayerHardyModifiers").
Creating a DR Attribute Modifiers Data Asset
Using the Wonderscape GAS Ally Menu
- Open the Content Browser
- Right-click in any folder where you want to create the asset
- Navigate to: Wonderscape GAS Ally > Resistance > DR Attribute Modifiers
- Give your new asset a descriptive name (e.g.,
DA_DefaultDRModifiers, DA_ElementalResistanceRules, DA_BossImmunityRules)
- Double-click the asset to open it and configure its properties
How DR Attribute Modifiers Work
Core Concept
DR Attribute Modifiers enable player agency through attributes. When an effect attempts to apply to a target with diminishing returns active, the system:
- Reads the target's attributes (e.g.,
PoisonResistance = 30)
- Matches rules based on the effect's tag (e.g.,
Effect.Element.Poison)
- Modifies DR values (resist chance, duration reduction, immunity duration, etc.)
- Stacks contributions from multiple matching rules
Registration Flow
- Assignment Options
- Global Level: Assign to Project Settings → Plugins → WC GAS Ally → Default DR Attribute Modifiers
- Per-Actor Level: Assign to individual
WCGASResistanceComponent → DR Attribute Modifiers Override
- Multiple actors can share the same modifiers asset
- Per-actor assignments override the global default