{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.mob.escanor": {
      "states": {
        "default": {
          "transitions": [
            { "cruel_sun": "q.mark_variant == 1" },
            { "attack1": "v.attack_time" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled",
            "/tag @s remove skill_distance"
          ]
        },
        "attack1": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1",
            "/execute positioned ~~3~ positioned ^^^2 run damage @e[c=10,r=3.5,family=!attack,family=!inanimate,type=!wesl3y:escanor,type=!item,type=!xp_orb] 10 entity_attack entity @s",
            "/execute positioned ~~3~ positioned ^^^2 run execute at @e[c=10,r=4,family=!attack,family=!inanimate,type=!wesl3y:escanor,type=!item,type=!xp_orb] run particle wesl3y:yamamoto_hit"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0"
          ]
        },
        "attack2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2",
            "/execute positioned ~~3~ positioned ^^^2 run damage @e[c=10,r=3.5,family=!attack,family=!inanimate,type=!wesl3y:escanor,type=!item,type=!xp_orb] 10 entity_attack entity @s",
            "/execute positioned ~~3~ positioned ^^^2 run execute at @e[c=10,r=4,family=!attack,family=!inanimate,type=!wesl3y:escanor,type=!item,type=!xp_orb] run particle wesl3y:yamamoto_hit"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "attack3": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0"
          ]
        },
        "attack3": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "attack3_2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3",
            "/effect @s slowness 2 5 true"
          ],
          "on_exit": [
            "/summon wesl3y:escanor_damage ^^0.5^0.25 facing ^^^10000 wesl3y:mob.slash0"
          ]
        },
        "attack3_2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ]
        },
        "cruel_sun": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "cancel": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill4",
            "/effect @s slowness 3 5 true"
          ],
          "on_exit": [
            "/event entity @s combo1_2"
          ]
        },
        "cancel": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "default": "query.all_animations_finished"
            }
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0",
            "/event entity @s dboa"
          ]
        }
      }
    }
  }
}