I spent the past few hours figuring this out and I finally got it working.
It takes in RadialDamageParams and a HitInfo and outputs the Damage.
Distance is the distance between the explosive and the impact point when it exploded.
Here is the blueprint, hope this helps somebody