Difference between revisions of "Upbringing"

From Wildermyth Wiki
(Funny how the first version consisted mostly of things I wrote on Discord while evaluating data, put here without any context or explanation)
Line 1: Line 1:
The Upbringing adds permanent bonus stats on your new heroes, making each unique. Rolling new heroes will scroll through all unique heroes, eventually giving out heroes with high stats in single categories that could make your playthrough easier.
[[File:Example upbringing.png|frame|right|Example upbringing showing the generated backstory, hooks, and bonus stats]]
'''Upbringing''' is a permanent, unchangeable attribute that is randomly generated for every hero. The upbringing is responsible for defining permanent stat bonuses, the hero's [[Hook|hooks]], and the automatically generated backstory. This system is intended to make every encountered hero unique.


=== Upbringing Stats ===
On a technical level, the upbringing consists of an ''origin'', an ''anecdote'' ("dote" for short), and a ''motivation'' ("mote" for short). Each of those parts comes with a defined hook, history tags (defining aspects of the character's backstory, e.g. eccentric, criminal, happy childhood), [[Stat#Personality_Stats|personality stats]] (e.g. leader, flirt, hothead), and [[Stat#Combat-Relevant_Stats|combat- and campaign-relevant stats]] (e.g. health, melee accuracy, charisma). Heroes that are generated as children ([[Chapter#Tidings|joining the party during an interval as they reach adventuring age]]) have their own separate set of origins, meaning that the probabilities for obtaining certain hooks or desired stat combinations is different. Also, a bonus for armor, stunt chance, and/or bonus damage can only be obtained with such a child origin. The game will not allow combinations that would result in duplicates of the same hook. For instance, if a hero is generated with an origin that comes with the Wildheart hook, it is not possible for that hero to have a dote or mote that would also come with the Wildheart hook. In addition, most of the upbringing parts come with so-called forbidden aspects, further making many origin/dote/mote combinations impossible.
It's a weighted system. Each stat has a base value for each section. The value that is assigned in each history section is that value divided by the number of stat boosts you are receiving for that entry.


Example: A child with a maximum potency (0.6) has either 0 or 0.4 speed.
This upbringing system results in 1,035,914 unique "regular" hero upbringings and 212,310 unique possible upbringings for children.


To clarify: if you get a maximum potency (0.6) child, that child has a 79.5% chance of having 0 speed and a 20.5% chance of having 0.4 speed
=== Upbringing Stats ===
 
Every origin, dote, and mote has a set of "primeStats" and "storyStats".<br>
There are 212,310 children unique children and 1,035,914 unique regular heroes
"primeStats" are a list of stats, such as "Speed, Dodge, Melee Accuracy" or "Potency, Warding". The game assigns a bonus for those stats depending on how many primeStats are set for that specific origin/dote/mote. The more primeStats that origin/dote/mote has, the lower the bonus will be for each individual stat. For instance, origin_36 which has the primeStats Ranged Accuracy, Warding, Speed, Dodge, and Melee Accuracy (5 different primeStats) would give a 0.3 bonus to Warding whereas origin_61 which has the primeStats Ranged Accuracy, Warding, and Charisma (3 different primeStats) would give a 0.5 bonus to Warding.<br>
First the origin is set, then the anecdote, then the motivation.
This means that there is a trade-off, with heroes falling into a spectrum between having a narrow set of very high bonus stats or a very broad selection of comparatively low bonus stats.<br>
The game will not allow you to get a dote or mote that would result in duplicate hooks.
"storyStats" are the aforementioned personality stats. Examples are "35 bookish, 35 snark" or "70 poet".


=== Older Versions ===
==== Unique Heroes ====
Previous game versions have different upbringing stats from present upbringing stats with the most present version removing the decimal numbers from melee and ranged accuracy stats, reducing 5.3 melee accuracy down to 5 to remove wasted stats.
===== Monarchs Under the Mountain =====
In the [[Monarchs Under the Mountain]] campaign, the "Needs Rescuing" farmer has a unique backstory and the following stats:<br>
Hooks: Shame, Gritty, Potential<br>
Potency: +0.2<br>
In addition, that hero has five bonus stat "slots". These "slots" are filled with a randomly selected stat, with a specific bonus per stat. It is possible the same stat to fill multiple "slots", giving the same stat bonus multiple times, so there is another trade-off between specialization and broadness. Because of this unique generation method, the farmer can obtain stat combinations that are impossibly high for any other hero if enough "slots" are filled with the same stat. Every stat has an equal chance of filling one of the five "slots" with a probability of 1/15. The personality stats are 1-60 for every stat, plus 30 Leader.


0.6 potency is the max value for current upbringing stats but in previous versions a 0.7 was possible.
{| class="wikitable sortable"
|+ Stat bonuses for the Monarchs Under the Mountain farmer
|-
! Stat !! Bonus per "slot" !! Theoretical maximum (single stat filling all "slots", 1/759375 odds)
|-
| Health || 0.5 || 2.5
|-
| Speed || 0.7 || 3.5
|-
| Recovery Rate || 8 || 40
|-
| Retirement Age || 4 || 20
|-
| Armor || 0.5 || 2.5
|-
| Warding || 0.6 || 3
|-
| Dodge || 5 || 25
|-
| Block || 5 || 25
|-
| Melee Accuracy || 3 || 15
|-
| Ranged Accuracy || 3 || 15
|-
| Stunt Chance || 3 || 15
|-
| Bonus Damage || 0.2 || 1
|-
| Potency || 0.2 || 1 (total 1.2 Potency with the guaranteed 0.2 Potency)
|-
| Charisma || 25 || 125
|-
| Tenacity || 25 || 125
|}


=== Monarchs under the Mountain ===
===== Eluna and the Moth =====
The non legacy hero rolled at the start of this campaign has unique upbringing stats that are not possible in other campaigns. Stunt Chance and higher speed more then normal can be found here.
The non-Legacy starting heroes have fixed stats.
{| class="wikitable sortable"
|+ Fixed stats for Eluna and the Moth heroes
|-
! Stat !! Older Sibling !! Younger Sibling
|-
| Hooks || Literary, Loyal, Dreamer || Flirt, Loyal, Wanderlust
|-
| Health || 0.5 || 0.5
|-
| Recovery Rate || 8 || 8
|-
| Retirement Age || 4 || 4
|-
| Ranged Accuracy || 3 || 3
|-
| Potency || 0.2 || 0.2
|-
| Tenacity || 25 || 25
|}


=== Rolling Specific Stats ===
===== All the Bones of Summer =====
It is possible to edit the game files so only specific stats may come up for recruited heroes.
In the [[All the Bones of Summer]] campaign, the non-Legacy starting heroes have fixed stats. In addition, it is possible for the Legacy Mystic to have a Hunter child with a unique backstory and set of stats in the campaign.
{| class="wikitable sortable"
|+ Fixed stats for All the Bones of Summer heroes
|-
! Stat !! Hunter of the Old Blood !! The Friend !! The Toughlipped Kid !! Child of The Prodigal Parent
|-
| Hooks || Destiny, Wildheart, Nostalgic || Nostalgic, Physical, Loyal || Gritty, Potential, Slacker || Slack, Literary, Wanderlust
|-
| Health ||  || 0.5 || 0.5 || 0.5
|-
| Speed || 0.7 ||  || 0.7 || 0.7
|-
| Retirement Age ||  || 4 ||  ||
|-
| Armor ||  || 0.5 ||  ||
|-
| Dodge || 5 ||  || 5 ||
|-
| Block ||  || 5 ||  ||
|-
| Ranged Accuracy || 3 ||  ||  ||
|-
| Stunt Chance || 3 ||  || 3 || 3
|-
| Bonus Damage || 0.2 || 0.2 || 0.2 || 0.2
|-
| Potency || 0.2 || 0.2 || 0.2 || 0.2
|-
| Charisma ||  ||  ||  || 25
|}


Pick your origin/dote/mote by editing the game files and leaving only a single origin/dote/mote in the respective files. Make sure to keep a backup of each file before editing them.
=== Minmaxing randomly generated heroes ===


Steam/steamapps/common/Wilthermyth/assets/data/history -> origin dote mote
By continuously using the Reroll button until stumbling upon a rare and desirable stat combination, it is possible to minmax.


It may be easier to look into builds from existing heroes and focusing on those stats.
Some character builds can greatly benefit from certain upbringing stats. Certain upbringing stat combinations make heroes objectively more or less fit to perform certain roles in combat.


This method still requires you to pick up a new recruit in a town.
For instance, a hero that is generated with 1.1 Speed and 5 Melee Accuracy bonuses from upbringing could be considered optimally suited for a [[Thornfang]] [[Hunter]] build. A hero that is generated with 10 bonus retirement age is more fit to suit a newly generated [[Warrior]] making it through a long campaign without relying on hook quest retirement age bonuses. A hero with a high Dodge and Block bonus is objectively more fit for using [[Riposte]] than a hero without.


  (Disclaimer) Credits to metoxys for figuring out and working on the upbringing spreadsheet. If you share this around then please credit them properly.
  (Disclaimer) Credits to metoxys for simulating all possible upbringing combinations, analyzing the data, and compiling this upbringing spreadsheet. If you share this around, then please credit metoxys properly.


[[File:upbringing.png|left|frame|Upbringing spreadsheet]]
[[File:upbringing.png|left|frame|Upbringing spreadsheet]]

Revision as of 09:03, 23 March 2022

Example upbringing showing the generated backstory, hooks, and bonus stats

Upbringing is a permanent, unchangeable attribute that is randomly generated for every hero. The upbringing is responsible for defining permanent stat bonuses, the hero's hooks, and the automatically generated backstory. This system is intended to make every encountered hero unique.

On a technical level, the upbringing consists of an origin, an anecdote ("dote" for short), and a motivation ("mote" for short). Each of those parts comes with a defined hook, history tags (defining aspects of the character's backstory, e.g. eccentric, criminal, happy childhood), personality stats (e.g. leader, flirt, hothead), and combat- and campaign-relevant stats (e.g. health, melee accuracy, charisma). Heroes that are generated as children (joining the party during an interval as they reach adventuring age) have their own separate set of origins, meaning that the probabilities for obtaining certain hooks or desired stat combinations is different. Also, a bonus for armor, stunt chance, and/or bonus damage can only be obtained with such a child origin. The game will not allow combinations that would result in duplicates of the same hook. For instance, if a hero is generated with an origin that comes with the Wildheart hook, it is not possible for that hero to have a dote or mote that would also come with the Wildheart hook. In addition, most of the upbringing parts come with so-called forbidden aspects, further making many origin/dote/mote combinations impossible.

This upbringing system results in 1,035,914 unique "regular" hero upbringings and 212,310 unique possible upbringings for children.

Upbringing Stats

Every origin, dote, and mote has a set of "primeStats" and "storyStats".
"primeStats" are a list of stats, such as "Speed, Dodge, Melee Accuracy" or "Potency, Warding". The game assigns a bonus for those stats depending on how many primeStats are set for that specific origin/dote/mote. The more primeStats that origin/dote/mote has, the lower the bonus will be for each individual stat. For instance, origin_36 which has the primeStats Ranged Accuracy, Warding, Speed, Dodge, and Melee Accuracy (5 different primeStats) would give a 0.3 bonus to Warding whereas origin_61 which has the primeStats Ranged Accuracy, Warding, and Charisma (3 different primeStats) would give a 0.5 bonus to Warding.
This means that there is a trade-off, with heroes falling into a spectrum between having a narrow set of very high bonus stats or a very broad selection of comparatively low bonus stats.
"storyStats" are the aforementioned personality stats. Examples are "35 bookish, 35 snark" or "70 poet".

Unique Heroes

Monarchs Under the Mountain

In the Monarchs Under the Mountain campaign, the "Needs Rescuing" farmer has a unique backstory and the following stats:
Hooks: Shame, Gritty, Potential
Potency: +0.2
In addition, that hero has five bonus stat "slots". These "slots" are filled with a randomly selected stat, with a specific bonus per stat. It is possible the same stat to fill multiple "slots", giving the same stat bonus multiple times, so there is another trade-off between specialization and broadness. Because of this unique generation method, the farmer can obtain stat combinations that are impossibly high for any other hero if enough "slots" are filled with the same stat. Every stat has an equal chance of filling one of the five "slots" with a probability of 1/15. The personality stats are 1-60 for every stat, plus 30 Leader.

Stat bonuses for the Monarchs Under the Mountain farmer
Stat Bonus per "slot" Theoretical maximum (single stat filling all "slots", 1/759375 odds)
Health 0.5 2.5
Speed 0.7 3.5
Recovery Rate 8 40
Retirement Age 4 20
Armor 0.5 2.5
Warding 0.6 3
Dodge 5 25
Block 5 25
Melee Accuracy 3 15
Ranged Accuracy 3 15
Stunt Chance 3 15
Bonus Damage 0.2 1
Potency 0.2 1 (total 1.2 Potency with the guaranteed 0.2 Potency)
Charisma 25 125
Tenacity 25 125
Eluna and the Moth

The non-Legacy starting heroes have fixed stats.

Fixed stats for Eluna and the Moth heroes
Stat Older Sibling Younger Sibling
Hooks Literary, Loyal, Dreamer Flirt, Loyal, Wanderlust
Health 0.5 0.5
Recovery Rate 8 8
Retirement Age 4 4
Ranged Accuracy 3 3
Potency 0.2 0.2
Tenacity 25 25
All the Bones of Summer

In the All the Bones of Summer campaign, the non-Legacy starting heroes have fixed stats. In addition, it is possible for the Legacy Mystic to have a Hunter child with a unique backstory and set of stats in the campaign.

Fixed stats for All the Bones of Summer heroes
Stat Hunter of the Old Blood The Friend The Toughlipped Kid Child of The Prodigal Parent
Hooks Destiny, Wildheart, Nostalgic Nostalgic, Physical, Loyal Gritty, Potential, Slacker Slack, Literary, Wanderlust
Health 0.5 0.5 0.5
Speed 0.7 0.7 0.7
Retirement Age 4
Armor 0.5
Dodge 5 5
Block 5
Ranged Accuracy 3
Stunt Chance 3 3 3
Bonus Damage 0.2 0.2 0.2 0.2
Potency 0.2 0.2 0.2 0.2
Charisma 25

Minmaxing randomly generated heroes

By continuously using the Reroll button until stumbling upon a rare and desirable stat combination, it is possible to minmax.

Some character builds can greatly benefit from certain upbringing stats. Certain upbringing stat combinations make heroes objectively more or less fit to perform certain roles in combat.

For instance, a hero that is generated with 1.1 Speed and 5 Melee Accuracy bonuses from upbringing could be considered optimally suited for a Thornfang Hunter build. A hero that is generated with 10 bonus retirement age is more fit to suit a newly generated Warrior making it through a long campaign without relying on hook quest retirement age bonuses. A hero with a high Dodge and Block bonus is objectively more fit for using Riposte than a hero without.

(Disclaimer) Credits to metoxys for simulating all possible upbringing combinations, analyzing the data, and compiling this upbringing spreadsheet. If you share this around, then please credit metoxys properly.
Upbringing spreadsheet
Upbringing spreadsheet with hooks