{
  "AbilityName": "Monster_Common_Death_Start_Sky",
  "AbilityStacking": "Unique",
  "DefaultModifier": {
    "OnAdded": [
      {
        "$type": "ApplyAbilityAction",
        "AbilityName": "Monster_Common_Deathrattle_Predicate",
        "IsAutoTrigger": false,
        "Predicates": [
          {
            "$type": "ByIsInZoneTags",
            "Tags": [
              "Deathrattle"
            ],
            "Target": "Self"
          }
        ]
      }
    ]
  },
  "Modifiers": {
    "BiosDeathStartSkyModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.1,
          "TimeUpActions": [
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Red_S",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Small",
                  "CompareType": "LessEqual",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Red_M",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Middle",
                  "CompareType": "Equal",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Red_L",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Large",
                  "CompareType": "GreaterEqual",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Deathrattle"
              ],
              "Target": "Self"
            }
          ],
          "FailureActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Death_Glitch_Red_Start_01"
            }
          ],
          "SuccessActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Deathrattle_AbnormalPropertyElectro_02"
            }
          ]
        }
      ]
    },
    "DeathStartModifier": {
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "ModifierName": "BiosDeathStartSkyModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Mech"
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BiosDeathStartSkyModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Bios"
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "EtherDeathStartSkyModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Ether"
              ],
              "Target": "Self"
            }
          ]
        }
      ]
    },
    "EtherDeathStartSkyModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.1,
          "TimeUpActions": [
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Ether_S",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Small",
                  "CompareType": "LessEqual",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Ether_M",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Middle",
                  "CompareType": "Equal",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Cube_Ether_L",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Large",
                  "CompareType": "GreaterEqual",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Deathrattle"
              ],
              "Target": "Self"
            }
          ],
          "FailureActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Death_Glitch_Ether_Start_01"
            },
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Death_Ether_S_Start_Glitch"
            }
          ],
          "SuccessActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Deathrattle_AbnormalPropertyElectro_01"
            }
          ]
        }
      ]
    },
    "VRDeathStartSkyModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.1,
          "TimeUpActions": [
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_VR_Death_Cube_S",
              "Target": "Self"
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_VR_End_S",
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "BranchOperator",
          "Conditions": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Deathrattle"
              ],
              "Target": "Self"
            }
          ],
          "FailureActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Monster_VR_End_01_OverrideOutline_01"
            },
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_2",
              "Target": "Self",
              "key": "Monster_Common_MA_Monster_VR_End_02_Override2Tone_02"
            }
          ],
          "SuccessActions": [
            {
              "$type": "ModifyMaterialPropertyAction",
              "ApplyAllRenderers": true,
              "Tag": "Monster_Death_Start_1",
              "Target": "Self",
              "key": "Monster_Common_MA_Deathrattle_AbnormalPropertyElectro_02"
            }
          ]
        }
      ]
    }
  },
  "OnAbilityStart": [
    {
      "$type": "ApplyModifier",
      "ModifierName": "DeathStartModifier",
      "Predicates": [
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "IsVR"
              ],
              "Target": "Self"
            }
          ]
        }
      ]
    },
    {
      "$type": "ApplyModifier",
      "ModifierName": "VRDeathStartSkyModifier",
      "Predicates": [
        {
          "$type": "ByIsInZoneTags",
          "Tags": [
            "IsVR"
          ],
          "Target": "Self"
        }
      ]
    }
  ]
}