Skip to content

Stats ​

The Stats editor (Entity Stats > Stats).
The Stats editor (Entity Stats > 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 ​

FieldWhat it does
Display nameThe name shown on the character sheet and in tooltips
DescriptionWhat the stat does, for players and developers
ColorThe color that stands for the stat in the interface
IconThe picture shown next to the stat

Value settings ​

FieldWhat it doesDefault
Value typeInteger (whole numbers) or Float (decimals)Float
Default valueThe base value of the stat when an entity is created0
Min valueThe value cannot go below this0
Max valueThe value cannot go above this. -1 means no limit-1
Decimal placesHow many decimals are shown (0 to 3), for Float only. The value itself keeps more1
Display suffixText after the value: %, sec, ptsnone
Allow negative valuesLets the value go below zero, for debuffs and penaltiesoff
Can be on itemsTick 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 listoff
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 31

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:

PartWhat it does
Active TriggerWhen the effect works: Permanent, only In combat, or only Out of combat
ConditionsQuestions 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
ValueHow 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 ​

TypeWhat it doesMain fields
Multiplier EffectChanges another stat from the points of this one: "+2 Attack Power per point of Strength"Target Stat, Calculation Type
Pool Modifier EffectChanges a pool: maximum health per point of Stamina, the regeneration rateTarget Pool, Pool Property (max value, generation rate, generation value), Calculation Type
Ability Modifier EffectChanges abilities: shorter cooldowns, cheaper costs, more resource gainedFilter Type (all abilities, specific ones, a school, all but some), Abilities, School, Ability Property (cooldown, cost, gain, cast time, range), Calculation Type
Calculation Modifier EffectChanges the damage or healing number in a calculation: armor, attack power, a damage bonusTarget Calculations, Calculation Type, Value Source, Required Trigger Tag, Damage Type, Points Ignored By Tag
Calculation Trigger EffectRolls a chance each time a calculation runs and, when it hits, fires a trigger tag: a dodge, a block, a critical strikeTarget Calculations, Tag Definition, Trigger Kind, Special Animation, Special Message, Log Phrase, Damage Type
Pool Restoration EffectRestores a pool when something happens: life steal, mana on hit, health on a killTrigger 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 EffectDamages the attacker back: damage reflection, retaliationTrigger Type (damage taken, block, being hit), Damage Scaling, Percent of Damage, Damage Basis, Damage Type, Can Be Avoided
Trigger Rule EffectChanges a trigger tag from the points of the stat: more critical strike damage, a chance bonus for every roll ("luck"), always or neverTag (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 EffectChanges what the entity gains: experience, currency, loot quantity, loot rarity, threat, resources, status duration (tenacity), effect duration, shield strength, drain resistanceChannel, Calculation Type
Hit Chance EffectChanges 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 itSide (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:

FilterWhat it does
Only these schoolsOnly abilities and effects of these schools. Empty = every school
Only these abilitiesOnly hits and heals that come from these abilities. A mastery: +20 % damage for Fireball and Ignite only
Only these effectsOnly 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 abilitiesOnly hits and heals that come from these abilities. A mastery: +20 % damage for Fireball and Ignite only
Only these effectsOnly 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 rangedBoth, only melee attacks, or only ranged attacks. An ability is melee or ranged by its Attack style
Direct or periodicBoth, 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 typeWhat it does
Add, MinusAdds or subtracts the value. Minus never goes below 0
MultiplyMultiplies by the value
Percentage Increase, Percentage DecreaseRaises or lowers the number by a percentage
Set ValueReplaces the number
Percentage Of Max, Percentage Of BaseThe 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.

FamilyStatsWhat they do
PrimaryStrength, Agility, Stamina, Intellect, Wisdom, CharismaStrength: 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
PowerAttack Power, Ranged Attack Power, Spell Power, Healing Power, Bonus DamageAttack 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
PenetrationArmor Penetration, Spell PenetrationEach point makes your hits ignore 1 % of the Armor, or of the resistances, of whoever you hit
Critical strikeCritical Strike Chance, Critical Strike Damage, Critical Strike RatingThe 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)
MultistrikeMultistrike Chance, Multistrike Damage, Multistrike RatingThe 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
AvoidanceDodge, Parry Chance, Block Chance, Block Value, DefenseThe 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 hasteHit Rating, Expertise, Weapon Skill, HasteAccuracy, and the speed of attacks and spells
ResistancesFire, Frost, Nature, Shadow, Holy, Magic, Poison Resistance, All ResistanceOne for each damage type of the demo; All Resistance adds a point to each. Spell Penetration ignores part of them
RegenerationMana per 5 Seconds, Health per 5 SecondsAdded to the regeneration of the pool
Speed bonusesMovement, Attack Speed, Cast Speed and Carry Capacity BonusA percentage on top of the core stat
UtilityStealth, Detection, Experience Gain, Magic Find, Loot Quantity, Life Steal, Damage ReflectionDetection 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 wantStat 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 powerA 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 healthA Pool Modifier Effect on Health, property max value, Add, Linear 1 per point
DodgeA Calculation Trigger Effect on Damage Taken with Trigger Kind Avoid, a Hyperbolic formula for the chance (max 75, K 300)
Critical Strike ChanceA 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 evasionA Hit Chance Effect, Side Accuracy or Evasion, a Linear formula of 0.1. See Stat recipes
A masteryA 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
ExpertiseA 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 stealA Pool Restoration Effect on Health, trigger damage dealt, scaling percent of damage
Damage against UndeadA Calculation Modifier Effect with the Condition opponent has the entity type Undead

See also ​