It's probably a bug, but it's one that on net makes the game easier. You really only use damage over time spells against mobs that have a shield against your damage type, and those mobs tend to be extra vulnerable to your damage type. A damage over time spell clears the shields, and then subsequent damage pulses have the mob vulnerability count double, as what the glitch does is refer to the mob's resistance rather than your damage bonus.