Whenever the creature is subjected to fire damage, it takes no damage and instead regains a number of hit points equal to the fire damage dealt.