She can create any potions she wants. Create a potion that makes her immune from sleep effects. Then create a potion that makes a 20-meter radius cloud of sleep gas when opened or thrown. Any number of ideas like this could have been created to handle the situation. But the author likes to...