Stats ​

A stat is a number every entity has: Strength, Armor, Critical Strike Rating, Movement Speed. A stat is a resource in the database: the list on the left shows every stat (a menu above it switches between stat groups, and the filter box searches by name), the fields on the right are the one you selected. What makes a stat interesting is its stat effects, the things it does with its points.
Basic properties ​
| Field | What it does |
|---|---|
| Display name | The name shown on the character sheet and in tooltips |
| Description | What the stat does, for players and developers |
| Color | The color that stands for the stat in the interface |
| Icon | The picture shown next to the stat |
Value settings ​
| Field | What it does | Default |
|---|---|---|
| Value type | Integer (whole numbers) or Float (decimals) | Float |
| Default value | The base value of the stat when an entity is created | 0 |
| Min value | The value cannot go below this | 0 |
| Max value | The value cannot go above this. -1 means no limit | -1 |
| Decimal places | How many decimals are shown (0 to 3), for Float only. The value itself keeps more | 1 |
| Display suffix | Text after the value: %, sec, pts | none |
| Allow negative values | Lets the value go below zero, for debuffs and penalties | off |
| Can be on items | Tick it for the stats that gear and affixes may give (Strength, Armor, Haste...). The item editors only offer these stats when you add a bonus to a piece of equipment or an affix, so the list stays short. A stat already on an item stays in its list | off |
| Budget cost per point (shown when the stat can be on items) | What one point of the stat costs in the stat budget of a generated item. 1 = a point costs as much as a point of Strength. 2 = it costs double, so the same budget buys half as many points. Crit rating can cost 2 and Dodge 3 | 1 |
These are the last two rows of the Value settings. The editor of an item shows the cost of each written bonus next to it ("= 240 budget"). The value of a rolled stat is rounded to whole points for an integer stat and to its decimals for a decimal stat.
Stat groups ​
Tick the stat groups the stat is in (Primary, Offensive, Defensive ...). A group sections the character sheet and tooltips, and one effect (a Stat Modifier) can change a whole group at once. A stat in several groups is listed once, under its first group. A stat in no group is listed last, under "Other".
Level growth ​
A stat has no growth of its own: growth belongs to the entity. A Warrior grows its Strength by 2 per level and a Mage by 0.5, so the growth is written for the kind of entity, in a growth profile or in the level growth overrides of a class or an NPC. The value of the stat is (base + growth + bonus) x multiplier, so growth comes on top of the base. A stat that no profile or override lists does not grow. See Growth for how growth, templates and levels work together.
Stat effects ​
The list at the bottom holds the stat's stat effects. Click Add Stat Effect and choose a type. Each effect is in a box of its own, Stat effect 1, Stat effect 2..., and has a switch to turn it off without deleting it, a collapse button, and a delete button. Above the effects is nothing else: the growth is the entity's, and the item settings are in the Value settings. The four target calculations of an effect are one row of tick boxes. The other fields of an effect are in boxes: What it changes, Only when a tag fired (the tag the effect needs), How much (the value and how it scales), Which hits (the school, melee or ranged...) and Conditions. Hover a box title for what it holds.
Most effects share these parts:
| Part | What it does |
|---|---|
| Active Trigger | When the effect works: Permanent, only In combat, or only Out of combat |
| Conditions | Questions that must all be true for the effect to apply: "the opponent has the tag Undead", "my health is below 30 %". See Conditions. The target kind Argument Entity is the owner of the stat and Opponent is the other side of the hit being calculated |
| Value | How the points of the stat turn into the value of the effect: the Formula (always), optional Diminishing Returns, and a Max Result that caps the final value (0 = none). A graph and a table preview the curve. See Formulas |
The effect types ​
| Type | What it does | Main fields |
|---|---|---|
| Multiplier Effect | Changes another stat from the points of this one: "+2 Attack Power per point of Strength" | Target Stat, Calculation Type |
| Pool Modifier Effect | Changes a pool: maximum health per point of Stamina, the regeneration rate | Target Pool, Pool Property (max value, generation rate, generation value), Calculation Type |
| Ability Modifier Effect | Changes abilities: shorter cooldowns, cheaper costs, more resource gained | Filter Type (all abilities, specific ones, a school, all but some), Abilities, School, Ability Property (cooldown, cost, gain, cast time, range), Calculation Type |
| Calculation Modifier Effect | Changes the damage or healing number in a calculation: armor, attack power, a damage bonus | Target Calculations, Calculation Type, Value Source, Required Trigger Tag, Damage Type, Points Ignored By Tag |
| Calculation Trigger Effect | Rolls a chance each time a calculation runs and, when it hits, fires a trigger tag: a dodge, a block, a critical strike | Target Calculations, Tag Definition, Trigger Kind, Special Animation, Special Message, Log Phrase, Damage Type |
| Pool Restoration Effect | Restores a pool when something happens: life steal, mana on hit, health on a kill | Trigger Type (damage dealt, damage taken, kill), Target Pool, Scaling Type (flat, percent of damage, percent of the pool maximum), Damage Basis, Damage Type |
| Reactive Damage Effect | Damages the attacker back: damage reflection, retaliation | Trigger Type (damage taken, block, being hit), Damage Scaling, Percent of Damage, Damage Basis, Damage Type, Can Be Avoided |
| Trigger Rule Effect | Changes a trigger tag from the points of the stat: more critical strike damage, a chance bonus for every roll ("luck"), always or never | Tag (empty = every tag), Works in (the calculations it applies to; none ticked = all four), Tags of kind (avoid, mitigate or boost, when no tag is chosen), Changes the rolls of (the owner, whoever acts on the owner, or whoever defends against the owner), What It Does: chance bonus, magnitude bonus, magnitude more (a percentage), always, never |
| Gain Modifier Effect | Changes what the entity gains: experience, currency, loot quantity, loot rarity, threat, resources, status duration (tenacity), effect duration, shield strength, drain resistance | Channel, Calculation Type |
| Hit Chance Effect | Changes the chance to hit of the hit roll: accuracy raises the chance of the attacks of the owner, evasion lowers the chance of the attacks aimed at it | Side (accuracy or evasion), the value in points of hit chance, the hit filters |
Hit filters ​
The effects that work on a hit or a heal (Calculation Trigger, Calculation Modifier, Trigger Rule and Hit Chance) can be limited to some hits:
| Filter | What it does |
|---|---|
| Only these schools | Only abilities and effects of these schools. Empty = every school |
| Only these abilities | Only hits and heals that come from these abilities. A mastery: +20 % damage for Fireball and Ignite only |
| Only these effects | Only hits and heals that come from these effects. An effect inside a composite effect also counts under the id of the composite, so naming a composite names everything it applies |
| Only these abilities | Only hits and heals that come from these abilities. A mastery: +20 % damage for Fireball and Ignite only |
| Only these effects | Only hits and heals that come from these effects. An effect inside a composite effect also counts under the id of the composite, so naming a composite names everything it applies |
| Melee or ranged | Both, only melee attacks, or only ranged attacks. An ability is melee or ranged by its Attack style |
| Direct or periodic | Both, only direct hits, or only the ticks of damage or healing over time |
With the damage type and the conditions they say exactly which hits an effect is about. A filter is ignored by an effect that is not about a hit.
Calculation types ​
Several effects choose how their value changes a number:
| Calculation type | What it does |
|---|---|
| Add, Minus | Adds or subtracts the value. Minus never goes below 0 |
| Multiply | Multiplies by the value |
| Percentage Increase, Percentage Decrease | Raises or lowers the number by a percentage |
| Set Value | Replaces the number |
| Percentage Of Max, Percentage Of Base | The value is a percentage of the maximum or of the base value |
The stats of the demo ​
The demo project comes with a TBC-style set of stats. Everything in it is an ordinary stat that you can change or delete. The numbers are a starting point.
| Family | Stats | What they do |
|---|---|---|
| Primary | Strength, Agility, Stamina, Intellect, Wisdom, Charisma | Strength: Attack Power and carry capacity. Agility: Ranged Attack Power, Critical Strike Rating, Haste, Dodge. Stamina: health and health regeneration. Intellect: Mana and Spell Power. Wisdom: Mana per 5 Seconds and Healing Power. Charisma: Experience Gain and Magic Find |
| Power | Attack Power, Ranged Attack Power, Spell Power, Healing Power, Bonus Damage | Attack Power raises your Weapon Damage (1 a point), so it helps the abilities that use the weapon and not spells; an NPC without a weapon needs Weapon Damage set in its stats. Ranged Attack Power adds to ranged hits. Spell Power adds to damage and heals of abilities of the Magic school. Healing Power adds to heals |
| Penetration | Armor Penetration, Spell Penetration | Each point makes your hits ignore 1 % of the Armor, or of the resistances, of whoever you hit |
| Critical strike | Critical Strike Chance, Critical Strike Damage, Critical Strike Rating | The chance rolls the critical strike, the damage says how hard it hits, and the rating turns into chance (20 points are 1 %, with diminishing returns) |
| Multistrike | Multistrike Chance, Multistrike Damage, Multistrike Rating | The same three for multistrike: a hit that strikes again. The damage effect of the ability decides which hits can; Multistrike Damage raises the share of the extra hits |
| Avoidance | Dodge, Parry Chance, Block Chance, Block Value, Defense | The chance to dodge, parry or block, and how much a block takes off. Block Chance and Parry Chance start at 0: give the entity a base value, or put it on its template |
| Hit and haste | Hit Rating, Expertise, Weapon Skill, Haste | Accuracy, and the speed of attacks and spells |
| Resistances | Fire, Frost, Nature, Shadow, Holy, Magic, Poison Resistance, All Resistance | One for each damage type of the demo; All Resistance adds a point to each. Spell Penetration ignores part of them |
| Regeneration | Mana per 5 Seconds, Health per 5 Seconds | Added to the regeneration of the pool |
| Speed bonuses | Movement, Attack Speed, Cast Speed and Carry Capacity Bonus | A percentage on top of the core stat |
| Utility | Stealth, Detection, Experience Gain, Magic Find, Loot Quantity, Life Steal, Damage Reflection | Detection adds to Sight Range. Stealth is only a number your own code, abilities and conditions can read |
Why ratings? A rating is a stat that turns into a chance, so that gear can say "+40 Critical Strike Rating" and a template can still say "5 % Critical Strike Chance". Dodge, Block Chance, Haste and Defense already work like ratings (a point is a fraction of a percent), so they have no second stat.
Examples ​
| You want | Stat effects |
|---|---|
| Armor that stops a share of physical damage and never reaches 100 % | A Calculation Modifier Effect on Damage Taken, Percentage Decrease, Damage Type Physical, with a Hyperbolic formula (max 100, K 100) |
| Strength that adds attack power | A Multiplier Effect with Target Stat Attack Power, Add, Linear 2 per point. Attack Power itself is a Multiplier Effect on Weapon Damage |
| Stamina that adds health | A Pool Modifier Effect on Health, property max value, Add, Linear 1 per point |
| Dodge | A Calculation Trigger Effect on Damage Taken with Trigger Kind Avoid, a Hyperbolic formula for the chance (max 75, K 300) |
| Critical Strike Chance | A Calculation Trigger Effect with a Critical Strike tag, a Linear chance of 1 per point (1 point is 1 %). Critical Strike Rating is a Multiplier Effect that adds 0.05 Critical Strike Chance per point behind a Soft cap of 400 points |
| Accuracy or evasion | A Hit Chance Effect, Side Accuracy or Evasion, a Linear formula of 0.1. See Stat recipes |
| A mastery | A Calculation Modifier Effect on Damage Done with Only these abilities (or Only these effects): the damage of the abilities the stat names goes up. For a talent or a passive, use the Ability Boost effect |
| Expertise | A Trigger Rule Effect that changes the rolls of whoever defends against the owner, for the tags of kind Avoid, Chance bonus, Linear -0.25. See Stat recipes |
| Life steal | A Pool Restoration Effect on Health, trigger damage dealt, scaling percent of damage |
| Damage against Undead | A Calculation Modifier Effect with the Condition opponent has the entity type Undead |
See also ​
- Pool, Calculations, Proficiencies
- Stat recipes: hit chance, expertise, defense, resilience and the other usual stats
- Trigger Tags, Stat Groups
- Stat effects: how they work (Advanced)