#:orcpub.dnd.e5{:classes
                  {:hexblade
                     {nil nil,
                      :ability-increase-levels [4 8 12 16 19],
                      :hit-die 10,
                      :key :hexblade,
                      :level-modifiers
                        [{:type :armor-prof, :value :light}
                         {:type :armor-prof, :value :medium}
                         {:type :armor-prof, :value :shields}
                         {:type :weapon-prof, :value :simple}
                         {:type :weapon-prof, :value :martial}
                         {:level 5, :type :num-attacks, :value 2}],
                      :level-selections [{:level 2, :type :fighting-style}],
                      :name "Hexblade",
                      :option-pack "Hexblade",
                      :profs
                        {:save #:orcpub.dnd.e5.character{:cha true, :wis true},
                         :skill-options
                           {:choose 2,
                            :options
                              {:arcana true,
                               :athletics true,
                               :deception true,
                               :history true,
                               :insight true,
                               :intimidation true,
                               :investigation true,
                               :perception true,
                               :persuasion true}}},
                      :spellcasting
                        {:ability :orcpub.dnd.e5.character/cha,
                         :known-mode :schedule,
                         :level-factor 2,
                         :spell-list
                           {1
                              #{:bane :detect-magic :dissonant-whispers
                                :faerie-fire :find-familiar :hellish-rebuke :hex
                                :identify},
                            2
                              #{:blindness-deafness :heat-metal
                                :ray-of-enfeeblement :silence},
                            3
                              #{:bestow-curse :dispel-magic :magic-circle
                                :nondetection :remove-curse},
                            4
                              #{:dimension-door :freedom-of-movement
                                :hallucinatory-terrain :locate-creature
                                :otilukes-resilient-sphere},
                            5
                              #{:bigbys-hand :legend-lore :planar-binding
                                :telekinesis :wall-of-force}},
                         :spell-list-kw nil,
                         :spells-known
                           {2 2,
                            3 1,
                            5 1,
                            7 1,
                            9 1,
                            11 1,
                            13 1,
                            15 1,
                            17 1,
                            19 1}},
                      :subclass-level 3,
                      :subclass-title "Hexblade Aechetype",
                      :traits
                        [{:description
                            "As an action, you can open your awareness to detect creatures that can use spells or magical abilities. Until the end of your next turn, you know the location of any such creature within 60 feet of you that is not behind total cover. You know the type (such as aberration, fiend, or undead) of any being whose presence you sense, but not its identity (the beholder Thaluul, for example). Within the same radius, you also detect any spells that have been made permanent by repeated applications, such as a magic circle spell. You can use this feature a number of times equal to 1 + your Charisma modifier. When you finish a long rest, you regain all expended uses.",
                          :name "Magic Sense"}
                         {:description
                            "Your touch can grant your allies magical aid as well as disrupt magical effects, making you the bane of enemy spellcasters. You have a pool of d4s equal to your hexblade level that replenish when you take a long rest. As an action, you can touch a willing creature and imbue them with a number of your d4s equal to your Charisma modifier, up to the maximum amount remaining in your pool. Each time that creature makes an attack roll, ability check, or saving throw, they can expend one fortune die and add that result to their roll. Fortune dice last up to 1 minute; beyond this point, any unspent fortune dice are wasted.\nAlternatively, you can use your action to touch a hostile creature and force them to make a Wisdom saving throw against your hexblade spell save DC. On a failure, you can transfer a number of fortune dice equal to your Charisma modifier up to the maximum amount remaining in your pool. Each time that creature makes an attack roll, ability check, or saving throw within the next minute, you expend one of the assigned fortune dice and subtract that result from their roll.\nThis feature has no effect on mindless creatures, such as many undead and constructs.",
                          :name "Hexblade's Fortune"}
                         {:description
                            "Beginning at 2nd level, when you hit a creature with a weapon attack, you can expend a hexblade spell slot to deal psychic damage to the target in addition to the weapon’s damage. The extra damage is 2d8 for a 1st-level spell slot, plus 1d8 for each spell level higher than 1st, to a maximum of 5d8.",
                          :level 2,
                          :name "Hexblade's Strike"}
                         {:description
                            "Beginning at 3rd level, the arcane magic in you makes you immune to magical curses and diseases.",
                          :level 3,
                          :name "Hexblade's Vigor"}
                         {:description
                            "Starting at 6th level, whenever you or a friendly creature within 10 feet of you must make a saving throw, the creature gains a bonus to the saving throw equal to your Charisma m odifier (with a minim um bonus of +1). You must be conscious to grant this bonus.\nAt 18th level, the range of this aura increases to 30 feet",
                          :level 6,
                          :name "Aura of Protection"}
                         {:description
                            "Beginning at 10th level, you and friendly creatures within 10 feet of you can’t be charmed while you are conscious. At 18th level, the range of this aura increases to 30 feet.",
                          :level 10,
                          :name "Aura of Mettle"}
                         {:description
                            "By 11th level, your weapon strikes carry disruptive arcane energy with them. Whenever you hit a creature with a weapon attack, the creature takes an extra 1d8 psychic damage. If you also use your Hexblade’s Strike with an attack, you add this damage to the extra damage of your Hexblade’s Strike.",
                          :level 11,
                          :name "Improved Hexblade's Strike"}
                         {:description
                            "Beginning at 14th level, you can use your action to end one spell on yourself or on one willing creature that you touch.\nYou can use this feature a number of tim es equal to your Charisma m odifier (a minim um o f once). You regain expended uses when you finish a long rest.",
                          :level 14,
                          :name "Cleansing Touch"}]}},
 :subclasses
                  {:battle
                     {:class :hexblade,
                      :key :battle,
                      :level-modifiers
                        [{:level 3,
                          :type :spell,
                          :value {:key :inflict-wounds, :level 1}}
                         {:level 3,
                          :type :spell,
                          :value {:key :wrathful-smite, :level 1}}
                         {:level 5,
                          :type :spell,
                          :value
                            {:ability :cha, :key :branding-smite, :level 2}}
                         {:level 5,
                          :type :spell,
                          :value {:ability :cha, :key :shatter, :level 2}}
                         {:level 9,
                          :type :spell,
                          :value
                            {:ability :cha, :key :blinding-smite, :level 3}}
                         {:level 9,
                          :type :spell,
                          :value
                            {:ability :cha, :key :vampiric-touch, :level 3}}
                         {:level 13,
                          :type :spell,
                          :value
                            {:ability :cha, :key :staggering-smite, :level 4}}
                         {:level 13,
                          :type :spell,
                          :value {:ability :cha, :key :stoneskin, :level 4}}
                         {:level 17,
                          :type :spell,
                          :value
                            {:ability :cha, :key :banishing-smite, :level 5}}
                         {:level 17,
                          :type :spell,
                          :value
                            {:ability :cha,
                             :key :destructive-smite,
                             :level 5}}],
                      :name "Battle",
                      :option-pack "Hexblade",
                      :traits
                        [{:description
                            "When you take this oath at 3rd level, you gain the following two Hexblade’s Curse options:\nCrippling Touch: As an action, you can present your arcane focus and magically weaken an enemy. Choose one creature within 60 feet of you that you can see. That creature must make a Wisdom saving throw. On a failed save, the creature has disadvantage on attack rolls and ability checks for 1 minute or until it takes damage. This does not affect creatures that have immunity to psychic damage. You also gain advantage on Intimidation checks against the creature for the next minute whether it succeeded or failed its saving throw.\nDevastating Strike: When you roll psychic damage, you can use a bonus action to deal maximum damage instead of rolling.",
                          :level 3,
                          :name "Hexblade's Curse"}
                         {:description
                            "Beginning at 7th level, your power lets you and nearby allies to shake off effects that would otherwise stop you in your tracks. You and friendly creatures within 10 feet can’t be stunned while you are conscious. At 18th level, the range of this aura increases to 30 feet.",
                          :level 7,
                          :name "Aura of Fortitude"}
                         {:description
                            "Beginning at 15th level, your weapon attacks deal an additional 1d4 force damage. Any weapons wielded by you count as magical for the purposes of overcoming damage resistances or immunities.",
                          :level 15,
                          :name "Destructive Blade"}
                         {:description
                            "At 20th level, you can become the embodiment of indiscriminate destruction. Your equipment shines with arcane power as you unleash your full martial potential. Using your action, you undergo a transformation. For 1 minute, you gain the following benefits:\nYou gain resistance to bludgeoning, piercing, and slashing damage from nonmagical weapons.\nYour hexblade weapon attacks, spells, and abilities ignore damage resistance (but not immunity).\nWhenever you take damage, you can use your reaction to make a melee attack against a target within 5 feet of you.\nOnce you use this feature, you can’t use it again until you finish a long rest.",
                          :level 20,
                          :name "Paragon of War"}]},
                   :misfortune
                     {:class :hexblade,
                      :key :misfortune,
                      :level-modifiers
                        [{:level 3, :type :spell, :value {:key :bane, :level 1}}
                         {:level 3,
                          :type :spell,
                          :value {:key :tashas-hideous-laughter, :level 1}}
                         {:level 5,
                          :type :spell,
                          :value
                            {:ability :cha, :key :crown-of-madness, :level 2}}
                         {:level 5,
                          :type :spell,
                          :value {:ability :cha, :key :enthrall, :level 2}}
                         {:level 9,
                          :type :spell,
                          :value {:ability :cha, :key :counterspell, :level 3}}
                         {:level 9,
                          :type :spell,
                          :value
                            {:ability :cha, :key :hypnotic-pattern, :level 3}}
                         {:level 13,
                          :type :spell,
                          :value {:ability :cha, :key :confusion, :level 4}}
                         {:level 13,
                          :type :spell,
                          :value
                            {:ability :cha, :key :phantasmal-killer, :level 4}}
                         {:level 17,
                          :type :spell,
                          :value {:ability :cha, :key :mislead, :level 5}}
                         {:level 17,
                          :type :spell,
                          :value
                            {:ability :cha, :key :modify-memory, :level 5}}],
                      :name "Misfortune",
                      :option-pack "Hexblade",
                      :traits
                        [{:description
                            "When you take this oath at 3rd level, you gain the following Hexblade’s Curse options:\nMarking Curse: As bonus action, you can present your arcane focus and curse a creature within 10 feet of you that you can see. You gain advantage on attack rolls against the creature for 1 minute or until it drops to 0 hit points or falls unconscious.\nAura of Unluck: As an action, you present your arcane focus and utter a curse, stripping away nearby creatures’ luck and making them more vulnerable to you. For 1 minute, enemy creatures within 30 feet of you have disadvantage on saving throws against your hexblade spells and abilities.",
                          :level 3,
                          :name "Hexblade's Curse"}
                         {:description
                            "Beginning at 7th level, ancient m agic lies so heavily upon you that it form s an eldritch ward. You and friendly creatures within 10 feet of you have resistance to damage from spells.\nAt 18th level, the range of this aura increases to 30 feet.",
                          :level 7,
                          :name "Aura of Warding"}
                         {:description
                            "Beginning at 15th level, when you are reduced to 0 hit points and are not killed outright, you can choose to drop to 1 hit point instead. Once you use this ability, you can’t use it again until you finish a long rest.",
                          :level 15,
                          :name "Lucky Break"}
                         {:description
                            "At 20th level, you can warp fortune around you, giving yourself extreme luck and stealing it from your foes. As an action, you create a vortex of swirling arcane energy around you. For 1 minute, you gain the following benefits:\nYour Hexblade’s Fortune dice pool is considered full for the duration of this ability. At the end of 1 minute, it goes back to what it was before you activated this feature.\nAt the beginning of each of your turns, you may roll 1d4 and add that result to your Armor Class until the beginning of your next turn.\nEnemy creatures within 30 feet of you have disadvantage on saving throws against your hexblade spells and Hexblade’s Curse options.\nOnce you use this feature, you can’t use it again until you finish a long rest.",
                          :level 20,
                          :name "Champion of Misfortune"}]},
                   :shadow
                     {:class :hexblade,
                      :key :shadow,
                      :level-modifiers
                        [{:level 3,
                          :type :spell,
                          :value {:key :armor-of-agathys, :level 1}}
                         {:level 3,
                          :type :spell,
                          :value {:key :arms-of-hadar, :level 1}}
                         {:level 5,
                          :type :spell,
                          :value {:ability :cha, :key :darkness, :level 2}}
                         {:level 5,
                          :type :spell,
                          :value
                            {:ability :cha, :key :phantasmal-force, :level 2}}
                         {:level 9,
                          :type :spell,
                          :value {:ability :cha, :key :fear, :level 3}}
                         {:level 9,
                          :type :spell,
                          :value
                            {:ability :cha, :key :hunger-of-hadar, :level 3}}
                         {:level 13,
                          :type :spell,
                          :value {:ability :cha, :key :blight, :level 4}}
                         {:level 13,
                          :type :spell,
                          :value
                            {:ability :cha,
                             :key :evards-black-tentacles,
                             :level 4}}
                         {:level 17,
                          :type :spell,
                          :value {:ability :cha, :key :dream, :level 5}}
                         {:level 17,
                          :type :spell,
                          :value {:ability :cha, :key :seeming, :level 5}}],
                      :name "Shadow",
                      :option-pack "Hexblade",
                      :traits
                        [{:description
                            "When you take this oath at 3rd level, you gain the following Hexblade’s Curse options:\nDark Companion: When you cast the spell find familiar, you can expend your Hexblade’s Curse to gain the services of a dark companion. In addition to its normal statistics, the dark companion has a terrifying, shadowy substance and imposes a penalty of -2 on saving throws and AC to adjacent enemy creatures as long as it lasts.\nInvoke Terror: As an action, you can display your arcane focus and force all creatures within a 10-foot cube originating from you to make a Wisdom saving throw. Creatures that fail their saving throw are frightened by you until the end of your next turn.",
                          :level 3,
                          :name "Hexblade's Curse"}
                         {:description
                            "Beginning at 7th level, your power magically frees you and your allies from bonds. You and friendly creatures within 10 feet can’t be restrained while you are conscious. At 18th level, the range of this aura increases to 30 feet.",
                          :level 7,
                          :name "Aura of Avoidance"}
                         {:description
                            "Beginning at 15th level, you can cast the spell darkness at will.",
                          :level 15,
                          :name "Spreader of Shadows"}
                         {:description
                            "At 20th level, you unleash the powers of darkness, transforming into a creature full of shadowstuff and emanating a dark aura. Using your action, you undergo this arcane transformation and gain the following benefits for 1 minute:\nYou emanate an aura of terror and darkness in a 30-foot radius. This aura causes bright light sources within 60 feet of you to emit only dim light and completely dampens light within 30 feet of you. You have the ability to see within this magical darkness.\nThe first time any enemy creature enters the area of complete darkness or starts its turn there during a battle, the creature must succeed on a Wisdom saving throw or becomefrightened of you for 1 minute or until it takes damage. Attack rolls against the frightened creature have advantage.\nEnemy creatures that begin their turn within 30 feet of you take 10 cold damage.\nOnce you use this feature, you can’t use it again until you finish a long rest.",
                          :level 20,
                          :name "One with the Shadows"}]}}}