execute as @e[type=witch,tag=K,tag=!GKNameTag] run data merge entity @s {ArmorItems:[{},{id:potion,Count:1,tag:{Potion:"minecraft:strong_healing"}},{id:brewing_stand,Count:1},{id:blaze_powder,Count:1}],ArmorDropChances:[0.085F,0.01F,0.25F,0.25F]}
execute as @e[type=enderman,tag=K,tag=!GKNameTag] run data merge entity @s {ArmorItems:[{},{id:potion,Count:1,tag:{Potion:"minecraft:strong_healing"}},{id:ender_eye,Count:1},{id:ender_pearl,Count:1}],ArmorDropChances:[0.0F,0.0F,0.15F,0.40F]}
execute as @e[type=zombified_piglin,tag=!GKNameTag2,tag=K,tag=!SuperHostile,tag=!CopyKyu] run data merge entity @s {ArmorItems:[{},{id:potion,Count:1,tag:{Potion:"minecraft:strong_healing"}},{id:gold_ingot,Count:1},{id:blaze_powder,Count:1}],ArmorDropChances:[0.0F,0.0F,0.35F,0.02F]}
execute at @s[tag=PigAggro] run execute as @e[type=zombified_piglin,tag=!GKNameTag2] run data merge entity @s {AngerTime:200000,HandItems:[{id:"minecraft:golden_sword",Count:1b,tag:{Enchantments:[{id:"minecraft:knockback",lvl:1s}]}},{}],active_effects:[{id:"minecraft:speed",amplifier:0b,duration:86866680}]}

execute at @s[scores={DayQ=7..},tag=HardMode] run effect give @e[tag=K,type=witch,tag=!GKNameTag] speed 5000 0
execute at @s[scores={DayQ=10..},tag=HardMode] run effect give @e[tag=K,type=witch,tag=!GKNameTag] resistance 5000 0


execute at @s[scores={DayQ=17..}] run execute as @e[tag=K,type=enderman,tag=!GKNameTag] run attribute @s minecraft:generic.attack_damage modifier add 24232-23478-98942-00386-23028 5ADKYU 5 add
execute at @s[scores={DayQ=28..},tag=!HardMode] run execute as @e[tag=K,type=enderman,tag=!GKNameTag] run attribute @s minecraft:generic.attack_damage modifier add 24232-23478-98942-00386-23029 5ADKYUv2 5 add
execute at @s[scores={DayQ=28..},tag=HardMode] run execute as @e[tag=K,type=enderman,tag=!GKNameTag] run attribute @s minecraft:generic.attack_damage modifier add 24232-23478-98942-00386-23029 8ADKYUv3 8 add

tag @e[type=enderman,tag=K,tag=!KK] add KK
execute as @e[tag=K,tag=!GKNameTag,type=enderman] run tag @s add GKNameTag
execute as @e[tag=K,tag=!GKNameTag,type=witch] run tag @s add GKNameTag
execute as @e[tag=K,tag=!GKNameTag2,type=zombified_piglin] run tag @s add GKNameTag2


execute at @e[tag=K,type=pig] if block ~ ~-1 ~ netherrack run summon lightning_bolt ~ ~ ~
execute at @e[tag=K,type=pig] if block ~ ~-1 ~ soul_sand run summon lightning_bolt ~ ~ ~