Skip to main content

Effect Attribute Eliminater

The Effect Attribute Eliminater is the signed version of the Preprocess Effect Attribute Eliminater Processor.

It eliminates Effect Attributes according to the incoming Effect value sign.

Elimination is evaluated separately for the Source Actor and the Target Actor.

The Effect Attribute Eliminater Stat is resolved as follows:

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

The resolved Stat must be an Int Stat.

Implementation

Effect Attributes are implemented as a bit flag enum. Each Effect Attribute is assigned a power-of-two value.

For example:

Effect AttributeValue
Stoppable1 (2⁰)
Directable2 (2¹)
Counterable4 (2²)

If an Effect contains all three attributes, its combined Attributes value is 7.

To eliminate one or more attributes, the Processor resolves an Int Stat called the Effect Attribute Eliminator. The integer value stored by this Stat represents the bit flags to remove. The Processor clears those flags from the Effect's current Attributes value to produce the final set of Effect Attributes.

Effect Attribute elimination is evaluated separately for the Source Actor and the Target Actor.

The Effect Attribute Eliminator Stat is resolved as follows: