Jump to content

StatusEffect activates when Flanked

Recommended Posts

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.

  • Hmmm 1
Link to comment
Share on other sites

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": [
        "KeywordLogic": "Or",
        "Race": "None",
        "IsKith": "false",
        "HealthPercentage": 0,
        "HealthOperator": "EqualTo",
        "Distance": 0,
        "DistanceOperator": "EqualTo",
        "HasDOT": "false",
        "IsMarked": "false",
        "TargetHostility": "Default"


  • Hmmm 1
Link to comment
Share on other sites

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!

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...