execute as @s[tag=EffectFallPoi] run execute at @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] run summon area_effect_cloud ~ ~ ~ {NoGravity:1b,Radius:3f,RadiusPerTick:0f,RadiusOnUse:0f,Duration:600,DurationOnUse:0f,Color:3276562,Effects:[{Id:19b,Amplifier:1b,Duration:300}]}
execute as @s[tag=EffectFallWit] run execute at @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] run summon area_effect_cloud ~ ~ ~ {NoGravity:1b,Radius:3f,RadiusPerTick:0f,RadiusOnUse:0f,Duration:600,DurationOnUse:0f,Color:0,Effects:[{Id:20b,Amplifier:1b,Duration:200}]}
execute as @s[tag=EffectFallDam] run execute at @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] run summon area_effect_cloud ~ ~ ~ {NoGravity:1b,Radius:3f,RadiusPerTick:0f,RadiusOnUse:0f,Duration:600,DurationOnUse:0f,Color:16711680,Effects:[{Id:7b,Amplifier:0b,Duration:10}]}
execute as @s[tag=EffectFallSlo] run execute at @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] run summon area_effect_cloud ~ ~ ~ {NoGravity:1b,Radius:3f,RadiusPerTick:0f,RadiusOnUse:0f,Duration:600,DurationOnUse:0f,Color:5070722,Effects:[{Id:2b,Amplifier:2b,Duration:400},{Id:18b,Amplifier:2b,Duration:400}]}

execute as @s[tag=EffectFallPoi] run effect give @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] poison 5 5
execute as @s[tag=EffectFallWit] run effect give @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] wither 5 5
execute as @s[tag=EffectFallDam] run effect give @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] instant_damage 1 0
execute as @s[tag=EffectFallSlo] run effect give @p[distance=..1.25,tag=CadeyrnFightTag,gamemode=!spectator] slowness 10 2

execute at @s run playsound minecraft:entity.ghast.death hostile @a[distance=..100] ~ ~ ~ 2 1.8 1
kill @s