Entity Stats ​
Every character, creature and destructible object in the game has numbers: how strong it is, how much health it has, how fast it runs, how likely it is to dodge. This chapter is about those numbers and what they do. It is the part of ChronicleNode that decides how much damage a hit really does.
The pieces ​
| Piece | What it is | Where you make it |
|---|---|---|
| Stat | A number an entity has: Strength, Armor, Dodge, Movement Speed. It can grow with level, be raised by gear and buffs, and do things through its stat effects | Stats |
| Stat effect | What a stat does with its points: raise another stat, add health, cut damage taken, make a critical strike possible, heal on hit | In the Stats editor, under the stat |
| Pool | A number that goes up and down: Health, Mana, Rage, a Shield. The pool that runs out kills the entity | Pool |
| Calculation | The four moments a number is worked out: damage dealt, damage taken, healing done, healing taken. Stat effects plug into them | Calculations |
| Status effect definition | A kind of control: a stun, a root, a silence, with diminishing returns | Status Effects |
| Trigger tag | Something that happened during a hit: a dodge, a block, a critical strike. Stats roll them and calculations react to them | Trigger Tags |
| Stat group | The section of the character sheet a stat is shown in: Primary, Offensive, Defensive | Stat Groups |
| Types and groups | The other labels the numbers use: damage types, schools, entity types | Types & Groups |
| Proficiency | A skill the player gets better at by use or training: swords, heavy armor, lockpicking. Its level is the points of its own stat effects, and it can gate weapons and armor | Proficiencies |
| Formula | How the points of a stat turn into a value: armor, crit chance, growth per level | Formulas |
How a stat becomes a number ​
Every stat on an entity has four parts, and the number you see is:
value = (base + growth + bonus) x multiplier| Part | Where it comes from |
|---|---|
| Base | The starting value of the entity. The stat's Default value, or the value the entity's own stats data sets |
| Growth | What the entity gained from its level, if its growth has an entry for the stat |
| Bonus | What gear, buffs and the stat effects of other stats add |
| Multiplier | Starts at 1. Buffs and effects can raise or lower it |
The result is kept between the stat's Min value and Max value and rounded the way the stat says.
How a hit is worked out ​
When something damages an entity, the number goes through a fixed set of steps. The Calculations page and the stat effects fill the steps in:
- Before any of it, the ability has made its hit roll (if your game has misses): a miss ends the attack before it gets here.
- The attacker's damage done is worked out: triggers roll (a critical strike?) and modifiers run (attack power).
- A guardian effect may take part of the damage, and an immunity may stop it.
- The target's damage taken is worked out: triggers roll (a dodge ends the hit, a block softens it) and modifiers run (armor).
- What is left goes through the target's pools in order: a shield first, then health.
- If the master pool is empty, the entity dies.
Healing goes the same way with the healing done and healing taken calculations, and then fills the pools that accept healing. The pipeline page in Advanced follows it in detail.
Where an entity gets its stats ​
Every entity has an instance of every stat in the database. What differs between a Warrior and a Mage, or a wolf and a boss, is the starting values: each class, NPC and destructible has a stats data section in its editor (in Entities) that sets the base value of stats, the core stat overrides, which pools it has and how they start, permanent immunities, and level growth overrides (a warrior's Strength grows faster than a mage's). Growth shared by a kind of NPC (heavy, caster, minion) is a growth profile.
The core stats ​
Nine stats are ChronicleNode's own. The toolkit makes them for you the first time the database is used (they have the ids 1 to 9), and they are ordinary stats afterwards: you can change their default, give them growth or effects, but not their id.
| Core stat | Default | What it controls |
|---|---|---|
| Movement Speed | 6 m/s | How fast the entity runs |
| Attack Speed | 1x | A multiplier on how fast basic attacks are performed |
| Global Cooldown | 2 s | How long an ability locks the others for. See the global cooldown |
| Weapon Speed | 3 s | Seconds one weapon swing takes. Set by the equipped weapon (hidden) |
| Cast Speed | 1x | A multiplier on how fast spells are cast |
| Bag Slots | 50 | How many slots the bag has (it was called Carry Weight) |
| Carry Capacity | 100 | How much weight the character can carry, when the inventory style counts weight |
| Sight Range | 12 m | How far the entity sees and detects others |
| Weapon Damage | 0 | Damage of the weapon in hand. Set by the equipped weapon (hidden) |
| Weapon Damage Variance | 0 | How far a weapon hit can stray from the weapon damage (hidden) |