{
  "format_version": "1.10.0",
  "animation_controllers": {
    "controller.animation.guard_v2.attack": {
      "initial_state": "default",
      "states": {
        "ranged_charge": {
          "animations": [
            "crossbow_charge"
          ],
          "transitions": [
            {
              "default": "variable.attack_state \u003d\u003d 0  ||  query.is_admiring"
            },
            {
              "ranged_hold": "variable.attack_state \u003d\u003d 1"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "default": {
          "transitions": [
            {
              "ranged_hold": "query.variant \u003d\u003d 0 \u0026\u0026 variable.attack_state \u003d\u003d 1 \u0026\u0026 !query.is_admiring"
            },
            {
              "ranged_charge": "query.variant \u003d\u003d 0 \u0026\u0026 variable.attack_state \u003d\u003d 2 \u0026\u0026 !query.is_admiring"
            },
            {
              "hand_attack": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 1 \u0026\u0026 !query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "melee_attack": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 1 \u0026\u0026 query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "heavy_axe_attack": "query.is_delayed_attacking \u0026\u0026 query.variant \u003d\u003d 4 \u0026\u0026 query.is_item_equipped \u0026\u0026 !query.is_admiring"
            },
            {
              "spear_melee_attack_v2": "query.is_delayed_attacking \u0026\u0026 query.variant \u003d\u003d 3 \u0026\u0026 query.is_item_equipped \u0026\u0026 !query.is_admiring"
            },
            {
              "spear_melee_attack": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 3 \u0026\u0026 query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "hand_attack_4": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 4 \u0026\u0026 !query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "hand_attack_3": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 3 \u0026\u0026 !query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "hand_attack_2": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 2 \u0026\u0026 !query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "bow_attack": "variable.has_target \u0026\u0026 query.variant \u003d\u003d 2 \u0026\u0026 query.is_item_equipped \u0026\u0026 variable.attack_time \u003e\u003d 0.0 \u0026\u0026 !query.is_admiring"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "ranged_hold": {
          "animations": [
            "crossbow_hold"
          ],
          "transitions": [
            {
              "default": "variable.attack_state \u003d\u003d 0  ||  query.is_admiring || query.get_equipped_item_name !\u003d \u0027crossbow\u0027"
            },
            {
              "ranged_charge": "variable.attack_state \u003d\u003d 2"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2
        },
        "bow_attack": {
          "animations": [
            "bow_attack"
          ],
          "transitions": [
            {
              "default": "query.is_admiring || query.get_equipped_item_name !\u003d \u0027bow\u0027 || !variable.has_target "
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2
        },
        "melee_attack": {
          "animations": [
            "melee_attack"
          ],
          "transitions": [
            {
              "default": "!query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring || !variable.weapons"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "heavy_axe_attack": {
          "animations": [
            "heavy_melee_attack"
          ],
          "transitions": [
            {
              "default": "!query.is_item_equipped || !query.is_delayed_attacking ||  query.is_admiring || !variable.heavy_axe"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "spear_melee_attack_v2": {
          "animations": [
            "spear_melee_attack_v2"
          ],
          "transitions": [
            {
              "default": "!query.is_item_equipped || !query.is_delayed_attacking ||  query.is_admiring || !variable.spear"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "spear_melee_attack": {
          "animations": [
            "spear_melee_attack"
          ],
          "transitions": [
            {
              "default": "!query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring || !variable.spear"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2
        },
        "hand_attack": {
          "animations": [
            "hand_attack"
          ],
          "transitions": [
            {
              "default": "query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "hand_attack_2": {
          "animations": [
            "hand_attack"
          ],
          "transitions": [
            {
              "default": "query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "hand_attack_3": {
          "animations": [
            "hand_attack"
          ],
          "transitions": [
            {
              "default": "query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "hand_attack_4": {
          "animations": [
            "hand_attack"
          ],
          "transitions": [
            {
              "default": "query.is_item_equipped || !variable.has_target || variable.attack_time \u003c 0.0 ||  query.is_admiring"
            },
            {
              "casting": "query.is_casting"
            },
            {
              "celebrating": "query.is_celebrating"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "casting": {
          "animations": [
            "look_at_target",
            "summon"
          ],
          "particle_effects": [
            {
              "effect": "spell",
              "locator": "left_hand"
            },
            {
              "effect": "spell",
              "locator": "right_hand"
            }
          ],
          "transitions": [
            {
              "default": "!query.is_casting"
            }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true
        },
        "celebrating": {
          "animations": [
            "celebrate",
            { "riding.legs": "query.is_riding" }
          ],
          "blend_transition": 0.2,
          "blend_via_shortest_path": true,
          "transitions": [
            {
              "default": "!query.is_celebrating"
            }
          ]
        }
      }
    }
  }
}