If you have a Gameplay Effect that uses an Attribute Modifiers, and this modifier has Target Tags specified, the modifier is applied unexpectedly:
The way I did this was just to (in Lyra) create a GE that is set to Instant, then go to the Attribute Modifiers and do Healing to -5. Execute it with the AbilitySystem.Effect.Apply -Server command (it may say it's not executed properly – thats a diff bug, but it will actually execute).
See if your health goes down. If it does, it's working.
So now you have to modify that GE again and change the "MustHave" tags or "MustNotHave" tags on the modifier, and see if it also executes/doesn't execute as expected.
Using the new Gameplay Debugger GAS functionality will help (it's the apostrophe / ' key).
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-145345 in the post.
17 |
Component | UE - Gameplay - Gameplay Ability System |
---|---|
Affects Versions | 4.27, 5.0 |
Target Fix | 5.4 |
Fix Commit | 30823101 |
---|---|
Main Commit | 30823117 |
Created | Mar 9, 2022 |
---|---|
Resolved | Jan 29, 2024 |
Updated | Mar 29, 2024 |
11231 - occultsoftworks |