Compat between lifesteal and combat log datapacks

Hello, I have downloaded a lifesteal datapack where you only lose your heart when killed by a player, as well as one for combat logging for me and my friends' server. The combat log pack kills the player upon rejoining, but since they arent killed by a player, they dont lose a heart, and whoever they were in combat with don't get one. I wanted to figure out how to make it so that the attacker gets a heart and victim loses one, even when killed by the combat log pack. It should also work if the attacker isnt online when victim rejoins and gets killed? anyone know how I could do this? I have confirmed both packs work as intended so far. 1.21 btw, thank you!
Continue to help post