Skip to main content

Shield

The Shield Processor consumes the value of a Shield Stat before the calculated Effect value is applied to the target Stat.

For example, suppose a Health Shield has a value of 10, and an incoming damage Effect has a value of -15.

Before the damage is applied to Health, the Processor first sends a -10 Effect to the Shield Stat, consuming the Shield. The remaining -5 is then applied to the Health Stat.

Shield Stats should always store positive values, regardless of the sign of the incoming Effect.

This also applies to positive Effects. If a Shield is configured for incoming healing Effects, the Shield blocks those Effects until its value is depleted.

Shield is primarily a Target-side Processor.

The Shield Stat is resolved as follows:

Base Stat (BS) Processors

  • For the Target Actor, the Shield Stat is obtained directly from the Target Stat's Shield Relative Stat.
  • For the Source Actor, the Shield Stat is obtained from the Source Actor using the Stat Key referenced by the Target Stat's Shield Relative Key.

Attribute Stat (AS) / Multi Attribute Stat (MAS) Processors

  • For the Target Actor, the Shield Stat is obtained from the Target Actor using the Stat Key referenced by the Attribute Stat's Shield Relative Key.
  • For the Source Actor, the Shield Stat is obtained directly from the Attribute Stat's Shield Relative Stat, since the Attribute Stat already belongs to the Source Actor.

The resolved Stat must be:

  • A Float Stat for the Shield_Float Processor.
  • An Int Stat for the Shield_Int Processor.