Right now, if you finish fighting a main boss you can then spend crowns to get stuff from his chest.
Great idea but it doesn't work well.
Why?
Because almost all the time, what comes out of the chest isn't usable by the person spending the crowns. The item is almost always for a school that the purchaser isn't part of. This gets expensive and discourages players from spending crowns on those chests.
Please modify the code to first check the school of the person spending the crowns, then select a random item from a list that they will actually be able to use AND that is worth the amount of crowns being spent.