{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.pirate_illager.attack": {
			"initial_state": "default",
			"states": {
				"ranged_charge": {
					"animations": [
						"crossbow_charge"
					],
					"transitions": [
						{
							"default": "variable.attack_state==0||query.is_admiring"
						},
						{
							"melee_attack": "variable.has_target&&query.variant!=7||!query.variant==12&&query.is_item_equipped&&variable.attack_time>=0&&!query.is_admiring"
						}
					]
				},
				"default": {
					"transitions": [
						{
							"ranged_hold": "query.variant==7||query.variant==12&&query.facing_target_to_range_attack&&!query.is_admiring"
						},
						{
							"ranged_charge": "query.variant==7||query.variant==12&&query.facing_target_to_range_attack&&!query.is_admiring"
						},
						{
							"hand_attack": "variable.has_target&&query.variant!=7||!query.variant==12&&!query.is_item_equipped&&variable.attack_time>=0&&!query.is_admiring"
						},
						{
							"melee_attack": "variable.has_target&&query.variant!=7||!query.variant==12&&query.is_item_equipped&&variable.attack_time>=0&&!query.is_admiring"
						}
					]
				},
				"ranged_hold": {
					"animations": [
						"crossbow_hold"
					],
					"transitions": [
						{
							"default": "variable.attack_state==0||query.is_admiring"
						},
						{
							"melee_attack": "variable.has_target&&query.variant!=7||!query.variant==12&&query.is_item_equipped&&variable.attack_time>=0&&!query.is_admiring"
						}
					]
				},
				"melee_attack": {
					"animations": [
						"melee_attack"
					],
					"transitions": [
						{
							"default": "!query.is_item_equipped||!variable.has_target||variable.attack_time<0||query.is_admiring"
						},
						{
							"ranged_hold": "query.variant==7||query.variant==12&&query.facing_target_to_range_attack&&!query.is_admiring"
						}
					]
				},
				"hand_attack": {
					"animations": [
						"hand_attack"
					],
					"transitions": [
						{
							"default": "query.is_item_equipped||!variable.has_target||variable.attack_time<0||query.is_admiring"
						},
						{
							"ranged_hold": "query.variant==7||query.variant==12&&query.facing_target_to_range_attack&&!query.is_admiring"
						}
					]
				}
			}
		}
	}
}