Sub topic 14
Where cost curves fail
A cost curve gives you a number for each piece of content, and a number is easy to trust. This chapter covers the situations where a fair price still produces an unbalanced game. It assumes you know the earlier chapters: the common currency, the power-to-cost ratio, and fitting a power law. It also assumes you can read short Python examples.
What a cost curve actually promises
A cost curve checks one thing: each piece of content costs about what its isolated power is worth. If every unit sits on the curve, no single unit is a bargain when valued on its own.
Players do not experience content on its own. They experience it in a deck, a team, or a build, against a specific opponent, on a specific map. A curve says nothing about those conditions. The failures fall into five groups:
| Failure | What the curve assumes | What really happens |
|---|---|---|
| Synergy | Power adds up across pieces | Pieces multiply each other |
| Breakpoints | Each extra point is worth the same | Value jumps at thresholds |
| Counters | Power is the same against every opponent | Power depends on the matchup |
| Context | Power is fixed | Power depends on map, mode, and meta |
| Non-power costs | Only strength matters | Complexity, tedium, and variance also matter |
Synergy: power that is not in the parts
A synergy is a bonus that exists only when two pieces appear together. The cost curve prices each piece separately, so it cannot see the bonus.
POWER = {"Healer": 6, "Tank": 10, "Mage": 12}
SYNERGY = {frozenset(["Healer", "Tank"]): 8}
def team_power(team):
total = sum(POWER[unit] for unit in team)
for pair, bonus in SYNERGY.items():
if pair <= set(team):
total += bonus
return total
def team_cost(team):
return sum(POWER[unit] for unit in team)
for team in (["Healer", "Tank"], ["Mage", "Tank"]):
print(team, team_power(team) / team_cost(team))The output is ['Healer', 'Tank'] 1.5 and ['Mage', 'Tank'] 1.0. Every unit is priced at exactly its power, so the audit from the efficiency-ratio chapter finds no outliers. The Healer and Tank pair still gets 50% more power than it paid for.
Three practical responses:
- Audit combinations, not only units. Run the ratio check on every pair or on the common team shapes. Pairs grow as n squared, so start with units that share a tag, a resource, or a keyword.
- Price the synergy into one side. Raise the cost of the enabler, the piece that makes the combination work. Choose the piece that appears in the fewest combinations, so the surcharge lands where it is needed.
- Cap the stacking. Limit how many copies or how many bonuses can apply at once.
Breakpoints: when one more point is worth a lot or nothing
Curves are smooth. Many games are not. A breakpoint is a stat value where the game's behavior changes discretely, such as the attack needed to kill a common enemy in two hits instead of three.
import math
def hits_to_kill(attack, enemy_health):
return math.ceil(enemy_health / attack)
for attack in range(3, 11):
print(attack, hits_to_kill(attack, 10))Against an enemy with 10 health, attack 3 needs 4 hits and attack 4 needs 3. Attacks 5 through 9 all need 2, and attack 10 needs 1. A linear or power-law price charges the same for each step. The real value of going from 4 to 5 is a whole hit saved. The value of going from 6 to 7 is zero.
The practical effects:
- Content sitting just above a breakpoint is a bargain. Content just below it is a trap.
- Designers who see "the best attack value" in play are usually seeing a breakpoint.
- Common enemy health values become de facto balance constants. Changing one enemy's health can silently reprice every attacker.
Two common fixes: choose stat values that land on breakpoints deliberately, or use damage ranges and percentage damage so thresholds blur.
Counters: equal power, unequal matchups
A counter relationship is one where unit A reliably beats unit B regardless of price. The classic form is rock-paper-scissors. A cost curve can give all three units the same efficiency while the matchups are completely lopsided.
BEATS = {"Archer": "Knight", "Knight": "Cavalry", "Cavalry": "Archer"}
def duel(a, b):
if BEATS[a] == b:
return 1.0
if BEATS[b] == a:
return 0.0
return 0.5
def expected_win_rate(unit, enemy_mix):
return sum(share * duel(unit, enemy) for enemy, share in enemy_mix.items())
even_mix = {"Archer": 1 / 3, "Knight": 1 / 3, "Cavalry": 1 / 3}
knight_heavy = {"Knight": 0.6, "Cavalry": 0.2, "Archer": 0.2}
print(round(expected_win_rate("Archer", even_mix), 2)) # 0.5
print(round(expected_win_rate("Archer", knight_heavy), 2)) # 0.7Against an even mix, the Archer wins 50% of the time, which is a perfectly balanced average. Against a Knight-heavy opponent it wins 70%. The average hides that the Archer's value depends entirely on what the enemy brings.
Counters are not automatically a flaw. They create decisions, because a player has to scout and adapt. The risk is a counter that is too strong. If a matchup is decided before play begins, or if one unit has no bad matchups, the curve cannot tell you. You need a matchup table, not a ratio.
Context: power depends on where and when
The same unit changes value with the situation. Sources include:
- Map or mode. A ranged unit is worth more on open ground and less in a corridor.
- Game phase. A slow-scaling unit is weak early and strong late, so a single price must average over both.
- The metagame. What other players choose changes what is good. A unit priced fairly today becomes a bargain when its counter falls out of use.
- Player skill. A hard-to-use unit has a high ceiling and a low floor. Its average power at low skill is less than its power at high skill.
One response is to price against a reference scenario and then publish adjustments for others. Another is to keep separate cost tables per mode. In all cases, name the scenario your curve was fitted on. The fitted exponent is a fact about that data and nothing else.
Costs that are not power
A cost curve measures strength. Some content is expensive for the player in other ways:
- Complexity. An ability that needs careful timing delivers its power only to some players.
- Variance. A 10% chance of a huge effect has the same expected value as a steady small one, but it feels different. Players may undervalue gambles, so pricing strictly by expected value can make random content feel overpriced.
- Tedium and information load. Tracking a dozen stacking effects is a real cost that no stat captures.
- Fun and readability. A unit that is fair but unpleasant to fight against can still harm the game.
Treat these as a separate review step. The curve answers "is it fairly priced?" and playtesting answers "is it worth playing against?"
Failures of the curve itself
Even for simple content, the curve can mislead:
- Circular calibration. If you fit a curve to existing content and that content is already unbalanced, the curve encodes the imbalance. A fit on three units, as in the earlier example, has no statistical power to tell you anything.
- Extrapolation. A power law fitted on powers 10 to 40 says little about power 200. Exponents that look stable inside the fitted range often change outside it.
- Power creep. Each new release is priced against recent content, so the baseline drifts upward. The curve stays internally consistent while the game's overall strength inflates.
- Goodhart effects. If designers hit the target ratio, players hit the cheapest-per-point options. Content that is "fair" but efficient to stack becomes the standard choice.
A practical review checklist
Run the curve first, then add the checks it cannot do.
- Audit ratios for every unit, item, and ability, and flag outliers.
- List tags and keywords that interact, then audit those combinations.
- Check stats against the common enemy values for breakpoints.
- Build a matchup table and look for rows with no losses or columns with no wins.
- Re-run the checks under each mode, map, or skill assumption you support.
- Compare simulation results with real play data after launch, and refit when they diverge.
Exercise
A game has three units, each priced exactly on its cost curve, with equal power-to-cost ratios. Players report that a "Frost Mage" and a "Shield Wall" together win nearly every match, but neither unit wins more than average alone. Which failure is this, how would you confirm it with the tools from this chapter, and what is one fix?
Show answer
This is a synergy. The curve prices each unit separately, so it cannot see a bonus that exists only when both appear together. To confirm it, compute the power-to-cost ratio of the pair, not the units, as in the team_power example, or compare the pair's win rate with the win rates of the units used separately. A ratio well above 1 for the pair confirms it. Fixes include raising the cost of whichever unit appears in fewer combinations, capping how much the bonus can stack, or changing the interaction so it grants less.
Exercise
In the hitstokill example, attack costs 2.0 per point. Which of attack 6, 7, 8, or 9 is the best purchase against enemies with 10 health, and why does a linear price fail to reflect that?
Show answer
Attack 6 is the best purchase. Attacks 5 through 9 all kill in 2 hits, so each extra point above 5 adds cost and no benefit against that enemy. Attack 5 is cheapest and equally effective, and attack 6 is the first value that still does the job with a little margin if enemy health rises slightly. A linear price charges the same for each point, while the real value is a step function that only changes at thresholds.