Modifier Count Limit
The Modifier Count Limit is the signed version of the Preprocess Modifier Count Limit Processor.
It limits the number of active Modifiers with the same value sign that can be applied to a Stat.
For example, a Stat can be configured to allow a maximum of 3 positive Attack Buffs.
Limits are evaluated separately for the Source Actor and the Target Actor.
Target Side
The Processor checks the number of Modifiers with the same value sign currently applied to the Target Stat.
If the configured limit has been reached, the incoming Effect is stopped.
For example, if the Stun Stat has a Target-side limit of 1, any additional Stun Modifier with the same sign is ignored.
Source Side
The Processor checks how many Modifiers with the same value sign were applied to the Target Stat by the Source Actor.
For example, suppose the Poison Stat has a Source-side limit of 1.
Even if the Target already has three Poison Modifiers, the new Modifier is applied if none of them were added by the current Source Actor. However, if one matching Modifier already belongs to the current Source Actor, the incoming Effect is stopped.
The Modifier Count Limit Stat is resolved as follows:
- For the Target Actor, the Modifier Count Limit Stat is obtained directly from the Target Stat's Modifier Count Limit Relative Stat.
- For the Source Actor, the Modifier Count Limit Stat is obtained from the Source Actor using the Stat Key referenced by the Target Stat's Modifier Count Limit Relative Key.
The resolved Stat must be an Int Stat.
This is a Base Stat-only Processor.