
execute at @s[scores={DayQ=4..}] run execute as @e[tag=K,type=minecraft:pillager,tag=!GKNameTag] run data merge entity @s {HandItems:[{id:"minecraft:crossbow",Count:1b,tag:{Enchantments:[{id:"minecraft:multishot",lvl:1s},{id:"minecraft:quick_charge",lvl:5s}]}},{}],Attributes:[{Name:generic.movement_speed,Base:.26}]}
execute at @s[scores={DayQ=8..17}] run execute as @e[tag=K,type=pillager,tag=!GKNameTag] run data merge entity @s {Attributes:[{Name:generic.max_health,Base:28}]}
execute at @s[scores={DayQ=18..}] run execute as @e[tag=K,type=pillager,tag=!GKNameTag] run data merge entity @s {Attributes:[{Name:generic.max_health,Base:32}]}
execute at @s[scores={DayQ=8..17}] run effect give @e[tag=K,type=pillager,tag=!GKNameTag] instant_health 1 0 true
execute at @s[scores={DayQ=18..}] run effect give @e[tag=K,type=pillager,tag=!GKNameTag] instant_health 1 1 true
execute as @e[tag=K,tag=!GKNameTag,type=pillager] run tag @s add GKNameTag

