{
  "AbilityName": "Monster_Common_Death_Sky_Onground",
  "AbilityStacking": "Unique",
  "Modifiers": {
    "BiosDeathOngroundModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.05,
          "TimeUpActions": [
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "Deathrattle"
                  ],
                  "Target": "Self"
                }
              ],
              "FailureActions": [
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Death_Explosion_Red_S",
                  "Target": "Self"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Deathrattle_Explosion_Red_S",
                  "Target": "Self"
                },
                {
                  "$type": "ApplyModifier",
                  "ModifierName": "DeathRattle_HandleAnimEvent_Modifier",
                  "Target": "Self"
                }
              ]
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Dust_Red_S",
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ModifyMaterialPropertyAction",
          "ApplyAllRenderers": true,
          "Predicates": [
            {
              "$type": "ByLevelEnd",
              "LevelEnd": false
            }
          ],
          "Tag": "Monster_Death_Start_4",
          "Target": "Self",
          "key": "Monster_Common_MA_Death_Transition_End_01"
        },
        {
          "$type": "FireEffect",
          "EffectPattern": "Eff_Common_HitGround",
          "Target": "Self"
        }
      ]
    },
    "DeathEndOngroundModifier": {
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ApplyModifier",
          "ModifierName": "BiosDeathOngroundModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Mech"
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "BiosDeathOngroundModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Bios"
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "$type": "ApplyModifier",
          "ModifierName": "EtherDeathOngroundModifier",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "Ether"
              ],
              "Target": "Self"
            }
          ]
        }
      ]
    },
    "DeathRattle_HandleAnimEvent_Modifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.05,
          "IgnoreTimeScale": false,
          "TimeUpActions": [
            {
              "$type": "HandleAnimEvent",
              "AnimEventID": "#Monster_Common_Deathrattle_Small",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "BySmall"
                }
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "DelayTime": 0.05,
          "IgnoreTimeScale": false,
          "TimeUpActions": [
            {
              "$type": "HandleAnimEvent",
              "AnimEventID": "#Monster_Common_Deathrattle_Middle",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "ByMiddle"
                }
              ],
              "Target": "Self"
            }
          ]
        },
        {
          "DelayTime": 0.05,
          "IgnoreTimeScale": false,
          "TimeUpActions": [
            {
              "$type": "HandleAnimEvent",
              "AnimEventID": "#Monster_Common_Deathrattle_Large",
              "Predicates": [
                {
                  "$type": "ByApplyPredicate",
                  "PredicateName": "ByLarge"
                }
              ],
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": -1,
      "ModifierStacking": "Unique"
    },
    "EtherDeathOngroundModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.05,
          "TimeUpActions": [
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "Deathrattle"
                  ],
                  "Target": "Self"
                }
              ],
              "FailureActions": [
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Death_Explosion_Ether_S",
                  "Target": "Self"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "InterruptMaterialPropertyAction",
                  "Predicates": [
                    {
                      "$type": "ByNot",
                      "Predicates": [
                        {
                          "$type": "ByApplyPredicate",
                          "PredicateName": "BySmall"
                        }
                      ]
                    }
                  ],
                  "Tag": "Monster_Death_Start_4",
                  "Target": "Self"
                },
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Deathrattle_Explosion_Ether_S",
                  "Predicates": [
                    {
                      "$type": "ByIsInZoneTags",
                      "Tags": [
                        "Ether"
                      ],
                      "Target": "Self"
                    }
                  ],
                  "Target": "Self"
                },
                {
                  "$type": "ApplyModifier",
                  "ModifierName": "DeathRattle_HandleAnimEvent_Modifier",
                  "Target": "Self"
                }
              ]
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_Death_Dust_Ether_S",
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ModifyMaterialPropertyAction",
          "ApplyAllRenderers": true,
          "Predicates": [
            {
              "$type": "ByLevelEnd",
              "LevelEnd": false
            }
          ],
          "Tag": "Monster_Death_Start_4",
          "Target": "Self",
          "key": "Monster_Common_MA_Death_Transition_End_01"
        },
        {
          "$type": "FireEffect",
          "EffectPattern": "Eff_Common_HitGround",
          "Target": "Self"
        }
      ]
    },
    "VRDeathEndOngroundModifier": {
      "DelayHandlers": [
        {
          "DelayTime": 0.05,
          "TimeUpActions": [
            {
              "$type": "BranchOperator",
              "Conditions": [
                {
                  "$type": "ByIsInZoneTags",
                  "Tags": [
                    "Deathrattle"
                  ],
                  "Target": "Self"
                }
              ],
              "FailureActions": [
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_VR_Death_Explosion_S",
                  "Predicates": [
                    {
                      "$type": "ByCharacterSize",
                      "CharacterSize": "Small",
                      "CompareType": "LessEqual",
                      "Target": "Self"
                    }
                  ],
                  "Target": "Self"
                }
              ],
              "SuccessActions": [
                {
                  "$type": "InterruptMaterialPropertyAction",
                  "Predicates": [
                    {
                      "$type": "ByNot",
                      "Predicates": [
                        {
                          "$type": "ByApplyPredicate",
                          "PredicateName": "BySmall"
                        }
                      ]
                    }
                  ],
                  "Tag": "Monster_Death_Start_4",
                  "Target": "Self"
                },
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Deathrattle_Explosion_Ether_S",
                  "Predicates": [
                    {
                      "$type": "ByIsInZoneTags",
                      "Tags": [
                        "Ether"
                      ],
                      "Target": "Self"
                    }
                  ],
                  "Target": "Self"
                },
                {
                  "$type": "FireEffect",
                  "AttachPointName": "ChestPoint",
                  "EffectPattern": "Eff_Monster_Common_Deathrattle_Explosion_Red_S",
                  "Predicates": [
                    {
                      "$type": "ByNot",
                      "Predicates": [
                        {
                          "$type": "ByIsInZoneTags",
                          "Tags": [
                            "Ether"
                          ],
                          "Target": "Self"
                        }
                      ]
                    }
                  ],
                  "Target": "Self"
                },
                {
                  "$type": "ApplyModifier",
                  "ModifierName": "DeathRattle_HandleAnimEvent_Modifier",
                  "Target": "Self"
                }
              ]
            },
            {
              "$type": "FireEffect",
              "EffectPattern": "Eff_Monster_Common_VR_Death_Dust_S",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Small",
                  "CompareType": "LessEqual",
                  "Target": "Self"
                }
              ],
              "Target": "Self"
            }
          ]
        }
      ],
      "Duration": 1,
      "ModifierStacking": "Unique",
      "OnAdded": [
        {
          "$type": "ModifyMaterialPropertyAction",
          "ApplyAllRenderers": true,
          "Predicates": [
            {
              "$type": "ByLevelEnd",
              "LevelEnd": false
            }
          ],
          "Tag": "Monster_Death_Start_4",
          "Target": "Self",
          "key": "Monster_Common_MA_Death_Transition_End_01"
        },
        {
          "$type": "FireEffect",
          "EffectPattern": "Eff_Common_HitGround",
          "Target": "Self"
        }
      ]
    }
  },
  "OnAbilityStart": [
    {
      "$type": "ApplyModifier",
      "ModifierName": "DeathEndOngroundModifier",
      "Predicates": [
        {
          "$type": "ByNot",
          "Predicates": [
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "IsVR"
              ],
              "Target": "Self"
            }
          ]
        }
      ]
    },
    {
      "$type": "ApplyModifier",
      "ModifierName": "VRDeathEndOngroundModifier",
      "Predicates": [
        {
          "$type": "ByIsInZoneTags",
          "Tags": [
            "IsVR"
          ],
          "Target": "Self"
        }
      ]
    },
    {
      "$type": "CreateAnimPatternAction",
      "AnimEventID": "#Monster_Common_Deathrattle_Small_Predicate_Short",
      "Predicates": [
        {
          "$type": "ByApplyPredicate",
          "PredicateName": "BySmall"
        },
        {
          "$type": "ByIsInZoneTags",
          "Tags": [
            "Deathrattle"
          ],
          "Target": "Self"
        }
      ],
      "TagMask": [
        "DodgeDummy"
      ],
      "Target": "Self"
    },
    {
      "$type": "CreateAnimPatternAction",
      "AnimEventID": "#Monster_Common_Deathrattle_Middle_Predicate_Short",
      "Predicates": [
        {
          "$type": "ByApplyPredicate",
          "PredicateName": "ByMiddle"
        },
        {
          "$type": "ByIsInZoneTags",
          "Tags": [
            "Deathrattle"
          ],
          "Target": "Self"
        }
      ],
      "TagMask": [
        "DodgeDummy"
      ],
      "Target": "Self"
    },
    {
      "$type": "CreateAnimPatternAction",
      "AnimEventID": "#Monster_Common_Deathrattle_Large_Predicate_Short",
      "Predicates": [
        {
          "$type": "ByApplyPredicate",
          "PredicateName": "ByLarge"
        },
        {
          "$type": "ByIsInZoneTags",
          "Tags": [
            "Deathrattle"
          ],
          "Target": "Self"
        }
      ],
      "TagMask": [
        "DodgeDummy"
      ],
      "Target": "Self"
    }
  ],
  "Predicates": {
    "ByLarge": {
      "Predicates": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByAnd",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Large",
                  "CompareType": "GreaterEqual",
                  "Target": "Self"
                },
                {
                  "$type": "ByNot",
                  "Predicates": [
                    {
                      "$type": "ByIsInZoneTags",
                      "Tags": [
                        "UniqueDeathEff"
                      ],
                      "Target": "Self"
                    }
                  ]
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "DeathEffLarge"
              ],
              "Target": "Self"
            }
          ],
          "Target": "Self"
        }
      ]
    },
    "ByMiddle": {
      "Predicates": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByAnd",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Middle",
                  "CompareType": "Equal",
                  "Target": "Self"
                },
                {
                  "$type": "ByNot",
                  "Predicates": [
                    {
                      "$type": "ByIsInZoneTags",
                      "Tags": [
                        "UniqueDeathEff"
                      ],
                      "Target": "Self"
                    }
                  ]
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "DeathEffMiddle"
              ],
              "Target": "Self"
            }
          ],
          "Target": "Self"
        }
      ]
    },
    "BySmall": {
      "Predicates": [
        {
          "$type": "ByOr",
          "Predicates": [
            {
              "$type": "ByAnd",
              "Predicates": [
                {
                  "$type": "ByCharacterSize",
                  "CharacterSize": "Small",
                  "CompareType": "LessEqual",
                  "Target": "Self"
                },
                {
                  "$type": "ByNot",
                  "Predicates": [
                    {
                      "$type": "ByIsInZoneTags",
                      "Tags": [
                        "UniqueDeathEff"
                      ],
                      "Target": "Self"
                    }
                  ]
                }
              ],
              "Target": "Self"
            },
            {
              "$type": "ByIsInZoneTags",
              "Tags": [
                "DeathEffSmall"
              ],
              "Target": "Self"
            }
          ],
          "Target": "Self"
        }
      ]
    }
  }
}