Added spellFactory, drop chance, add spells to inventory on clear line and inventory reordering