Sub topic 9
Pricing drawbacks and conditions
This chapter assumes you have read the chapters on stat valuation, the linear baseline, and ability costing. You should know that ability_power turns an effect into expected value using chance and uptime. You should also be comfortable reading short Python functions. Here we extend that function so it prices the two things that reduce an ability's cost: conditions and drawbacks.
Why drawbacks need their own pricing
A designer often wants a strong effect that comes with a catch. A unit might hit hard but take damage whenever it attacks. An item might give a large bonus but only while the wearer is below half health. The catch should lower the cost, but by how much?
Without a method, designers guess. Guessing fails in two ways:
- The discount is too generous, so the content is cheap and strong. Players find it and the rest of the roster stops being used.
- The discount is too small, so the content is expensive and weak. Nobody picks it and the design effort is wasted.
The goal is to turn "this has a catch" into a number in the same currency as the effect.
Conditions and drawbacks are different things
The two words get mixed up, but they behave differently in the math.
| Kind | What it does | How it enters the formula | Example |
|---|---|---|---|
| Condition | Limits when the effect works | Scales the effect by how often the condition holds | "Only while health is below 50%" |
| Trigger chance | Limits how often the effect fires | Scales the effect by a probability | "30% chance on hit" |
| Drawback | Adds a harm the owner suffers | Subtracts the expected harm | "Take 3 damage when this attacks" |
| Restriction | Limits who can use the content | Usually a flat discount, set from playtest data | "Cannot be used with heavy armor" |
A condition or trigger chance never makes the owner worse off than having no ability at all. A drawback can. That is why conditions multiply and drawbacks subtract, and why a single "discount percentage" for both hides what is going on.
Pricing a condition: estimate real uptime
The uptime argument is the share of time the effect is active. The hard part is estimating it honestly. Players do not experience conditions at random. They arrange play so that the condition holds.
Consider "gain +12 value while health is below half". A random sample of a fight might show low health 20% of the time. But a player can lower their own health on purpose, or time the fight to start in that state. If the condition is easy to cause, the real uptime is closer to 60% or 70% than 20%.
Use these rules when estimating:
- Start with the average uptime across normal play.
- Raise it for every way the player can cause the condition cheaply.
- For conditions the player fully controls, such as "while you hold a sword", price at the best realistic uptime. In most cases that is close to 1.0.
- For conditions the opponent controls, such as "while an enemy is adjacent", use the average and check it against playtests.
Price a condition at the uptime a good player reaches, not at the uptime a new player sees. Balance problems come from the best-case player.
Pricing a drawback: expected harm
A drawback is a cost the owner pays, so you value it the same way you value an effect: harm size, times how often it happens, times how much of it the owner can avoid.
def priced_ability(
effect,
uptime=1.0,
trigger_chance=1.0,
harm=0.0,
harm_frequency=1.0,
avoidable=0.0,
max_discount=0.6,
):
# Gross value: effect scaled by how often it is active and fires.
gross = effect * uptime * trigger_chance
# Expected harm: size, times frequency, times the share the player cannot dodge.
penalty = harm * harm_frequency * (1 - avoidable)
# Never let drawbacks remove more than max_discount of the gross value.
penalty = min(penalty, gross * max_discount)
return gross - penalty
# Effect worth 12, active 40% of the time.
# Harm worth 3, suffered on half of the activations, not avoidable.
print(round(priced_ability(12, uptime=0.4, harm=3, harm_frequency=0.5), 2)) # 3.3The call computes a gross value of 12 × 0.4 = 4.8. The expected harm is 3 × 0.5 = 1.5. The net power is 3.3, which you then feed into the cost curve from earlier chapters.
The avoidable argument is the share of the harm that skilled play can dodge. A drawback that a good player can avoid 80% of the time is worth only 20% of its face value. This is the most common reason that "high risk" content turns out to be cheap in practice.
Why the discount needs a cap
The last line before the return in priced_ability limits the penalty. Without it, you can write a drawback so large that the net power is negative. A negative power implies a negative cost, which has no meaning in most games.
There is also a design reason. Negative traits are not worth as much as positive ones. Players rarely feel a large drawback as a fair exchange for a large effect. They avoid the content, or they find a way to neutralize the drawback and keep the benefit. Capping the discount at something like 40% to 60% of gross value keeps the cost from collapsing.
# A huge drawback: harm 8 on every activation.
print(round(priced_ability(12, uptime=0.4, harm=8), 2)) # 1.92
# Without the cap this would be 4.8 - 8 = -3.2.Here the cap is 4.8 × 0.6 = 2.88, so the net power is 4.8 − 2.88 = 1.92 and the designer is told the ability is cheap but not free.
Putting the steps in order
The pricing steps depend on each other. You cannot price the harm until you know how often the ability fires, and you cannot cap the discount until you know the gross value.
Common errors
- Counting a drawback the player never feels. "Cannot move while casting" costs nothing on a ranged unit that already stands still. Price the drawback in the situations where the content is actually used.
- Pricing conditions at average uptime when players can control them. The result is content that is cheap and strong in expert hands.
- Double-discounting. If a 30% trigger chance and a "below half health" condition both limit the same effect, check that they are independent. If low health is also what makes the trigger likely, multiplying the two probabilities understates the real uptime.
- Discounting for a drawback that is a different resource. A harm measured in health is not interchangeable with a harm measured in tempo or card advantage unless you have already placed both in the common currency. Do that first, using the stat values from the valuation chapter.
- Treating all discounts as multiplicative percentages. A flat "minus 20% cost" for any drawback gives the same discount to a trivial drawback and a severe one. Compute the harm instead.
Choosing between a condition and a drawback
Both reduce cost, but they feel different to players. A condition makes the content feel unreliable. A drawback makes it feel risky. Players tend to accept risk more readily than unreliability, because risk gives them a decision to make while unreliability just takes the effect away. If two designs have the same net power, prefer the one whose catch creates a choice.
Exercise
An ability has an effect value of 20. A condition holds half the time (uptime 0.5) and the trigger chance is 1.0. It also carries a harm of 4, suffered on 25% of activations, with none of it avoidable. Using pricedability with the default maxdiscount of 0.6, what is the net power?
Show answer
Gross value is 20 × 0.5 × 1.0 = 10. Expected harm is 4 × 0.25 × (1 − 0) = 1. The cap is 10 × 0.6 = 6, so the penalty of 1 is not capped. Net power is 10 − 1 = 9.0.
Exercise
An ability has an effect value of 10, uptime 1.0, trigger chance 1.0, and a harm of 10 suffered every time, with none avoidable. What does priced_ability return with the default cap, and why is the cap needed here?
Show answer
Gross value is 10. The raw penalty is 10, but the cap limits it to 10 × 0.6 = 6, so the net power is 4. Without the cap the result would be 0, which would price the ability as free even though players would still get some value from it, and a slightly larger harm would give a negative power with no meaningful cost.
Exercise
A designer says a harm can be avoided 75% of the time by a skilled player, and the harm is worth 8 with frequency 1.0. What is the expected harm used in the price, and what does that tell you about pricing for different skill levels?
Show answer
Expected harm is 8 × 1.0 × (1 − 0.75) = 2. A new player who cannot avoid the harm pays closer to 8, so the content is cheap for experts and costly for beginners. Price for the skill level you expect to dominate competitive play, then check whether beginners find the content too punishing.