tag @e[tag=K,type=#suhc:hostiles] add FollowKyu
tag @e[tag=K,type=blaze] remove FollowKyu
tag @e[tag=K,type=drowned] remove FollowKyu
tag @e[tag=K,type=zombie] remove FollowKyu
tag @e[tag=K,type=husk] remove FollowKyu
tag @e[tag=K,type=ghast] remove FollowKyu

execute at @s[scores={DayQ=1..5}] run execute as @e[tag=!NOFOLLOW,tag=FollowKyu,type=#suhc:hostiles,tag=!GKNameTag] run data merge entity @s {Attributes:[{Name:generic.follow_range,Base:25}]}
execute at @s[scores={DayQ=6..11}] run execute as @e[tag=!NOFOLLOW,tag=FollowKyu,type=#suhc:hostiles,tag=!GKNameTag] run data merge entity @s {Attributes:[{Name:generic.follow_range,Base:30}]}
execute at @s[scores={DayQ=12..}] run execute as @e[tag=!NOFOLLOW,tag=FollowKyu,type=#suhc:hostiles,tag=!GKNameTag] run data merge entity @s {Attributes:[{Name:generic.follow_range,Base:40}]}

#execute at @s[scores={DayQ=1..5}] run execute as @e[tag=FollowKyu,type=#suhc:hostiles] run data merge entity @s {Attributes:[{Name:generic.followRange,Base:25}]}
