{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.eren": {
      "states": {
        "default": {
          "transitions": [
            { "dmt": "q.get_equipped_item_name=='eren_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 1 && query.scoreboard('wg:skill') == 0 && query.scoreboard('wg:cooldown') == 0 && q.is_using_item" },
            { "bayblade": "q.get_equipped_item_name=='eren_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 1 && query.scoreboard('wg:skill') == 1 && query.scoreboard('wg:cooldown2') == 0 && q.is_using_item" },
            { "attack1": "q.get_equipped_item_name=='eren_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 1 && v.attack_time > 0.0" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled",
            "/tag @s remove skill_distance"
          ]
        },
        "attack1": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='eren_skills'" },
            { "attack2": "v.attack_time > 0.0 && q.any_animation_finished" },
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_1"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='eren_skills'" },
            { "slash": "v.attack_time > 0.0 && query.any_animation_finished" },
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_1"],
          "transitions": [
            { "slash": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "slash": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='eren_skills'"
            },
            {
              "super_slash2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3",
            "/execute anchored eyes run summon wesl3y:eren_damage ^^^1 ~~ wesl3y:slash"
          ]
        },
        "super_slash2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ]
        },
        "dmt": {
          "animations": ["timer.1_0"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/tag @s add eren_dmt0",
            "/event entity @s wesl3y:eren.dmt",
            "/event entity @s wesl3y:skill4"
          ],
          "on_exit": [
            "/tag @s remove eren_dmt0",
            "/effect @s slow_falling 3 0 true",
            "/scoreboard players set @s wg:cooldown 10"
          ]
        },
        "bayblade": {
          "animations": ["timer.1_25"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='eren_skills' || !q.is_alive"
            },
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill5",
            "/tag @s add eren_bayblade"
          ],
          "on_exit": [
            "/tag @s remove eren_bayblade",
            "/scoreboard players set @s wg:cooldown2 30"
          ]
        }
      }
    },
    "controller.animation.titan_attack": {
      "states": {
        "default": {
          "transitions": [
            { "smash": "q.get_equipped_item_name=='titan_attack_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 2 && query.scoreboard('wg:skill') == 0 && query.scoreboard('wg:cooldown') == 0 && q.is_using_item" },
            { "stomp": "q.get_equipped_item_name=='titan_attack_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 2 && query.scoreboard('wg:skill') == 1 && query.scoreboard('wg:cooldown2') == 0 && q.is_using_item" },
            { "attack1": "q.get_equipped_item_name=='titan_attack_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 2 && v.attack_time > 0.0" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled",
            "/tag @s remove skill_distance"
          ]
        },
        "attack1": {
          "animations": ["timer.0_4"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='titan_attack_skills'" },
            { "attack2": "v.attack_time > 0.0 && q.any_animation_finished" },
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1",
            "/summon wesl3y:titan_attack_damage ^^1^-1 ~~ wesl3y:impulse_hit"
          ],
          "on_exit": [
            "/execute anchored eyes positioned ^^^3 run function attack_on_titan/titan_attack/hit"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack2": {
          "animations": ["timer.0_4"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='titan_attack_skills'" },
            { "super_kick": "v.attack_time > 0.0 && query.any_animation_finished" },
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2",
            "/summon wesl3y:titan_attack_damage ^^2^-1 ~~ wesl3y:impulse_hit"
          ],
          "on_exit": [
            "/execute anchored eyes positioned ^^^3 run function attack_on_titan/titan_attack/hit"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "super_kick": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "super_kick": {
          "animations": ["timer.0_4"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_attack_skills'"
            },
            {
              "super_kick2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3"
          ]
        },
        "super_kick2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_attack_damage ^^0.5^0.25 facing ^^^10000 wesl3y:super_kick0"
          ]
        },
        "smash": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_attack_skills'"
            },
            {
              "smash2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill4"
          ]
        },
        "smash2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_attack_damage ^^^ ~~ wesl3y:smash"
          ],
          "on_exit": [
            "/scoreboard players set @s wg:cooldown 30"
          ]
        },
        "stomp": {
          "animations": ["timer.2_0"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_attack_skills'"
            },
            {
              "stomp2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill5",
            "/effect @s levitation 1 11 true"
          ]
        },
        "stomp2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_attack_damage ^^^ ~~ wesl3y:stomp"
          ],
          "on_exit": [
            "/scoreboard players set @s wg:cooldown2 30"
          ]
        }
      }
    },
    "controller.animation.reiner": {
      "states": {
        "default": {
          "transitions": [
            { "dmt": "q.get_equipped_item_name=='reiner_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 3 && query.scoreboard('wg:skill') == 0 && query.scoreboard('wg:cooldown') == 0 && q.is_using_item" },
            { "bayblade": "q.get_equipped_item_name=='reiner_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 3 && query.scoreboard('wg:skill') == 1 && query.scoreboard('wg:cooldown2') == 0 && q.is_using_item" },
            { "attack1": "q.get_equipped_item_name=='reiner_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 3 && v.attack_time > 0.0" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled",
            "/tag @s remove skill_distance"
          ]
        },
        "attack1": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='reiner_skills'" },
            { "attack2": "v.attack_time > 0.0 && q.any_animation_finished" },
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_1"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='reiner_skills'" },
            { "slash": "v.attack_time > 0.0 && query.any_animation_finished" },
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_1"],
          "transitions": [
            { "slash": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "slash": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='reiner_skills'"
            },
            {
              "super_slash2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3",
            "/execute anchored eyes run summon wesl3y:reiner_damage ^^^1 ~~ wesl3y:slash"
          ]
        },
        "super_slash2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ]
        },
        "dmt": {
          "animations": ["timer.1_0"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/tag @s add reiner_dmt0",
            "/event entity @s wesl3y:reiner.dmt",
            "/event entity @s wesl3y:skill4"
          ],
          "on_exit": [
            "/tag @s remove reiner_dmt0",
            "/effect @s slow_falling 3 0 true",
            "/scoreboard players set @s wg:cooldown 10"
          ]
        },
        "bayblade": {
          "animations": ["timer.1_25"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='reiner_skills' || !q.is_alive"
            },
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill5",
            "/tag @s add reiner_bayblade"
          ],
          "on_exit": [
            "/tag @s remove reiner_bayblade",
            "/scoreboard players set @s wg:cooldown2 30"
          ]
        }
      }
    },
    "controller.animation.titan_armored": {
      "states": {
        "default": {
          "transitions": [
            { "smash": "q.get_equipped_item_name=='titan_armored_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 4 && query.scoreboard('wg:skill') == 0 && query.scoreboard('wg:cooldown') == 0 && q.is_using_item" },
            { "stomp": "q.get_equipped_item_name=='titan_armored_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 4 && query.scoreboard('wg:skill') == 1 && query.scoreboard('wg:cooldown2') == 0 && q.is_using_item" },
            { "attack1": "q.get_equipped_item_name=='titan_armored_skills' && q.property('wesl3y:animes') == 1 && q.property('wesl3y:characters') == 4 && v.attack_time > 0.0" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill0",
            "/inputpermission set @s movement enabled",
            "/tag @s remove skill_distance"
          ]
        },
        "attack1": {
          "animations": ["timer.0_4"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='titan_armored_skills'" },
            { "attack2": "v.attack_time > 0.0 && q.any_animation_finished" },
            { "attack1_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill1",
            "/summon wesl3y:titan_armored_damage ^^1^-1 ~~ wesl3y:impulse_hit"
          ],
          "on_exit": [
            "/execute anchored eyes positioned ^^^3 run function attack_on_titan/titan_armored/hit"
          ]
        },
        "attack1_2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "attack2": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "attack2": {
          "animations": ["timer.0_4"],
          "transitions": [
            { "default": "q.get_equipped_item_name!='titan_armored_skills'" },
            { "super_kick": "v.attack_time > 0.0 && query.any_animation_finished" },
            { "attack2_2": "query.any_animation_finished" }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill2",
            "/summon wesl3y:titan_armored_damage ^^2^-1 ~~ wesl3y:impulse_hit"
          ],
          "on_exit": [
            "/execute anchored eyes positioned ^^^3 run function attack_on_titan/titan_armored/hit"
          ]
        },
        "attack2_2": {
          "animations": ["timer.0_3"],
          "transitions": [
            { "super_kick": "v.attack_time > 0.0" },
            { "default": "query.any_animation_finished" }
          ]
        },
        "super_kick": {
          "animations": ["timer.0_4"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_armored_skills'"
            },
            {
              "super_kick2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill3"
          ]
        },
        "super_kick2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_armored_damage ^^0.5^0.25 facing ^^^10000 wesl3y:super_kick0"
          ]
        },
        "smash": {
          "animations": ["timer.0_5"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_armored_skills'"
            },
            {
              "smash2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill4"
          ]
        },
        "smash2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_armored_damage ^^^ ~~ wesl3y:smash"
          ],
          "on_exit": [
            "/scoreboard players set @s wg:cooldown 30"
          ]
        },
        "stomp": {
          "animations": ["timer.2_0"],
          "transitions": [
            {
              "default": "q.get_equipped_item_name!='titan_armored_skills'"
            },
            {
              "stomp2": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/event entity @s wesl3y:skill5",
            "/effect @s levitation 1 11 true"
          ]
        },
        "stomp2": {
          "animations": ["timer.0_3"],
          "transitions": [
            {
              "default": "query.any_animation_finished"
            }
          ],
          "on_entry": [
            "/summon wesl3y:titan_armored_damage ^^^ ~~ wesl3y:stomp"
          ],
          "on_exit": [
            "/scoreboard players set @s wg:cooldown2 30"
          ]
        }
      }
    }
  }
}