{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.mob.todoroki": {
      "states": {
        "default": {
          "transitions": [
            { "normal": "q.health > 60 && q.skin_id == 1" },
            { "awakening": "q.health <= 60 && q.skin_id != 1" },
            { "ice_wall": "q.mark_variant == 1" },
            { "jet_burn": "q.mark_variant == 2" },
            { "attack2": "v.attack_time && q.skin_id == 0" },
            { "attack1": "v.attack_time && q.skin_id == 1" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled"
          ]
        },
        "normal": {
          "transitions": [
            {
              "default": "(1.0)"
            }
          ],
          "on_entry": [
            "@s normal"
          ]
        },
        "awakening": {
          "transitions": [
            {
              "default": "(1.0)"
            }
          ],
          "on_entry": [
            "@s awakening",
            "/particle wesl3y:slash_yellow.default",
            "/particle wesl3y:spike_yellow.default",
            "/damage @e[rm=1,r=12.5,family=!attack,type=!item,type=!xp_orb] 10 fire entity @s"
          ]
        },
        "attack1": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "default": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1",
            "/execute positioned ^^^1 at @e[r=1,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:todoroki_hit",
            "/execute positioned ^^^1 at @e[r=1,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:todoroki_hit2",
            "/execute positioned ^^^1 at @e[r=1,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:hit_white.small"
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0"
          ]
        },
        "attack2": {
          "animations": ["timer.0_5"],
          "transitions": [
            { "default": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2",
            "/execute at @e[r=1.5,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:todoroki_hit3",
            "/execute at @e[r=1.5,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:todoroki_hit4",
            "/execute at @e[r=1.5,type=!wesl3y:todoroki,family=!attack,family=!inanimate,type=!item,type=!xp_orb] run particle wesl3y:hit_white.small"
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0"
          ]
        },
        "ice_wall": {
          "animations": ["timer.0_25"],
          "transitions": [
            {
              "cancel": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill4"
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0",
            "/playsound todoroki_ice_wall @a[r=6]",
            "/summon wesl3y:todoroki_damage ^^0.5^2 ~~ wesl3y:mob.ice_wall"
          ]
        },
        "jet_burn": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "cancel": "query.all_animations_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill5"
          ],
          "on_exit": [
            "/event entity @s combo2_2"
          ]
        },
        "cancel": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "default": "query.all_animations_finished"
            }
          ],
          "on_exit": [
            "/event entity @s wesl3y:skill0",
            "/event entity @s dboa"
          ]
        }
      }
    }
  }
}