Update Dungeon Master spawn code.