You shouldn't have been able to do a mass dispersion (You had only 15 mana). Maybe it's a bug with the talent 'Shining of moon and Sun', as it should've reduced the mana cost of mass dispersion to 14 (But used up 16 instead).
What do the center pharaoh talent even do?
Shining of Moon and Sun
Since ancient times, the pharaohs respected the holiness of the continuous cycle of Sun and Moon. After spending many years studying this phenomenon, they learned to use the same principle to enhance their own magic, naming their unique racial ability in honor of their source of inspiration. Due to their racial ability, during battle the pharaohs constantly feel the action of one of the effects of the cycle: the Sun phase or the Moon phase. The phase changes after the Lord’s each turn. The Sun phase - empowers all Holy magic spells, the Moon phase - empowers all Darkness magic spells: an empowered spell has it’s mana cost reduced by 30% and boosts the effective spell power of magic.