Cast a Shockwave with a Targeting Preset
Give the caster a shockwave that hits nearby combatants when their hand strikes the ground. The Targeting Preset finds everyone in range at that moment. The cast ability applies damage to those targets.
Choose who the shockwave can hit
Create a Data Asset of type Targeting Preset. Add Targeting Selection Task AOE to its tasks. Choose Sphere and set Radius to 600 Unreal units.
Choose the channel your combatants respond to, such as
CombatObjectfrom the collision setup. Enable Ignore Source Actor and Ignore Instigator Actor so the caster is safe.After the selection task, add Targeting Filter Task Dead. The first task gathers actors in the sphere, then the filter removes defeated combatants.

Release the shockwave
Give the caster positive Base Damage and create a Gameplay Effect based on
CombatEffect_Damage. Use a practice target with health and a Combat Manager.Create a Blueprint based on
CombatAbility_Cast. Set Targeting to Targeting System, assign your Targeting Preset, and set Cast Effect Class to the damage effect.Set Cast Trigger to Gameplay Event. Assign a casting montage and place the Trigger Cast notify on the ground-strike frame. Grant the ability to the caster and bind it to your spell action.
For a wider shockwave after an upgrade, override GetTargetingPreset in the ability Blueprint, or GetTargetingPreset_Implementation in C++. Return the larger preset when the caster has the upgrade. The same montage and effect serve both versions. Use HandleCastStarted for a sound at release, even if the sphere is empty.
If your damage effect reads a custom Set By Caller value, a C++ ability can override ApplyCastMagnitudesToSpec. Call the parent first, then add the value your effect reads, such as a bonus for a charged shockwave.
Try It in Play
Place two living targets inside the radius and one outside. Cast once. Both nearby targets should lose health on the ground strike. The caster and the distant target should keep their health. Move the distant target into range after the strike. It should take damage only on the next cast.