Why did the spellplague happen after Cyric killed Mystra?

From what I understand when a god kills another god he gets his portfolio. Wouldn’t this mean that when Cyric killed Mystra he should have just got her portfolio over magic, spells, and the weave?