The extended law of corresponding states when attractions meet repulsions