{
	"format_version": "1.10.0",
	"animation_controllers": {
		"controller.animation.manalabs_scp.scp058.attack_control": {
			"initial_state": "init",
			"states": {
				"init": {
					"transitions": [
						{
							"default": "1.0"
						}
					]
				},
				"default": {
					"on_entry": ["v.other_attack_chance = math.random(0, 100);"],
					"transitions": [
						{
							"claw": "v.other_attack_chance < 40"
						},
						{
							"tail_sting_light": "v.other_attack_chance < 80"
						},
						{
							"tail_sting_heavy": "1.0"
						}
					]
				},
				"claw": {
					"on_entry": ["@s claw", "variable.claw_duration = query.life_time + 3;"],
					"transitions": [
						{
							"default": "(variable.claw_duration < query.life_time)"
						}
					]
				},
				"tail_sting_light": {
					"on_entry": ["@s tail_sting_light", "variable.tail_sting_light_duration = query.life_time + 3;"],
					"transitions": [
						{
							"default": "(variable.tail_sting_light_duration < query.life_time)"
						}
					]
				},
				"tail_sting_heavy": {
					"on_entry": ["@s tail_sting_heavy", "variable.tail_sting_heavy_duration = query.life_time + 3;"],
					"transitions": [
						{
							"default": "(variable.tail_sting_heavy_duration < query.life_time)"
						}
					]
				}
			}
		},
		"controller.animation.manalabs_scp.scp058.spawn_controll": {
			"initial_state": "init",
			"states": {
				"init": {
					"transitions": [
						{
							"default": "1.0"
						}
					]
				},
				"default": {
					"on_entry": ["/execute if entity @e[type=manalabs_scp:scp058,rm=1,r=60] run event entity @s despawn"]
				}
			}
		}
	}
}