Mortarion, Demon Primarch's ability looks only at the amount of life you've lost this turn, regardless of any life you may have gained. For example, if you lost 3 life due to combat damage, but gained 2 life later in the turn, X may be up to 3 for this ability.