{
  "AbilityName": "ActivityBattleAbility_BabelTower_StunEnd_Demonize",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnStunCreateActions": [
      {
        "$type": "ApplyModifier",
        "ModifierName": "DemonizeModifier",
        "Target": "Self"
      }
    ]
  },
  "Modifiers": {
    "DemonizeModifier": {
      "Duration": 15,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Demote",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Demote"
              ]
            }
          ],
          "Target": "Self"
        },
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Promote",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Promote"
              ]
            }
          ],
          "Target": "Self"
        },
        {
          "$type": "ApplyAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Boss",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "Boss"
                  ]
                },
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "MainStoryBoss"
                  ]
                }
              ]
            }
          ],
          "Target": "Self"
        }
      ],
      "OnRemoved": [
        {
          "$type": "RemoveAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Demote",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Demote"
              ]
            }
          ],
          "Target": "Self"
        },
        {
          "$type": "RemoveAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Promote",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Promote"
              ]
            }
          ],
          "Target": "Self"
        },
        {
          "$type": "RemoveAbilityAction",
          "AbilityName": "ActivityBattleAbility_BabelTower_Buff_Demonize_Boss",
          "Predicates": [
            {
              "$type": "ByOr",
              "Predicates": [
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "Boss"
                  ]
                },
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "MainStoryBoss"
                  ]
                }
              ]
            }
          ],
          "Target": "Self"
        }
      ]
    }
  }
}