{
	"format_version": "1.21.0",
	"animations": {
		"animation.regular_staff.cycle": {
			"animation_length": 0.50,
			"timeline": {
			  "0.10": [
			    "/scoreboard players remove @s stamina 20"
			    ]
			}
		},
		"animation.regular_staff.powerup": {
			"animation_length": 0.50,
			"timeline": {
			  "0.10": [
			    "/effect @s slowness 1 18 true"
			    ]
			}
		},
		"animation.regular_staff.cast": {
			"animation_length": 0.50,
			"timeline": {
			  "0.10": [
			    "/effect @s night_vision 1 255 true"
			    ]
			}
		},
		"animation.regular_staff.cast_held": {
			"animation_length": 0.25,
			"timeline": {
			  "0.10": [
			    "/execute as @p[tag=dev] at @s run say functioning",
			    "/playanimation @s[type=!player] animation.regular_staff.cast_held",
			    //Atk1[
			    "/execute as @s[scores={basic_attack=1}] at @s run tag @s add magicAtk",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s stunTime 0",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s damageOutput 25",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s hitboxRange 60",
			    "/execute as @s[scores={basic_attack=1}] at @s run tag @s add applyKB",
			    "/execute as @s[scores={basic_attack=1}] at @s run function attacks/basic",
			    "/scoreboard players set @s[scores={basic_attack=1}] projectileOutput 25",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projPower 8",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projSpread 2",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projQuan 1",
          "/execute as @s[scores={basic_attack=1}] at @s run tag @s add projectileE",
          "/execute as @s[scores={basic_attack=1}] at @s[type=player] run scriptevent projectile:shoot",
			    //]
			    //Atk2[
			    "/execute as @s[scores={basic_attack=2}] at @s run tag @s add magicAtk",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s stunTime 0",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s damageOutput 15",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s hitboxRange 60",
			    "/execute as @s[scores={basic_attack=2}] at @s run tag @s add applyKB",
			    "/execute as @s[scores={basic_attack=2}] at @s run function attacks/basic",
			    "/scoreboard players set @s[scores={basic_attack=2}] projectileOutput 15",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projPower 10",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projSpread 7",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projQuan 10",
          "/execute as @s[scores={basic_attack=2}] at @s run tag @s add projectileE",
          "/execute as @s[scores={basic_attack=2}] at @s[type=player] run scriptevent projectile:shoot",
			    //]
			    //Atk3[
			    "/scoreboard players set @s[scores={basic_attack=3..4}] projectileOutput 15",
			    "/scoreboard players set @s[scores={basic_attack=3..4}] hitboxRange 2",
			    "/scoreboard players set @s[scores={basic_attack=3..4}] stunTime 0",
          "/event entity @s[scores={basic_attack=3}] summon:magic_skull",
          //]
			    //Atk4[
			    "/scoreboard players set @s[scores={basic_attack=0}] projectileOutput 15",
			    "/scoreboard players set @s[scores={basic_attack=0}] hitboxRange 2",
			    "/scoreboard players set @s[scores={basic_attack=0}] stunTime 0",
          "/event entity @s[scores={basic_attack=0}] summon:magic_skullv2"
          //]
			    ]
			}
		},
		"animation.regular_staff.cast_held.v2": {
			"animation_length": 0.25,
			"loop": true,
			"timeline": {
			  "0.10": [
			    "/execute as @p[tag=devtest] at @s run particle minecraft:heart_particle ^1.5^1.25^2",
			    "/playanimation @s[type=!player] animation.regular_staff.cast_held",
			    //Atk1[
			    "/execute as @s[scores={basic_attack=1}] at @s run tag @s add magicAtk",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s stunTime 0",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s damageOutput 25",
			    "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s hitboxRange 60",
			    "/execute as @s[scores={basic_attack=1}] at @s run tag @s add applyKB",
			    "/execute as @s[scores={basic_attack=1}] at @s run function attacks/basic",
			    "/scoreboard players set @s[scores={basic_attack=1}] projectileOutput 25",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projPower 8",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projSpread 2",
          "/execute as @s[scores={basic_attack=1}] at @s run scoreboard players set @s projQuan 1",
          "/execute as @s[scores={basic_attack=1}] at @s run tag @s add projectileE",
          "/execute as @s[scores={basic_attack=1}] at @s run event entity @s manaorb",
			    //]
			    //Atk2[
			    "/execute as @s[scores={basic_attack=2}] at @s run tag @s add magicAtk",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s stunTime 0",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s damageOutput 15",
			    "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s hitboxRange 60",
			    "/execute as @s[scores={basic_attack=2}] at @s run tag @s add applyKB",
			    "/execute as @s[scores={basic_attack=2}] at @s run function attacks/basic",
			    "/scoreboard players set @s[scores={basic_attack=2}] projectileOutput 15",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projPower 10",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projSpread 7",
          "/execute as @s[scores={basic_attack=2}] at @s run scoreboard players set @s projQuan 10",
          "/execute as @s[scores={basic_attack=2}] at @s run tag @s add projectileE",
          "/execute as @s[scores={basic_attack=2}] at @s run event entity @s manaorb_burst",
			    //]
			    //Atk3[
			    "/scoreboard players set @s[scores={basic_attack=3..4}] projectileOutput 15",
			    "/scoreboard players set @s[scores={basic_attack=3..4}] hitboxRange 2",
			    "/scoreboard players set @s[scores={basic_attack=3..4}] stunTime 0",
          "/event entity @s[scores={basic_attack=3}] summon:magic_skull",
          //]
			    //Atk4[
			      "/scoreboard players set @s[scores={basic_attack=4}] basic_attack 0",
			    "/scoreboard players set @s[scores={basic_attack=0}] projectileOutput 15",
			    "/scoreboard players set @s[scores={basic_attack=0}] hitboxRange 2",
			    "/scoreboard players set @s[scores={basic_attack=0}] stunTime 0",
          "/event entity @s[scores={basic_attack=0}] summon:magic_skullv2"
          //]
			    ]
			}
		}
	}
}