Added Forbidden Buffs attribute to martial arts #51950
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Features "Added Forbidden Buffs attribute to martial arts"
Purpose of change
Partial implements #51949
Adds new attribute to prevent buffs/techs from triggering.
Describe the solution
This is a two part update that improves the way styles interact with buffs:
First, the
forbid_buffs_any
andforbid_buffs_all
have been added as technique and buff attributes.forbid_buffs_any
will prevent a buff/technique from triggering if ANY of the listed buffs are active on the player andforbid_buffs_all
will prevent a buff/technique from triggering if ALL of the listed buffs are active on the player.Second,
req_buffs
has been replaced withreq_buffs_all
andreq_buffs_any
has been added. Areq_buffs_any
buff/technique can trigger if ANY of the listed buffs are active on the player and areq_buffs_all
buff/technique can only trigger if ALL of the listed buffs are active on the player.All existing buffs and techniques that used
req_buffs
have been converted over toreq_buffs_all
all.