Sub topic 3
How much is one point of attack worth?
This chapter covers how to assign a numeric value to each stat in a common currency. It assumes you know basic game design vocabulary (stats, resources, abilities), can do simple arithmetic and read graphs, and can read short Python examples. The earlier chapters introduced the balance goals of a cost curve and the idea of a common currency. Here we make that currency concrete.
Why stat valuation comes first
A cost curve maps power to cost. Before you can draw it, you need a number for "power." For a unit with attack, health, and speed, those three stats are measured in different units, so you cannot add them directly. Four attack points and four health points are not the same thing.
Stat valuation fixes this. You choose one currency, then decide how many currency units each stat point is worth. Once every stat has a price, you can compare units that spend their budget differently.
The currency is usually an abstract unit. Many designers call it "points" or "budget." Others tie it to something in the game, such as gold or mana. The choice matters less than the consistency. Every later calculation depends on these stat values, so errors here carry into everything built on them.
Choosing a reference stat
Start by picking one stat as the anchor and giving it a value of 1.0. Every other stat is expressed relative to it. Health is a common anchor, because it is easy to reason about: one point of health absorbs one point of damage.
The question to ask for each other stat is: how many points of the anchor would a player give up to get one point of this stat?
Suppose you anchor on health at 1.0. A unit with 4 attack deals 4 damage per hit. If the game has combat that lasts roughly five rounds, one point of attack removes about five points of enemy health over a fight. That suggests attack is worth several times health, depending on how much of the fight the unit survives.
This reasoning is approximate, and that is fine. You need a defensible starting value that you will refine later with data.
Deriving a value from the combat model
A stat's value comes from what it does in combat. The most reliable way to value a stat is to write a simplified model of a fight and measure how much each stat changes the outcome.
Take a one-on-one fight in which both units strike once per round. Unit A has attack a1 and health h1. Unit B has attack a2 and health h2. A kills B in h2 / a1 rounds. B kills A in h1 / a2 rounds. A wins if it needs fewer rounds.
A wins when h2 / a1 < h1 / a2, which rearranges to a1 * h1 > a2 * h2. The product of attack and health decides the fight. This is a useful result: in this model, attack and health are interchangeable in a multiplicative way, not an additive one.
That has a direct consequence for valuation. If power equals attack times health, then doubling attack and doubling health each double power. The two stats are worth the same when measured by percentage change. Their per-point values differ only because a point of attack is a larger fraction of a typical attack total than a point of health is of a typical health total.
For a unit with attack 4 and health 10, one extra point of attack raises the product by 25%, from 40 to 50. One extra point of health raises it by 10%, from 40 to 44. So attack is worth 2.5 times as much per point as health at this operating point. That ratio of 2.5 is close to the 2.0 to 0.5 ratio (a factor of 4) used in some examples, and the gap shows why you should treat any single ratio as local to a particular range of values.
A weighted-sum model
Most games use a simpler additive model, even when combat is multiplicative, because it is easy to maintain in a spreadsheet. Each stat gets a weight, and the unit's raw power is the sum of weight times amount.
STAT_VALUE = {"attack": 2.0, "health": 0.5, "speed": 3.0}
def raw_power(stats):
return sum(STAT_VALUE[name] * amount for name, amount in stats.items())
print(raw_power({"attack": 4, "health": 10, "speed": 1})) # 8 + 5 + 3 = 16.0In this table, one point of attack is worth 2.0, one point of health is worth 0.5, and one point of speed is worth 3.0. An archer with 4 attack, 10 health, and 1 speed has a raw power of 16.0.
The weights encode design decisions. Attack is four times as valuable as health here, so a player who trades four health for one attack breaks even. Speed is expensive because it is scarce: most units have a speed of 1 or 2, so each point is a large proportional change.
The function raises a KeyError if a unit uses a stat that has no weight. That is a useful failure. A missing weight means a stat has not been priced, and silently treating it as zero would hide a balance hole.
Where stat values come from
There are three practical sources for weights.
- Combat modeling. Derive them from a simplified fight, as above. This is principled and shows you why a stat has the value it does.
- Existing content. If you have units that you already consider balanced, solve for weights that make their power match their cost. This is a regression problem, and a later chapter covers fitting.
- Designer judgment. Pick values by feel and adjust after playtesting. This is fast and often good enough for a first pass.
Most teams combine them. Judgment gives the first draft, modeling checks that it is plausible, and data corrects it.
Edge cases that distort stat values
Linear weights hide several problems. Know them before trusting a number.
- Diminishing returns on a single stat. A fifth point of speed may be worth far less than the first if extra speed stops changing turn order. A fixed weight overvalues the high end.
- Thresholds. If a unit needs 3 attack to kill common 3-health enemies in one hit, the third point is worth much more than the second. Stat value then depends on what the opposing content looks like.
- Stats that depend on each other. Health matters more on a unit with a damage-reduction ability than on one without. A weight set per stat cannot express that. Chapter material on synergies addresses this.
- Role. A support unit and a front-line unit may value the same stat differently. You can use separate weight tables per role, at the cost of losing a single shared currency.
- Scale drift. If new content raises typical stat ranges, old weights become wrong. Re-derive them when ranges change.
Checking a weight table
Before you build a cost curve on top of your weights, run a few sanity checks.
- Trade test. Pick two stats and ask whether a player would accept the exchange your weights imply. If the table says 1 attack equals 4 health, ask whether players would feel cheated or rewarded.
- Extreme test. Compute the power of a unit that puts everything into one stat. If a pure-speed unit comes out better than any balanced unit, a weight is probably too high.
- Rank test. List your existing units by power. If a unit you consider weak ranks near the top, find which stat weight drives it.
The following diagram shows how the pieces connect.
Summary of the method
- Choose a currency and an anchor stat.
- Derive a first weight for each stat from a simplified combat model, existing content, or judgment.
- Compute raw power as the weighted sum.
- Run trade, extreme, and rank checks.
- Revise the weights, and revisit them whenever stat ranges change.
The raw power score is the input to the next step. A cost curve takes this number and turns it into a price. Power has to be trustworthy first, which is why this step comes before the curve itself.
Exercise
A unit has 5 attack, 8 health, and 2 speed. Using the weights attack = 2.0, health = 0.5, and speed = 3.0, what is its raw power? Then, a designer proposes raising the speed weight to 4.0. Name one check from this chapter that would help you decide whether that change is reasonable.
Show answer
Raw power is 2.0 5 + 0.5 8 + 3.0 * 2 = 10 + 4 + 6 = 20.0. To judge the change to a speed weight of 4.0, you could run the extreme test: compute the power of a unit that puts everything into speed and see whether it now outranks balanced units. The rank test (does a unit you consider weak now rank high?) or the trade test (would players accept giving up 8 health for 1 speed?) would also work.
Exercise
In a one-on-one fight where both units strike once per round, why does the product of attack and health decide the winner, and what does this say about adding attack and health with fixed weights?
Show answer
A kills B in h2 / a1 rounds and B kills A in h1 / a2 rounds. A wins when h2 / a1 < h1 / a2, which rearranges to a1 h1 > a2 h2. Combat power is therefore multiplicative in attack and health. A fixed-weight sum is only an approximation that works near the stat range where the weights were chosen, so weights should be re-derived when stat ranges change.