Against the Demon Queen (quest)

'' The Court of Lailat is the heart of the demon queen's desert kingdom. From her throne, she commands a legion of servants; gnolls, efreet and demons all bend to her will.'' {{Quest
 * name     = Against the Demon Queen
 * level    = 12
 * duration = Very Long
 * xp       = {{xpcolors|solo=3,660|normal=6,400|hard=6,700|elite=7,000|epic=10,300}}
 * loc      = The Court of Lailat
 * npc      = Zawabi the Elder Djinni
 * zone     = Zawabi's Refuge
 * patron   = The Free Agents
 * favor    = 8
 * epic     = yes
 * mappic   = M_against_the_demon_queen.png
 * maplegend = yes
 * overview = This is the pre-raid leading up to Zawabi's Revenge, a 12 man raid featuring Lailat, the Demon Queen. You must flag for this quest by completing Chains of Flame, An Offering of Blood and the Chamber of Raiyum. However, since this is a regular quest, you may enter even if you are not flagged as long as one person in your party is.

This quest must be recompleted before you can repeat the Zawabi's Revenge raid, but the three flagging quests do not need to be. Talk to Zawabi twice in Zawabi's Refuge to reset the quest chain.

Be very careful that you are on the correct chapter of the quest chain before entering the quest - as players often forget that you need to talk to Zawabi not once, but twice in order to advance the quest, even after correctly flagging.
 * obj =
 * Read the Tome of the Six Swords
 * Recite the Glyphs of the First Sword
 * Recite the Glyphs of the Second Sword
 * Recite the Glyphs of the Third Sword
 * Recite the Glyphs of the Fourth Sword
 * Recite the Glyphs of the Fifth Sword
 * Recite the Glyphs of the Sixth Sword
 * Confront Queen Lailat
 * Kill Lailat's defenders and force her to retreat
 * Investigate the chest in Lailat's summoning circle
 * Force Queen Lailat to retreat into the Circle of Eternity
 * (Optional) Defeat Vinaldor the Faithless (10% of base XP)
 * (Optional) Defeat Edrassa the Betrayed (10% of base XP)
 * (Optional) Defeat Dwalni Demonsbane (10% of base XP)
 * (Optional) Defeat the Hand of Olladra (10% of base XP)
 * expect =
 * Traps (fixed, some undisarmable, high search DC - 35 on elite)
 * Riddle
 * Collapsible floor
 * Spawning/respawning monsters
 * Randomly placed lever (the second lever from the Octopus wing)
 * traps =
 * Dropping floor and poison traps (Scorpion area)
 * Spinning blade (Octopus area underwater)
 * Sonic traps (Bat area)
 * Epic Only: Mordenkainen's Disjunction Traps (Main Floor, Monkey area, Lailat's Summoning Circle)
 * misc =
 * The Riddle:
 * Against the Demon Queen requires you to solve a riddle - the riddle is different each time. It requires you to read inscriptions from each of the six chambers in the correct order:
 * Poisoner: Scorpion
 * Devious: Snake (Troglodytes)
 * Hungry: Wolf (Gnolls)
 * Grasping: Octopus (Mindflayers)
 * Mockery: Monkey (Wildmen)
 * Night: Bat (Mephits)
 * The first time you attempt to read the inscriptions in a wrong order, a DM voice will speak up and warn you. If you proceed to read it, you will be teleported to a jail. Climb up to the top of the jail and pull a lever to return to the main platform.
 * For more details about riddle, see this article: Against the Demon Queen riddle
 * Octopus Area:
 * The second lever is randomly placed on one of three possible spots, all located on the ceiling.
 * Monkey Area:
 * After defeating the Rakshasa, the gates open on a timer. Run back to the starting room as soon as possible, or you risk getting stuck behind the gate, with no way out.

Epic Strategy

 * A rogue with Evasion is a highly valuable addition to your party.
 * Mobs in the Wolf and Bat areas are especially deadly and should be approached with caution.
 * Use the pit in the Scorpion area to your advantage. Pull every possible mob from every area (except Octopus) into the pit, in numerous batches if necessary, then you can nuke 'em down from a relatively safe position. Be careful when dealing with the Mephits, they cast cloud spells which can cause severe disorientation. Use Break Enchantment to remove the clouding effects.
 * The first two traps in the Bat area could be safely bypassed (hug the north wall till the middle point, then hug the south wall, then hug the west wall), but for the last trap you either need a rogue or you walk through and hope to be alive (have the healer raise you on the other side if you are dead).

Monster Information Named Monsters: }}
 * npcreward = None until you complete the follow up raid, Zawabi's Revenge.
 * chest    = total 4, 1 in Octopus area, 1 in Scorpion area, 1 in wildman area behind secret door, 1 spawns after end fight
 * monsters =
 * Cacodemon - Flesh renders with vorpal hands)
 * Death Stalkers
 * Drow Scorpions
 * Drow Scorpion Clerics
 * Drow Scorpion Rogues
 * Drow Scorpion Wizards
 * Efreeti
 * Efreeti Maliks
 * Eternal Hunters
 * Fiendish Firebrands
 * Firebrand Commanders
 * Firebrand Conjurers
 * Firebrand Gnolls
 * Firebrand Lieutenants
 * Firebrand Pyromancers
 * Firebrand Sergeants
 * Greater Air Mephits
 * Greater Dust Mephits
 * Greater Fire Mephits
 * Greater Hell Hounds
 * Greater Sand Mephits
 * Mind Flayers
 * Pyrodemon - Augmented fire reavers)
 * Thaarak Hounds
 * Troglodyte Convokers
 * Troglodyte Warriors
 * Wildman Mystics
 * Wildman Thralls
 * Dwalni Demonsbane - Optional orange-named wight; always spawns if you read the glyphs in the wrong order
 * Edrassa the Betrayed - Optional orange-named zombie; always spawns if you read the glyphs in the wrong order
 * Hand of Olladra - Optional orange-named wraith; always spawns if you read the glyphs in the wrong order
 * Prince of Swords - Red-named rakshasa; required kill at end fight but not at each glyph
 * Queen Lailat - Purple-named marilith; raid boss
 * Vinaldor the Faithless - Optional orange-named zombie; always spawns if you read the glyphs in the wrong order