ΔS=Tq
where q is heat transferred from the system (-) or to the system (+) and T is the temperature (which remains constant for the duration of the phase change). Instead of further increasing temperature, the heat increases entropy during a phase change.