Warlock

ClassXPHBp. 1522024SRD
Hit die
d8
Primary ability
Charisma
Saving throws
Wisdom, Charisma
Spellcasting
Charisma
Caster progression
pact
Subclass title
Warlock Subclass
Armor
light
Weapons
simple
Skills
choose 2 from arcana, deception, history, intimidation, investigation, nature, religion

Starting equipment

Choose A or B: (A) Leather Armor, Sickle, 2 Daggers, Arcane Focus (orb), Book (occult lore), Scholar's Pack, and 15 GP; or (B) 100 GP

LevelInvocationsCantripsPrepared SpellsSpell SlotsSlot Level
112211
232321
332422
433522
553623
653723
763824
863924
9731025
10741025
11741135
12841135
13841235
14841235
15941335
16941335
17941445
181041445
191041545
201041545

Multiclassing

Proficiencies gained
light

Subclasses

Class features

Raw data
{
  "hd": {
    "faces": 8,
    "number": 1
  },
  "name": "Warlock",
  "page": 152,
  "srd52": true,
  "__prop": "class",
  "source": "XPHB",
  "edition": "one",
  "hasFluff": true,
  "proficiency": [
    "wis",
    "cha"
  ],
  "classFeatures": [
    [
      {
        "name": "Eldritch Invocations",
        "page": 153,
        "type": "entries",
        "level": 1,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You have unearthed Eldritch Invocations, pieces of forbidden knowledge that imbue you with an abiding magical ability or other lessons. You gain one invocation of your choice, such as Pact of the Tome. Invocations are described in the \"{@filter Eldritch Invocation Options|optionalfeatures|feature type=EI|source=XPHB}\" section later in this class's description.",
          {
            "type": "entries",
            "entries": [
              {
                "name": "Prerequisites",
                "type": "entries",
                "entries": [
                  "If an invocation has a prerequisite, you must meet it to learn that invocation. For example, if an invocation requires you to be a level 5+ Warlock, you can select the invocation once you reach Warlock level 5."
                ]
              },
              {
                "name": "Replacing and Gaining Invocations",
                "type": "entries",
                "entries": [
                  "Whenever you gain a Warlock level, you can replace one of your invocations with another one for which you qualify. You can't replace an invocation if it's a prerequisite for another invocation that you have."
                ]
              }
            ]
          },
          "When you gain certain Warlock levels, you gain more invocations of your choice, as shown in the Invocations column of the Warlock Features table.",
          "You can't pick the same invocation more than once unless its description says otherwise."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      },
      {
        "name": "Pact Magic",
        "page": 153,
        "type": "entries",
        "level": 1,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "Through occult ceremony, you have formed a pact with a mysterious entity to gain magical powers. The entity is a voice in the shadowsβ€”its identity unclearβ€”but its boon to you is concrete: the ability to cast spells. See {@book chapter 7|XPHB|7} for the rules on spellcasting. The information below details how you use those rules with Warlock spells, which appear in the {@filter Warlock spell list|spells|class=Warlock} later in the class's description.",
          {
            "type": "entries",
            "entries": [
              {
                "name": "Cantrips",
                "type": "entries",
                "entries": [
                  "You know two Warlock cantrips of your choice. {@spell Eldritch Blast|XPHB} and {@spell Prestidigitation|XPHB} are recommended. Whenever you gain a Warlock level, you can replace one of your cantrips from this feature with another Warlock cantrip of your choice.",
                  "When you reach Warlock levels 4 and 10, you learn another Warlock cantrip of your choice, as shown in the Cantrips column of the Warlock Features table."
                ]
              },
              {
                "name": "Spell Slots",
                "type": "entries",
                "entries": [
                  "The Warlock Features table shows how many spell slots you have to cast your Warlock spells of levels 1–5. The table also shows the level of those slots, all of which are the same level. You regain all expended Pact Magic spell slots when you finish a {@variantrule Short Rest|XPHB|Short} or {@variantrule Long Rest|XPHB}.",
                  "For example, when you're a level 5 Warlock, you have two level 3 spell slots. To cast the level 1 spell {@spell Witch Bolt|XPHB}, you must spend one of those slots, and you cast it as a level 3 spell."
                ]
              },
              {
                "name": "Prepared Spells of Level 1+",
                "type": "entries",
                "entries": [
                  "You prepare the list of level 1+ spells that are available for you to cast with this feature. To start, choose two level 1 Warlock spells. {@spell Charm Person|XPHB} and {@spell Hex|XPHB} are recommended."
                ]
              }
            ]
          },
          "The number of spells on your list increases as you gain Warlock levels, as shown in the Prepared Spells column of the Warlock Features table. Whenever that number increases, choose additional Warlock spells until the number of spells on your list matches the number in the table. The chosen spells must be of a level no higher than what's shown in the table's Slot Level column for your level. When you reach level 6, for example, you learn a new Warlock spell, which can be of levels 1–3.",
          "If another Warlock feature gives you spells that you always have prepared, those spells don't count against the number of spells you can prepare with this feature, but those spells otherwise count as Warlock spells for you.",
          {
            "type": "entries",
            "entries": [
              {
                "name": "Changing Your Prepared Spells",
                "type": "entries",
                "entries": [
                  "Whenever you gain a Warlock level, you can replace one spell on your list with another Warlock spell of an eligible level."
                ]
              },
              {
                "name": "Spellcasting Ability",
                "type": "entries",
                "entries": [
                  "Charisma is the spellcasting ability for your Warlock spells."
                ]
              },
              {
                "name": "Spellcasting Focus",
                "type": "entries",
                "entries": [
                  "You can use an {@item Arcane Focus|XPHB} as a {@variantrule Spellcasting Focus|XPHB} for your Warlock spells."
                ]
              }
            ]
          }
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      },
      {
        "name": "Eldritch Invocation Options",
        "page": 153,
        "type": "entries",
        "level": 1,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "Eldritch Invocation options appear in alphabetical order.",
          {
            "type": "options",
            "count": 1,
            "entries": [
              {
                "name": "Agonizing Blast",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Choose one of your known {@filter Warlock cantrips|spells|level=0|class=Warlock|damage type=acid;bludgeoning;cold;fire;force;lightning;necrotic;piercing;poison;psychic;radiant;slashing;thunder} that deals damage. You can add your Charisma modifier to that spell's damage rolls.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Repeatable",
                        "type": "entries",
                        "entries": [
                          "You can gain this invocation more than once. Each time you do so, choose a different eligible cantrip."
                        ]
                      }
                    ]
                  }
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    },
                    "spell": [
                      {
                        "entry": "a Warlock Cantrip That Deals Damage",
                        "choose": "level=0|class=Warlock",
                        "entrySummary": "Warlock Cantrip That Deals Damage"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Armor of Shadows",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Mage Armor|XPHB} on yourself without expending a spell slot."
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "mage armor|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Ascendant Step",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Levitate|XPHB} on yourself without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "levitate|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Devil's Sight",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can see normally in {@variantrule Dim Light|XPHB} and {@variantrule Darkness|XPHB}β€”both magical and nonmagicalβ€”within 120 feet of yourself."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ]
              },
              {
                "name": "Devouring Blade",
                "page": 155,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "The Extra Attack of your {@optfeature Thirsting Blade|XPHB} invocation confers two extra attacks rather than one."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 12
                    },
                    "optionalfeature": [
                      "thirsting blade|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Eldritch Mind",
                "page": 155,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You have {@variantrule Advantage|XPHB} on Constitution saving throws that you make to maintain {@status Concentration|XPHB}."
                ]
              },
              {
                "name": "Eldritch Smite",
                "page": 155,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Once per turn when you hit a creature with your pact weapon, you can expend a Pact Magic spell slot to deal an extra {@damage 1d8} Force damage to the target, plus another {@dice 1d8} per level of the spell slot, and you can give the target the {@condition Prone|XPHB} condition if it is Huge or smaller."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    },
                    "optionalfeature": [
                      "pact of the blade|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Eldritch Spear",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Choose one of your known {@filter Warlock cantrips|spells|level=0|class=Warlock|damage type=acid;bludgeoning;cold;fire;force;lightning;necrotic;piercing;poison;psychic;radiant;slashing;thunder|range=point} that deals damage and has a range of 10+ feet. When you cast that spell, its range increases by a number of feet equal to 30 times your Warlock level.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Repeatable",
                        "type": "entries",
                        "entries": [
                          "You can gain this invocation more than once. Each time you do so, choose a different eligible cantrip."
                        ]
                      }
                    ]
                  }
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    },
                    "spell": [
                      {
                        "entry": "a Warlock Cantrip That Deals Damage",
                        "choose": "level=0|class=Warlock",
                        "entrySummary": "Warlock Cantrip That Deals Damage"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Fiendish Vigor",
                "page": 155,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell False Life|XPHB} on yourself without expending a spell slot. When you cast the spell with this feature, you don't roll the die for the {@variantrule Temporary Hit Points|XPHB}; you automatically get the highest number on the die."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "false life|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Gaze of Two Minds",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can use a {@variantrule Bonus Action|XPHB} to touch a willing creature and perceive through its senses until the end of your next turn. As long as the creature is on the same plane of existence as you, you can take a {@variantrule Bonus Action|XPHB} on subsequent turns to maintain this connection, extending the duration until the end of your next turn. The connection ends if you don't maintain it in this way.",
                  "While perceiving through the other creature's senses, you benefit from any special senses possessed by that creature, and you can cast spells as if you were in your space or the other creature's space if the two of you are within 60 feet of each other."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    }
                  }
                ]
              },
              {
                "name": "Gift of the Depths",
                "page": 156,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can breathe underwater, and you gain a {@variantrule Swim Speed|XPHB} equal to your {@variantrule Speed|XPHB}.",
                  "You can also cast {@spell Water Breathing|XPHB} once without expending a spell slot. You regain the ability to cast it in this way again when you finish a {@variantrule Long Rest|XPHB}."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": {
                        "daily": {
                          "1e": [
                            "water breathing|xphb"
                          ]
                        }
                      }
                    }
                  }
                ]
              },
              {
                "name": "Gift of the Protectors",
                "page": 156,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "A new page appears in your Book of Shadows when you conjure it. With your permission, a creature can take an action to write its name on that page, which can contain a number of names equal to your Charisma modifier (minimum of one name).",
                  "When any creature whose name is on the page is reduced to 0 {@variantrule Hit Points|XPHB} but not killed outright, the creature magically drops to 1 {@variantrule Hit Points|XPHB|Hit Point} instead. Once this magic is triggered, no creature can benefit from it until you finish a {@variantrule Long Rest|XPHB}.",
                  "As a {@action Magic|XPHB} action, you can erase a name on the page by touching it."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 9
                    },
                    "optionalfeature": [
                      "pact of the tome|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Investment of the Chain Master",
                "page": 156,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "When you cast {@spell Find Familiar|XPHB}, you infuse the summoned familiar with a measure of your eldritch power, granting the creature the following benefits.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Aerial or Aquatic",
                        "type": "entries",
                        "entries": [
                          "The familiar gains either a {@variantrule Fly Speed|XPHB} or a {@variantrule Swim Speed|XPHB} (your choice) of 40 feet."
                        ]
                      },
                      {
                        "name": "Quick Attack",
                        "type": "entries",
                        "entries": [
                          "As a {@variantrule Bonus Action|XPHB}, you can command the familiar to take the {@action Attack|XPHB} action."
                        ]
                      },
                      {
                        "name": "Necrotic or Radiant Damage",
                        "type": "entries",
                        "entries": [
                          "Whenever the familiar deals Bludgeoning, Piercing, or Slashing damage, you can make it deal Necrotic or Radiant damage instead."
                        ]
                      },
                      {
                        "name": "Your Save DC",
                        "type": "entries",
                        "entries": [
                          "If the familiar forces a creature to make a saving throw, it uses your spell save DC."
                        ]
                      },
                      {
                        "name": "Resistance",
                        "type": "entries",
                        "entries": [
                          "When the familiar takes damage, you can take a {@variantrule Reaction|XPHB} to grant it {@variantrule Resistance|XPHB} against that damage."
                        ]
                      }
                    ]
                  }
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    },
                    "optionalfeature": [
                      "pact of the chain|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Lessons of the First Ones",
                "page": 156,
                "type": "entries",
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You have received knowledge from an elder entity of the multiverse, allowing you to gain one {@filter Origin feat|feats|category=o} of your choice.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Repeatable",
                        "type": "entries",
                        "entries": [
                          "You can gain this invocation more than once. Each time you do so, choose a different Origin feat."
                        ]
                      }
                    ]
                  }
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ],
                "featProgression": [
                  {
                    "name": "Origin Feat",
                    "category": [
                      "O"
                    ],
                    "progression": {
                      "*": 1
                    }
                  }
                ]
              },
              {
                "name": "Lifedrinker",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Once per turn when you hit a creature with your pact weapon, you can deal an extra {@damage 1d6} Necrotic, Psychic, or Radiant damage (your choice) to the creature, and you can expend one of your {@variantrule Hit Point Dice|XPHB} to roll it and regain a number of {@variantrule Hit Points|XPHB} equal to the roll plus your Constitution modifier (minimum of 1 {@variantrule Hit Points|XPHB|Hit Point})."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 9
                    },
                    "optionalfeature": [
                      "pact of the blade|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Mask of Many Faces",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Disguise Self|XPHB} without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "disguise self|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Master of Myriad Forms",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Alter Self|XPHB} without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "alter self|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Misty Visions",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Silent Image|XPHB} without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "silent image|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "One with Shadows",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "While you're in an area of {@variantrule Dim Light|XPHB} or {@variantrule Darkness|XPHB}, you can cast {@spell Invisibility|XPHB} on yourself without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "invisibility|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Otherworldly Leap",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Jump|XPHB} on yourself without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "jump|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Pact of the Blade",
                "page": 156,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "As a {@variantrule Bonus Action|XPHB}, you can conjure a pact weapon in your handβ€”a Simple or Martial Melee weapon of your choice with which you bondβ€”or create a bond with a magic weapon you touch; you can't bond with a magic weapon if someone else is attuned to it or another Warlock is bonded with it. Until the bond ends, you have proficiency with the weapon, and you can use it as a {@variantrule Spellcasting Focus|XPHB}.",
                  "Whenever you attack with the bonded weapon, you can use your Charisma modifier for the attack and damage rolls instead of using Strength or Dexterity; and you can cause the weapon to deal Necrotic, Psychic, or Radiant damage or its normal damage type.",
                  "Your bond with the weapon ends if you use this feature's {@variantrule Bonus Action|XPHB} again, if the weapon is more than 5 feet away from you for 1 minute or more, or if you die. A conjured weapon disappears when the bond ends."
                ]
              },
              {
                "name": "Pact of the Chain",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You learn the {@spell Find Familiar|XPHB} spell and can cast it as a {@action Magic|XPHB} action without expending a spell slot.",
                  "When you cast the spell, you choose one of the normal forms for your familiar or one of the following special forms: {@creature Imp|XMM}, {@creature Pseudodragon|XMM}, {@creature Quasit|XMM}, {@creature Skeleton|XMM}, {@creature Slaad Tadpole|XMM}, {@creature Sphinx of Wonder|XMM}, {@creature Sprite|XMM}, or {@creature Venomous Snake|XMM} (see appendix B for the familiar's stat block).",
                  "Additionally, when you take the {@action Attack|XPHB} action, you can forgo one of your own attacks to allow your familiar to make one attack of its own with its {@variantrule Reaction|XPHB}."
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": {
                        "ritual": [
                          "find familiar|xphb"
                        ]
                      }
                    },
                    "ability": "cha"
                  }
                ]
              },
              {
                "name": "Pact of the Tome",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Stitching together strands of shadow, you conjure forth a book in your hand at the end of a {@variantrule Short Rest|XPHB|Short} or {@variantrule Long Rest|XPHB}. This Book of Shadows (you determine its appearance) contains eldritch magic that only you can access, granting you the benefits below. The book disappears if you conjure another book with this feature or if you die.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Cantrips and Rituals",
                        "type": "entries",
                        "entries": [
                          "When the book appears, choose three {@filter cantrips|spells|level=0}, and choose two {@filter level 1 spells|spells|level=1|components & miscellaneous=ritual} that have the {@variantrule Ritual|XPHB} tag. The spells can be from any class's spell list, and they must be spells you don't already have prepared. While the book is on your person, you have the chosen spells prepared, and they function as Warlock spells for you."
                        ]
                      },
                      {
                        "name": "Spellcasting Focus",
                        "type": "entries",
                        "entries": [
                          "You can use the book as a {@variantrule Spellcasting Focus|XPHB}."
                        ]
                      }
                    ]
                  }
                ],
                "additionalSpells": [
                  {
                    "known": {
                      "_": [
                        {
                          "count": 3,
                          "choose": "level=0"
                        }
                      ]
                    },
                    "ability": "cha",
                    "prepared": {
                      "_": [
                        {
                          "count": 2,
                          "choose": "level=1|components & miscellaneous=ritual"
                        }
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Repelling Blast",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "Choose one of your known {@filter Warlock cantrips|spells|level=0|class=Warlock|spell attack=m;r;o} that requires an attack roll. When you hit a Large or smaller creature with that cantrip, you can push the creature up to 10 feet straight away from you.",
                  {
                    "type": "entries",
                    "entries": [
                      {
                        "name": "Repeatable",
                        "type": "entries",
                        "entries": [
                          "You can gain this invocation more than once. Each time you do so, choose a different eligible cantrip."
                        ]
                      }
                    ]
                  }
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 2
                    },
                    "spell": [
                      {
                        "entry": "a Warlock Cantrip That Deals Damage via an Attack Roll",
                        "choose": "level=0|class=Warlock|spell attack=m;r;o",
                        "entrySummary": "Warlock Cantrip That Deals Damage via an Attack Roll"
                      }
                    ]
                  }
                ]
              },
              {
                "name": "Thirsting Blade",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You gain the Extra Attack feature for your pact weapon only. With that feature, you can attack twice with the weapon instead of once when you take the {@action Attack|XPHB} action on your turn."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 5
                    },
                    "optionalfeature": [
                      "pact of the blade|xphb"
                    ]
                  }
                ]
              },
              {
                "name": "Visions of Distant Realms",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Arcane Eye|XPHB} without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 9
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "arcane eye|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Whispers of the Grave",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "source": "XPHB",
                "entries": [
                  "You can cast {@spell Speak with Dead|XPHB} without expending a spell slot."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 7
                    }
                  }
                ],
                "additionalSpells": [
                  {
                    "innate": {
                      "_": [
                        "speak with dead|xphb"
                      ]
                    }
                  }
                ]
              },
              {
                "name": "Witch Sight",
                "page": 157,
                "type": "entries",
                "srd52": true,
                "__prop": "optionalfeature",
                "senses": [
                  {
                    "truesight": 30
                  }
                ],
                "source": "XPHB",
                "entries": [
                  "You have {@sense Truesight|XPHB} with a range of 30 feet."
                ],
                "prerequisite": [
                  {
                    "level": {
                      "class": {
                        "name": "Warlock",
                        "source": "XPHB",
                        "visibleStats": true
                      },
                      "level": 15
                    }
                  }
                ]
              }
            ]
          }
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Magical Cunning",
        "page": 154,
        "type": "entries",
        "level": 2,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You can perform an esoteric rite for 1 minute. At the end of it, you regain expended Pact Magic spell slots but no more than a number equal to half your maximum (round up). Once you use this feature, you can't do so again until you finish a {@variantrule Long Rest|XPHB}."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Warlock Subclass",
        "page": 154,
        "type": "entries",
        "level": 3,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a Warlock subclass of your choice. A subclass is a specialization that grants you features at certain Warlock levels. For the rest of your career, you gain each of your subclass's features that are of your Warlock level or lower."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true,
        "gainSubclassFeature": true
      }
    ],
    [
      {
        "name": "Ability Score Improvement",
        "page": 155,
        "type": "entries",
        "level": 4,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain the {@feat Ability Score Improvement|XPHB} feat or another {@5etools feat|feats.html} of your choice for which you qualify. You gain this feature again at Warlock levels 8, 12, and 16."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [],
    [
      {
        "name": "Subclass Feature",
        "page": 155,
        "type": "entries",
        "level": 6,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a feature from your Warlock subclass."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true,
        "gainSubclassFeature": true
      }
    ],
    [],
    [
      {
        "name": "Ability Score Improvement",
        "page": 155,
        "type": "entries",
        "level": 8,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain the {@feat Ability Score Improvement|XPHB} Feat or another {@5etools feat|feats.html} of your choice for which you qualify."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Contact Patron",
        "page": 155,
        "type": "entries",
        "level": 9,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "In the past, you usually contacted your patron through intermediaries. Now you can communicate directly; you always have the {@spell Contact Other Plane|XPHB} spell prepared. With this feature, you can cast the spell without expending a spell slot to contact your patron, and you automatically succeed on the spell's saving throw.",
          "Once you cast the spell with this feature, you can't do so in this way again until you finish a {@variantrule Long Rest|XPHB}."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Subclass Feature",
        "page": 155,
        "type": "entries",
        "level": 10,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a feature from your Warlock subclass."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true,
        "gainSubclassFeature": true
      }
    ],
    [
      {
        "name": "Mystic Arcanum",
        "page": 155,
        "type": "entries",
        "level": 11,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "Your patron grants you a magical secret called an arcanum. Choose one level 6 Warlock spell as this arcanum.",
          "You can cast your arcanum spell once without expending a spell slot, and you must finish a {@variantrule Long Rest|XPHB} before you can cast it in this way again.",
          "As shown in the Warlock Features table, you gain another Warlock spell of your choice that can be cast in this way when you reach Warlock levels 13 (level 7 spell), 15 (level 8 spell), and 17 (level 9 spell). You regain all uses of your Mystic Arcanum when you finish a {@variantrule Long Rest|XPHB}.",
          "Whenever you gain a Warlock level, you can replace one of your arcanum spells with another Warlock spell of the same level."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Ability Score Improvement",
        "page": 155,
        "type": "entries",
        "level": 12,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain the {@feat Ability Score Improvement|XPHB} Feat or another {@5etools feat|feats.html} of your choice for which you qualify."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Mystic Arcanum",
        "page": 155,
        "type": "entries",
        "level": 13,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a level 7 Warlock Spell of your choice."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Subclass Feature",
        "page": 155,
        "type": "entries",
        "level": 14,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a feature from your Warlock subclass."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true,
        "gainSubclassFeature": true
      }
    ],
    [
      {
        "name": "Mystic Arcanum",
        "page": 155,
        "type": "entries",
        "level": 15,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a level 8 Warlock Spell of your choice."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Ability Score Improvement",
        "page": 155,
        "type": "entries",
        "level": 16,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain the {@feat Ability Score Improvement|XPHB} Feat or another {@5etools feat|feats.html} of your choice for which you qualify."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Mystic Arcanum",
        "page": 155,
        "type": "entries",
        "level": 17,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain a level 9 Warlock Spell of your choice."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [],
    [
      {
        "name": "Epic Boon",
        "page": 155,
        "type": "entries",
        "level": 19,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "You gain an {@filter Epic Boon feat|feats|category=EB} or another {@5etools feat|feats.html} of your choice for which you qualify. {@feat Boon of Fate|XPHB} is recommended."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ],
    [
      {
        "name": "Eldritch Master",
        "page": 155,
        "type": "entries",
        "level": 20,
        "srd52": true,
        "__prop": "classFeature",
        "source": "XPHB",
        "entries": [
          "When you use your Magical Cunning feature, you regain all your expended Pact Magic spell slots."
        ],
        "className": "Warlock",
        "classSource": "XPHB",
        "basicRules2024": true
      }
    ]
  ],
  "multiclassing": {
    "proficienciesGained": {
      "armor": [
        "light"
      ]
    }
  },
  "subclassTitle": "Warlock Subclass",
  "basicRules2024": true,
  "hasFluffImages": true,
  "primaryAbility": [
    {
      "cha": true
    }
  ],
  "featProgression": [
    {
      "name": "Epic Boon",
      "category": [
        "EB"
      ],
      "progression": {
        "19": 1
      }
    }
  ],
  "additionalSpells": [
    {
      "prepared": {
        "9": [
          "contact other plane|xphb"
        ]
      }
    }
  ],
  "classTableGroups": [
    {
      "rows": [
        [
          1,
          2,
          2,
          1,
          1
        ],
        [
          3,
          2,
          3,
          2,
          1
        ],
        [
          3,
          2,
          4,
          2,
          2
        ],
        [
          3,
          3,
          5,
          2,
          2
        ],
        [
          5,
          3,
          6,
          2,
          3
        ],
        [
          5,
          3,
          7,
          2,
          3
        ],
        [
          6,
          3,
          8,
          2,
          4
        ],
        [
          6,
          3,
          9,
          2,
          4
        ],
        [
          7,
          3,
          10,
          2,
          5
        ],
        [
          7,
          4,
          10,
          2,
          5
        ],
        [
          7,
          4,
          11,
          3,
          5
        ],
        [
          8,
          4,
          11,
          3,
          5
        ],
        [
          8,
          4,
          12,
          3,
          5
        ],
        [
          8,
          4,
          12,
          3,
          5
        ],
        [
          9,
          4,
          13,
          3,
          5
        ],
        [
          9,
          4,
          13,
          3,
          5
        ],
        [
          9,
          4,
          14,
          4,
          5
        ],
        [
          10,
          4,
          14,
          4,
          5
        ],
        [
          10,
          4,
          15,
          4,
          5
        ],
        [
          10,
          4,
          15,
          4,
          5
        ]
      ],
      "colLabels": [
        "{@filter Invocations|optionalfeatures|feature type=ei}",
        "{@filter Cantrips|spells|level=0|class=Warlock}",
        "{@filter Prepared Spells|spells|level=!0|class=Warlock}",
        "Spell Slots",
        "Slot Level"
      ]
    }
  ],
  "casterProgression": "pact",
  "startingEquipment": {
    "entries": [
      "{@i Choose A or B:} (A) {@item Leather Armor|XPHB}, {@item Sickle|XPHB}, 2 {@item Dagger|XPHB|Daggers}, {@item Arcane Focus|XPHB} ({@item orb|XPHB}), {@item Book|XPHB} (occult lore), {@item Scholar's Pack|XPHB}, and 15 GP; or (B) 100 GP"
    ],
    "defaultData": [
      {
        "A": [
          {
            "item": "leather armor|xphb"
          },
          {
            "item": "sickle|xphb"
          },
          {
            "item": "dagger|xphb",
            "quantity": 2
          },
          {
            "item": "orb|xphb"
          },
          {
            "item": "book|xphb"
          },
          {
            "item": "scholar's pack|xphb"
          },
          {
            "value": 1500
          }
        ],
        "B": [
          {
            "value": 10000
          }
        ]
      }
    ],
    "additionalFromBackground": true
  },
  "cantripProgression": [
    2,
    2,
    2,
    3,
    3,
    3,
    3,
    3,
    3,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4,
    4
  ],
  "spellcastingAbility": "cha",
  "preparedSpellsChange": "level",
  "startingProficiencies": {
    "armor": [
      "light"
    ],
    "skills": [
      {
        "choose": {
          "from": [
            "arcana",
            "deception",
            "history",
            "intimidation",
            "investigation",
            "nature",
            "religion"
          ],
          "count": 2
        }
      }
    ],
    "weapons": [
      "simple"
    ]
  },
  "preparedSpellsProgression": [
    2,
    3,
    4,
    5,
    6,
    7,
    8,
    9,
    10,
    10,
    11,
    11,
    12,
    12,
    13,
    13,
    14,
    14,
    15,
    15
  ],
  "optionalfeatureProgression": [
    {
      "name": "Eldritch Invocations",
      "featureType": [
        "EI"
      ],
      "progression": [
        1,
        3,
        3,
        3,
        5,
        5,
        6,
        6,
        7,
        7,
        7,
        8,
        8,
        8,
        9,
        9,
        9,
        10,
        10,
        10
      ]
    }
  ],
  "spellsKnownProgressionFixedByLevel": {
    "11": {
      "6": 1
    },
    "13": {
      "7": 1
    },
    "15": {
      "8": 1
    },
    "17": {
      "9": 1
    }
  }
}