Cast Restrictor
The Cast Restrictor Processor determines whether the Source Actor is allowed to apply an Effect.
The restriction is evaluated differently depending on the Effect type:
- For Base Stat Effects (BS), it determines whether the Source Actor is allowed to modify the Target Stat.
- For Attribute Stat Effects (AS) and Multi Attribute Stat Effects (MAS), it determines whether the Source Actor is allowed to use the Attribute Stat while applying the Effect.
For example:
- A Source Actor may be prevented from modifying a Health Stat (BS).
- A Source Actor may be prevented from dealing damage using an Attack Attribute Stat, meaning it cannot apply Effects that use Attack as an Attribute Stat (AS/MAS).
Cast Restriction is evaluated only on the Source Actor.
The Cast Restrictor Stat is resolved as follows:
- For BS Processors, the Restrictor Stat is obtained from the Source Actor using the Stat Key referenced by the Target Stat's CastRestrictorRelativeKey.
- For AS/MAS Processors, the Restrictor Stat is obtained directly from the Attribute Stat's CastRestrictorRelativeKey, since the Attribute Stat already belongs to the Source Actor.
The resolved Stat must be an Int Stat.
Fields
| Field | Description |
|---|---|
| Cast Restrictor Relative Key | The Relative Key used to resolve the Cast Restrictor Stat. |
| Use Conditional Modifier | Allows the Cast Restrictor value to be conditionally modified before it is evaluated. |
| Conditional Modifier | The Processor used to conditionally modify the Cast Restrictor value. |