Improved merge functions of CombatText.