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:"minecraft:poison",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:"minecraft:wither",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:"minecraft:instant_damage",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:"minecraft:slowness",amplifier:2b,duration:400},{id:"minecraft:weakness",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