Eroding Magic

Whenever this creature would successfully deal damage or affect a target with its spell. It may also dispel an active beneficial spell that this creature is benefiting from. This functions as the Dispel Magic spell.