Growth Profiles ​
A growth profile says how a kind of entity gets stronger with its level. Heavy, Caster, Minion, Elite, Ranger, Assassin: each one is a short list of "this stat grows like this, this pool grows like that". An NPC picks one, and a level 20 NPC of that kind is a stronger version of a level 5 one without a second definition.
Growth belongs to the entity, never to the stat or the pool (see Growth for the whole picture and for how it differs from a template). The way to write it for one entity is an override on that NPC, which for 200 NPCs is 200 overrides. A profile is that override, written once and shared.
What an NPC asks ​
When a stat or pool needs its growth at a level, it asks the layers below in this order. The first that has an answer wins.
| # | Layer | Where you set it |
|---|---|---|
| 1 | The NPC's own override | The NPC's Stats section, Level Growth, Add Override |
| 2 | The NPC's growth profile | The NPC's Stats section, Growth profile |
| 3 | The profile's parent, the parent's parent... | The profile's Builds on |
| 4 | The project's default profile | Gameplay Config, Default NPC growth profile |
An entry replaces what is below it, even an entry with no formula (that means "this stat does not grow for this kind of NPC"). A stat or pool that a layer does not list is left to the layer below, and one that no layer lists does not grow. So a profile only ever lists what is different.
A player character does not use the project default profile: its growth is its class's overrides, and the profile the class names.
The editor ​
Entity Stats > Growth Profiles. The left column is the profile, the right column is its entries.
| Field | What it does | Default |
|---|---|---|
| Name, Description, Icon | As everywhere | |
| Builds on | The profile this one starts from. Every stat or pool this profile does not list grows as the parent says. None means the project's default profile | None |
| What an entity follows | Not a field: the chain an entity of this profile follows, written out | |
| Growth (Add Override) | One entry per stat or pool: pick it from the list and give it a growth formula, optional diminishing returns and a max growth, exactly like on the stat. The editor shows the growth at a few levels and a graph | no entries |
The list of entries has stats and pools. A pool entry is health (or mana) per level: "+12 health a level" is a Linear formula of 12. The input of every formula is the levels gained (level - 1), so level 1 has no growth.
Weapon Damage
Weapon Damage is one of the stats in the list. An NPC that bites or swings has an intrinsic weapon damage, and a profile can make that grow too. It only grows for an NPC that has some: an NPC with weapon damage 0 stays at 0 (it attacks with abilities, or not at all), so a profile for "everything" cannot give a villager a sword.
Problems ​
The editor lists, in yellow, what is wrong: a parent that no longer exists, a parent chain that loops back on itself (the loop is ignored in the game, but fix it), two entries for one stat, an entry for a stat that was deleted.
Using a profile ​
- On an NPC: in the NPC's Stats section, Growth profile. Default means the project default (Gameplay Config). An NPC that follows a template chooses its growth itself: with Default it grows like the profile its template suggests, else like the project default. Warrior template plus Elite profile is an Elite Warrior.
- On a template: the same section of the template names the profile it suggests to the NPCs that follow it; an NPC can pick another.
- To see the result: the Preview at level box of the Stats page shows every stat and pool at the level you choose, and the Level growth fold says where each one's growth comes from (the NPC's entry, the profile, or the stat itself).
- For every NPC: Gameplay Config > Party Management > NPC Level Scaling > Default NPC growth profile. The toolkit makes a profile called Default for every project; it has no entries, so a new project grows as its stats say until you fill it in.
- On one placed NPC: a unique NPC copies the stats of its definition and can change the profile or add overrides for itself.
The demo's profiles ​
The demo project comes with a family of seven. They build on the Default profile and list only what differs:
| Profile | Builds on | Entries (per level) |
|---|---|---|
| Default | Health pool +8, Mana pool +5, Weapon Damage +1, Strength +2, Agility +1.5, Stamina +3 | |
| Heavy | Default | Strength +3, Stamina +4, Health pool +14, Weapon Damage +1.5 |
| Caster | Default | Health pool +5, Mana pool +12, Stamina +1.5 |
| Minion | Default | Strength, Stamina and Agility: no growth (an entry with no formula), Health pool +3, Weapon Damage +0.5 |
| Elite | Heavy | Health pool +22, Weapon Damage +2 (everything else is the Heavy's) |
| Ranger | Default | Agility +3, Health pool +7, Weapon Damage +1.5 |
| Assassin | Default | Agility +4, Health pool +5, Weapon Damage +2.5 |
A rat uses Default (no profile chosen). A bear uses Heavy, a cultist Caster, a skeleton Minion, a champion bear Elite. If you later decide every NPC should gain +10 health instead of +8, you change one entry in Default, and every profile that does not list Health follows.
Read the numbers as a starting point: they are plain Linear formulas, and the editor shows the curve of each.
Profiles and ranks go together well: the rank (Elite, Boss) changes the level and the experience, and a profile of the same name changes how hard it hits.
What happens when an NPC changes level ​
Anything that changes the level of an NPC goes through the same steps: the level it is made with, level scaling when the party changes, a respawn, an event that sets a level.
- Every stat gets its growth for the new level (the layers above).
- Every pool gets its growth added to its maximum. The stat effects that depend on the level are worked out again, and so is everything that feeds from a stat that grew (a Stamina that grows makes health grow if you made it so).
- The maximum of each pool changes, and the current value keeps its share. An NPC at 65 % health that goes from level 4 to level 12 has a bigger maximum and is at 65 %; lowering the level keeps the 65 % too. It does not matter what the project's Level up capacity rule is: that rule is for the player's characters. A new NPC always starts full.
An NPC that is in a fight waits for the end of it (see NPC level scaling).
"Why does my NPC not get stronger?" ​
Growth only comes from formulas, so a stat with no growth anywhere does not change. Check in this order:
- Does the NPC's profile, or one of its parents, or the Default profile list the stat or pool?
- Does the NPC have an override for it with no formula? That stops the stat from growing for that NPC.
- Does the stat count for what you are looking at? Health comes from the Health pool (its own growth), from stats that feed it (an effect like "Stamina gives health"), and from the base value. A stat that grows but is used by nothing does not change how hard the NPC hits or how long it lives.
- Is the NPC's level really different? With level scaling off, a level 5 NPC stays level 5.
See also ​
- Growth: growth, templates and levels together.
- Stats and Pool.
- NPCs, Player Classes, Gameplay Config.
- Growth, core stats and gain channels: how it is built.