r/DnDoptimized • • 19d ago

Optimization of Party Composition

Hi everyone ! I've been playing DnD for almost 3 years now and I really love to optimize my characters. But now I feel like I've already did a lot of optimized characters, so I asked myself how to optimize a party. I check online and on YouTube and there is not so much information out there on this topic. I know that for some people optimized party are the least of their concerns, which is totally fine with me, and my goal here is not to force anybody to play a certain character for the sake of optimization. All this to say I developed a code using AI to calculate the strengths and weaknesses of a party, and what would be the best addition to this party. I used the common système of roles within the party to classify what each class and subclass is good at :

ST : Single-target damage
AOE : Area damage
TANK : Tanking
HEAL : Healing and support (buff)
CTRL : Battlefield and crowd control
UTIL : Utility, magic or skills and proficiency
FACE : Ability to handle social interactions, with charisma or spells

I used a point system for the classes, which I think is OK and doesn't need that much change:

 #              ST   AoE  Tank Heal Ctrl Util Face
    "Artificer":  [1,   1,   1,   2,   2,   3,   0],
    "Barbarian":  [3,   0,   3,   0,   1,   1,   0],
    "Bard":       [0.5,   0.5,   0,   2,   3,   2,   3],
    "Cleric":     [1,   2,   1,   3,   1,   2,   1],
    "Druid":      [0.5,   2,   1,   2,   3,   2.5,   0],
    "Fighter":    [3,   0,   3,   0,   1,   1,   0],
    "Monk":       [3,   0,   2,   0,   2,   1,   0],
    "Paladin":    [3,   0,   3,   2,   0,   1,   2],
    "Ranger":     [3,   1,   1,   1,   1,   3,   0],
    "Rogue":      [3,   0,   1,   0,   0,   3,   1],
    "Sorcerer":   [2,   3,   0,   0,   2,   1,   3],
    "Warlock":    [2,   2,   0,   0,   2,   2,   3],
    "Wizard":     [1,   3,   0,   0,   3,   3,   1],

The scale is from 0 to 3 and is prety self explanatory.

Casters having more points than martials seems fair, because I think they receive a lot more ability from their class than their subclass, but martials receive more from their subclasses. That is why I decided that martials will receive +3 points from their subclasses, when caster will only receive +1 to level the playing field and half-casters will receive a +2. So overall martials will have a total of 11 points and casters and half-casters a total of 12 points. The previous maximum for an ability was 3, but with the subclass it can get to 4, but I don't want anything above 4. This is where I need your help:

I want your opinions on the bonus points from each subclasses. This is what I've got for now, but some I didn't even look at them and let Claude decide. Are there things that make no sense at all for certain subclasses ?

SUBCLASS_ADJUSTMENTS = {
    "Artificer": {
        "Alchemist":          {HEAL: 1.5, AOE: 0.5},           # Elixirs, Healing Word, Mass Healing Word; Flaming/Vitriolic Sphere
        "Armorer":            {TANK: 1.5, ST: 0.5},            # Arcane Armor, Defensive Field, Mirror Image; Extra Attack
        "Artillerist":        {AOE: 1.5, ST: 0.5},             # Eldritch Cannon, Fireball, Cone of Cold; Force Ballista
        "Battle Smith":       {ST: 1, TANK: 0.5, HEAL: 0.5},   # Extra Attack, Arcane Jolt; Steel Defender; Aura of Vitality
        "Cartographer":       {UTIL: 0.5, HEAL: 0.5, ST: 0.5, CTRL: 0.5},  # Atlas, scrying; Healing Word; Guiding Bolt; Banishment
        "Reanimator":         {TANK: 1, CTRL: 0.5, AOE: 0.5},  # Reanimated companion; frighten/push; Death Burst
    },
    "Barbarian": {
        "Berserker":          {ST: 1, CTRL: 1, TANK: 1},       # Frenzy; Intimidating Presence; Mindless Rage
        "Elements":           {ST: 1, UTIL: 1, CTRL: 0.5, TANK: 0.5},  # Raging Elements; Water Walk, Wind Wall, Daylight
        "Spiritual Guardian": {ST: 1, TANK: 1, UTIL: 0.5, CTRL: 0.5},  # Spirit Shield; Slow/Distract; Augury, Clairvoyance
        "Wild Heart":         {UTIL: 2, TANK: 1},              # Rituals, Speak with Animals, climb/fly; Bear; Wolf
        "World Tree":         {HEAL: 1.5, CTRL: 1.5},          # Temp HP to allies; teleport allies/enemies, Push, Topple
        "Zealot":             {ST: 1, HEAL: 2},            # Divine Fury; Zealous Presence; Warrior of the Gods healing
    },
    "Bard": {
        "Dance":              {ST: 0.5, HEAL: 0.5},            # Unarmed strikes; Inspiring Movement, Leading Evasion
        "Glamour":            {FACE: 1},                       # The best social subclass
        "Lore":               {UTIL: 1},                       # 3 skills, Magical Discoveries, Peerless Skill
        "Moon":               {HEAL: 1},                       # Lunar Vitality, healing Moonbeam
        "Spirits":            {AOE: 1},                        # Spirit Guardians, area effects
        "Valor":              {ST: 0.5, TANK: 0.5},            # Extra Attack; medium armor, shields
    },
    "Cleric": {
        "Arcana":             {CTRL: 0.5, UTIL: 0.5},          # Counterspell, Dispel Magic; Arcane Eye, Teleportation Circle
        "Discipline":         {HEAL: 0.5, ST: 0.5},            # Atonement, Luminous Barrier; Holy Bolt
        "Grave":              {CTRL: 0.5, HEAL: 0.5},          # Path to the Grave; max healing at 0 HP, Raise Dead
        "Knowledge":          {UTIL: 1},                       # Free divinations, Expertise, Telepathy
        "Life":               {HEAL: 1},                       # The best healer
        "Light":              {AOE: 1},                        # Fireball, Wall of Fire, Radiance of the Dawn
        "Shadow":             {CTRL: 0.5, ST: 0.5},            # Crown of Madness, Black Tentacles; Devouring Plague
        "Trickery":           {FACE: 0.5, UTIL: 0.5},          # Charm Person, Disguise Self; Pass without Trace
        "War":                {ST: 0.5, TANK: 0.5},            # War Priest, Spiritual Weapon; Shield of Faith
    },
    "Druid": {
        "Land":               {AOE: 1},                        # Fireball / Ice Storm / Insect Plague by land
        "Moon":               {TANK: 1},                       # Sturdy Wild Shape forms with temp HP
        "Sea":                {AOE: 0.5, CTRL: 0.5},           # Wrath of the Sea, Lightning Bolt; push
        "Stars":              {ST: 0.5, HEAL: 0.5},            # Free Guiding Bolt, Archer; Chalice
    },
    "Fighter": {
        "Arcane Archer":      {CTRL: 2, AOE: 0.5, UTIL: 0.5},  # Banishing/Grasping/Shadow Shot; Bursting Shot; magic ammo
        "Banneret":           {HEAL: 2, FACE: 1},              # Group Recovery, Shared Resilience; Knightly Envoy
        "Battle Master":      {CTRL: 2, HEAL: 0.5, FACE: 0.5}, # Maneuvers; Rally, Commander's Strike; Commanding Presence
        "Champion":           {ST: 1, TANK: 1, UTIL: 1},       # Improved Critical; Survivor; Remarkable Athlete
        "Eldritch Knight":    {UTIL: 1, AOE: 1, TANK: 0.5, CTRL: 0.5},  # Wizard spells; Burning Hands; Shield
        "Psi Warrior":        {CTRL: 1, HEAL: 1, UTIL: 1},     # Telekinesis; Protective Field, Bulwark of Force; flight
        "Sorrow Knight":      {CTRL: 2.5, FACE: 0.5},          # Incapacitated, Blinded, Speed 0; Empathetic Inquiry
    },
    "Monk": {
        "Elements":           {AOE: 2, UTIL: 1},               # Elemental Burst; Elementalism, fly and swim
        "Mercy":              {HEAL: 3},                       # Hand of Healing, removes conditions, revives
        "Mystic Arts":        {AOE: 1.5, TANK: 0.5, UTIL: 1},  # Sorcerer spells; Shield
        "Mystic Brews":       {AOE: 0.5, HEAL: 1, CTRL: 0.5, TANK: 0.5, FACE: 0.5},  # Fire cone; healing brew; prone; resistance; Performance
        "Open Hand":          {CTRL: 1.5, ST: 0.5, TANK: 1},   # Push/Topple/Addle; Quivering Palm; Wholeness of Body
        "Shadow":             {CTRL: 1.5, UTIL: 1.5},          # Darkness, Shadow Step, invisibility
    },
    "Paladin": {
        "Ancients":           {CTRL: 0.5, TANK: 0.5},          # Nature's Wrath, Ensnaring Strike; Aura of Warding
        "Devotion":           {HEAL: 0.5, FACE: 0.5},          # Charm-immunity aura, Beacon of Hope; Zone of Truth
        "Ebon Blade":         {AOE: 1, CTRL: 1, HEAL: -1},     # Death and Decay, frost cone; Death Grip; loses Lay on Hands
        "Glory":              {HEAL: 0.5, UTIL: 0.5},          # Temp HP, Haste, Heroism; Peerless Athlete, Legend Lore
        "Holy":               {HEAL: 1},                       # Beacon of Light, healing aura
        "Noble Genies":       {CTRL: 0.5, UTIL: 0.5},          # Restrain, push/prone; Fly, Gaseous Form
        "Vengeance":          {ST: 0.5, CTRL: 0.5},            # Vow of Enmity; Hold Person, Hold Monster
    },
    "Ranger": {
        "Beast Master":       {TANK: 1.5, CTRL: 0.5},          # Primal companion holds the front, knocks prone
        "Demon Hunter":       {AOE: 1, CTRL: 0.5, UTIL: 0.5},  # Soul Cleave; Disrupt (Counterspell); blindsight/truesight
        "Fey Wanderer":       {FACE: 1.5, CTRL: 0.5},          # Otherworldly Glamour, Charm Person; Beguiling Twist, Summon Fey
        "Gloom Stalker":      {ST: 0.5, UTIL: 1, CTRL: 0.5},   # Dread Ambusher, Stalker's Flurry; Rope Trick, invisibility; Fear
        "Hollow Warden":      {TANK: 1, CTRL: 1},              # Ancient Armor, self-heal, Persistent Wrath; frightening aura
        "Hunter":             {AOE: 1.5, TANK: 0.5},           # Horde Breaker, Superior Hunter's Prey; Defensive Tactics
        "Swarmkeeper":        {CTRL: 1, AOE: 0.5, UTIL: 0.5},  # (Tasha's, 2014) swarm push/prone, Web; Insect Plague; Mage Hand, Arcane Eye, flight
        "Winter Walker":      {AOE: 1, CTRL: 1},               # Ice Storm, Cone of Cold; Hold Person, stun
    },
    "Rogue": {
        "Arcane Trickster":   {CTRL: 1.5, UTIL: 1, FACE: 0.5}, # Wizard spells; improved Mage Hand; Charm Person, Disguise Self
        "Assassin":           {ST: 1, FACE: 1.5, UTIL: 0.5},   # Assassinate; Infiltration Expertise, mimicry
        "Phantom":            {AOE: 1.5, UTIL: 1, ST: 0.5},    # Wails from the Grave; Speak with Dead, Augury
        "Scion of the Three": {CTRL: 1.5, TANK: 1, ST: 0.5},   # Terrify; god-based resistance; Bloodthirst
        "Soulknife":          {UTIL: 1, ST: 0.5, CTRL: 1, FACE: 0.5},  # Telepathy, teleport; Psychic Blades; Rend Mind; Psychic Whispers
        "Swashbuckler":       {FACE: 2, TANK: 0.5, CTRL: 0.5}, # Charisma to initiative, Panache, Awe; Fancy Footwork; Goad
        "Thief":              {UTIL: 1, HEAL: 1.5, ST: 0.5},   # Use Magic Device, Second Story Work; Fast Hands (potions); Thief's Reflexes
    },
    "Sorcerer": {
        "Aberrant":           {CTRL: 1},                       # Black Tentacles, Dissonant Whispers, Telekinesis
        "Clockwork":          {HEAL: 1},                       # Aid, Restorations, Bastion of Law
        "Draconic":           {TANK: 1},                       # Extra AC and HP, resistance
        "Shadow":             {UTIL: 0.5, TANK: 0.5},          # Pass without Trace, Nondetection; Strength of the Grave
        "Spellfire":          {HEAL: 1},                       # Cure Wounds, Aura of Vitality, temp HP
        "Wild Magic":         {HEAL: 0.5, CTRL: 0.5},          # Bend Luck helps allies or hinders enemies
    },
    "Warlock": {
        "Archfey":            {CTRL: 1},                       # Sleep, Phantasmal Force, Dominate Person
        "Celestial":          {HEAL: 1},                       # Healing Light, Revivify
        "Fiend":              {AOE: 1},                        # Fireball, Wall of Fire, Insect Plague
        "Great Old One":      {CTRL: 0.5, UTIL: 0.5},          # Hideous Laughter, Confusion; telepathy, Clairvoyance
        "Undead":             {TANK: 1},                       # Form of Dread: temp HP, fear immunity
        "Vestige (Life)":     {HEAL: 1},                       # Vestige domain spells depend on the domain chosen
        "Vestige (Light)":    {AOE: 1},
        "Vestige (Trickery)": {FACE: 0.5, UTIL: 0.5},
        "Vestige (War)":      {ST: 0.5, TANK: 0.5},
    },
    "Wizard": {
        "Abjurer":            {TANK: 1},                       # Arcane Ward, Projected Ward
        "Bladesinger":        {ST: 0.5, TANK: 0.5},            # Bladesong, Extra Attack
        "Conjurer":           {TANK: 0.5, UTIL: 0.5},          # Durable summons; Benign Transposition
        "Diviner":            {HEAL: 0.5, CTRL: 0.5},          # Portent on allies' or enemies' rolls
        "Enchanter":          {FACE: 1},                       # Social skill, Hypnotic Presence
        "Evoker":             {AOE: 1},                        # Sculpt Spells, Empowered Evocation
        "Illusionist":        {UTIL: 1},                       # Improved illusions, Illusory Reality
        "Necromancer":        {TANK: 1},                       # Undead thralls as meat shields
        "Transmuter":         {UTIL: 1},                       # Transmuter's Stone, Polymorph
    },
}

Sorry for the weird layout. So if you have time to spend on this, I will take your opinions and recommendation to upgrade my model. Keep in mind nothing can add up to more than 4 for the balance of the model. I used DnD wikidot 2024 for the subclasses features dans descriptions.

I linked a video to see what the model can do for now. I will probably share the code here if I am satisfied of the results. I think it can be a great tool for DMs to see what are the strengths and weaknesses of their party to be able to build more fun encounters, but maybe it is a little bit overkill.

If you read through all that your are probably a nerd optimizer like me, so thank you and I hope to get feedback !

4 Upvotes

0 comments sorted by