take more damage on effect

how exactly if possible i can make a player take more damage if lets say, a splash potion hits them for example with weakness potion
Continue to help post