Overview

WCGASResilienceData is a Data Asset that defines attribute-based probabilistic resistance rules for the Wonderscape Creations GAS Ally plugin. It allows designers to configure which Gameplay Effects can be resisted based on an actor's resilience attributes without writing any C++ code, making resistance system creation a fully designer-driven workflow.

When an effect attempts to apply, the system reads the target's resilience attribute (e.g., StunResistance = 45.0), rolls a random number 0-100, and blocks the effect if the roll is less than the attribute value. Each ruleset is reusable across multiple actors (e.g., "PlayerResilience", "EnemyResilience", "BossResilience").


Creating a Resilience Data Asset

Using the Wonderscape GAS Ally Menu

  1. Open the Content Browser
  2. Right-click in any folder where you want to create the asset
  3. Navigate to: Wonderscape GAS Ally > Resistance > Resilience Data
  4. Give your new asset a descriptive name (e.g., DA_PlayerResilienceDA_EnemyResilienceDA_BossResilience)
  5. Double-click the asset to open it and configure its properties

How Resilience Works

Application Flow

  1. Resilience Data Assignment
  2. Effect Application Check
  3. Tag Matching

Resistance Roll Formula

EffectiveChance = Clamp(AttributeValue, 0.0, MaximumChance)
If AttributeValue < MinimumThreshold: EffectiveChance = 0.0

Roll = Random(0-100)
If Roll < EffectiveChance: Effect BLOCKED
Else: Effect APPLIED

Example: