{
  "AbilityMixins": [
    {
      "$type": "WatchEntityMixin",
      "EntityTypes": [
        "Avatar"
      ],
      "OnEntityAwaked": [
        {
          "$type": "ApplyModifier",
          "ModifierName": "ListenerModifier",
          "Target": "TeamAvatars"
        }
      ],
      "Relationships": [
        "Allied"
      ]
    }
  ],
  "AbilityName": "AbyssS2_Trend_10",
  "AbilitySpecials": {
    "AS_AddedBreakStunRatio_AbyssS2_Trend_10": {
      "Value": 0
    },
    "AS_AddedBreakStunRatio_Threshold_AbyssS2_Trend_10": {
      "Value": 0
    },
    "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10": {
      "Value": 0
    },
    "AS_AddedDamageRatio_AbyssS2_Trend_10": {
      "Value": 0
    },
    "AS_AddedDamageRatio_Threshold_AbyssS2_Trend_10": {
      "Value": 0
    },
    "AS_AddedDamageRatio_Total_AbyssS2_Trend_10": {
      "Value": 0
    }
  },
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAbyssS2AreaMonsterClear": [
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedBreakStunRatio_AbyssS2_Trend_10)*5",
        "ParamName": "AS_AddedBreakStunRatio_Threshold_AbyssS2_Trend_10",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedDamageRatio_AbyssS2_Trend_10)*5",
        "ParamName": "AS_AddedDamageRatio_Threshold_AbyssS2_Trend_10",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedBreakStunRatio_AbyssS2_Trend_10)+specials(AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          },
          {
            "$type": "ByAbilitySpecial",
            "CompareType": "Less",
            "Param": "%AS_AddedBreakStunRatio_Threshold_AbyssS2_Trend_10",
            "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
            "ParamType": "Float",
            "Target": "Self"
          }
        ],
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedDamageRatio_AbyssS2_Trend_10)+specials(AS_AddedDamageRatio_Total_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          },
          {
            "$type": "ByAbilitySpecial",
            "CompareType": "Less",
            "Param": "%AS_AddedDamageRatio_Threshold_AbyssS2_Trend_10",
            "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
            "ParamType": "Float",
            "Target": "Self"
          }
        ],
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedBreakStunRatio_Threshold_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          },
          {
            "$type": "ByAbilitySpecial",
            "CompareType": "GreaterEqual",
            "Param": "%AS_AddedBreakStunRatio_Threshold_AbyssS2_Trend_10",
            "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
            "ParamType": "Float",
            "Target": "Self"
          }
        ],
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "specials(AS_AddedDamageRatio_Threshold_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          },
          {
            "$type": "ByAbilitySpecial",
            "CompareType": "GreaterEqual",
            "Param": "%AS_AddedDamageRatio_Threshold_AbyssS2_Trend_10",
            "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
            "ParamType": "Float",
            "Target": "Self"
          }
        ],
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "BuffModifier_AddedBreakStunRatio",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          }
        ],
        "Target": "Self"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "BuffModifier_AddedDamageRatio",
        "Predicates": [
          {
            "$type": "ByAbyssS2AreaTagList",
            "TargetTagList": [
              "Battle"
            ]
          }
        ],
        "Target": "Self"
      }
    ],
    "OnTeamAvatarConstructed": [
      {
        "$type": "ApplyModifier",
        "ModifierName": "ListenerModifier",
        "Target": "TeamAvatars"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "scenevar(AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "SetAbilitySpecialByExpression",
        "Expression": "scenevar(AS_AddedDamageRatio_Total_AbyssS2_Trend_10)",
        "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
        "Target": "Self",
        "ValueType": "Float"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "BuffModifier_AddedBreakStunRatio",
        "Target": "Self"
      },
      {
        "$type": "ApplyModifier",
        "ModifierName": "BuffModifier_AddedDamageRatio",
        "Target": "Self"
      }
    ]
  },
  "Modifiers": {
    "BuffModifier_AddedBreakStunRatio": {
      "Duration": -1,
      "ModifierStacking": "Replace",
      "Properties": {
        "Actor_AddedBreakStunRatio": "%AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10"
      }
    },
    "BuffModifier_AddedDamageRatio": {
      "Duration": -1,
      "ModifierStacking": "Replace",
      "OnHitOther": [
        {
          "$type": "ModifyAttackDataAction",
          "Predicates": [
            {
              "$type": "ByIsStunDestroyed",
              "IsStunDestroyed": true,
              "Target": "Target"
            }
          ],
          "PropertyKey": "Actor_AddedDamageRatio",
          "PropertyValue": "%AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
          "Target": "Self"
        }
      ]
    },
    "ListenerModifier": {
      "Duration": -1,
      "ModifierStacking": "Replace",
      "OnDying": [
        {
          "$type": "SetAbilitySpecialByExpression",
          "Expression": "0",
          "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
          "Target": "Caster",
          "ValueType": "Float"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Expression": "0",
          "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
          "Target": "Caster",
          "ValueType": "Float"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BuffModifier_AddedBreakStunRatio",
          "Target": "Caster"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BuffModifier_AddedDamageRatio",
          "Target": "Caster"
        }
      ],
      "OnKilled": [
        {
          "$type": "SetAbilitySpecialByExpression",
          "Expression": "0",
          "ParamName": "AS_AddedBreakStunRatio_Total_AbyssS2_Trend_10",
          "Target": "Caster",
          "ValueType": "Float"
        },
        {
          "$type": "SetAbilitySpecialByExpression",
          "Expression": "0",
          "ParamName": "AS_AddedDamageRatio_Total_AbyssS2_Trend_10",
          "Target": "Caster",
          "ValueType": "Float"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BuffModifier_AddedBreakStunRatio",
          "Target": "Caster"
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BuffModifier_AddedDamageRatio",
          "Target": "Caster"
        }
      ]
    }
  }
}