This card's healing effect doesn't specify where from the field it has to be sent from to activate. This means it will work even if it becomes a monster due to "Magical Hats", is destroyed by "Release Restraint Wave", or even sent to the GY while face down by "Emergency Provisions" or "Magicians' Souls".
This card can be equipped to "Elemental HERO Prisma" or "Phantom of Chaos" by having them copy either "Dark Magician" or "Dark Magician Girl"; at the end of the turn, their names will return to normal, making them no longer a valid equip target and destroying this card by game mechanics, activating its effect.