Testlum Posted March 7, 2022 Posted March 7, 2022 Is it possible to make a Status Effect that activates when the character it's affecting has the Flanked affliction, and deactivates when they're no longer Flanked? I know it's totally possible to do this using Abilities (i.e. Tactical Dilemma), but can't find the method for this to work with only the Status Effect code. 1
Noqn Posted March 7, 2022 Posted March 7, 2022 Only thing I can think of is adding the Flanked keyword to the AttackTargetFilter, but this would only work if the StatusEffectType is something like Deflection or EnemyDamageMultiplier where the effect owner would be the attack target. { "$type": "Game.GameData.StatusEffectComponent, Assembly-CSharp", "AttackTargetFilter": { "KeywordsIDs": [ "8ca098ca-731e-481d-b958-a337064afd6c" ], "KeywordLogic": "Or", "Race": "None", "IsKith": "false", "HealthPercentage": 0, "HealthOperator": "EqualTo", "Distance": 0, "DistanceOperator": "EqualTo", "HasDOT": "false", "IsMarked": "false", "TargetHostility": "Default" } } 1
Testlum Posted March 7, 2022 Author Posted March 7, 2022 Wait, that works? I didn't realize that AttackTarget could include the status owner as a target, but rather that it would only function as a filter for the status owner's attacks. In any case, what I'm trying to do is to create a status that causes its owner to have -5 All Defenses when Flanked. Will give this implementation a shot when I get the time, thanks! 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now