I'm not sure what the dice really do but the game itself was fun and got quite difficult as it went on :)
The dice roll spells, perhaps I should have been more clear.
1st is Spell type
2nd is Spell power
3rd is Spell duration