Combat
How a fight runs: ticks, targets, movement and attacks.
A fight is worked out in full, from the first step to the last, the moment the combat phase begins. What you watch is a replay of that result. Two warbands meet on one battlefield, every unit follows the same fixed rules, and the fight ends when one side has nobody left or the time limit runs out. This page gives those rules in the order the game applies them.
Setting up the fight
Each player's board is 8 cells wide and 4 rows deep. For a fight the two boards are joined into one battlefield of 8 by 8 cells. Your units stand exactly where you placed them. The enemy board is turned half a circle before it is set down, so the two front rows touch, and the enemy's left flank faces your right flank. A unit in your left corner therefore starts opposite the unit in the enemy's right corner.
Who you meet is decided by the matchup rules. A ghost opponent or a neutral wave fights by exactly the same rules as a live player.
Before the first moment of the fight, in this order:
- Every unit on both boards is created at the health, damage and other numbers of its star level (see the stat reference). A commander takes a board cell like any unit, uses its level in place of stars, and there is never more than one on a side.
- Alliances are counted for each side and their bonuses are handed out. Commanders, summons and placeables never count toward an alliance. Ace effects and items that affect the whole warband are added here too.
- Abilities that work as an aura give their bonus to the units they cover.
- Each unit's own item is added, and every unit is set to full health with its mana empty (see Mana and casting).
- Effects that fire at the start of combat go off, unit by unit in the acting order below. Anything they kill dies before the first tick. See Triggers and targeting.
A summon created during the fight appears on the free cell nearest to its summoner, at full health. It receives the alliance, aura and whole-warband bonuses of its side that apply to it, and its own start of combat effects fire as it arrives. It fights by all the rules on this page and keeps its side in the fight like any other unit, but it never counts toward an alliance. Some summons last only a set time.
If one side has no fighting unit at all when the fight would start, the other side wins at once. If neither side has one, the fight is a draw.
Time: ticks
The fight advances in ticks of 0.1 seconds, so there are 10 ticks in a second. Everything that happens inside one tick counts as happening at the same moment. Times that are not a whole number of ticks are not rounded away: the leftover part of a tick is carried into the unit's next action, so a unit that attacks every 1.25 seconds really does attack every 1.25 seconds on average, not every 1.3.
Distances on the battlefield are counted in cells, and a diagonal step counts as one cell. So a unit with a range of 1 reaches all eight cells around it.
Acting order and what happens in a tick
Units act one at a time in a fixed order, which decides who gets a contested cell and who is preferred when two targets are otherwise equal.
- Within a side: the front row first, then the rows behind it, and from left to right within a row as that side's owner sees the board.
- The two sides are interleaved: the first unit of one side, the first unit of the other, the second unit of the first side, and so on.
- The side that goes first swaps every tick, so neither player holds a lasting advantage.
- A summoned unit joins the end of its side's list, in the order summons appear.
Each tick runs through these steps:
- Upkeep. An overtime step begins if one is due. Bonuses that depend on position or on numbers (for example standing next to an ally, or being outnumbered) are checked again. Then, unit by unit: damage over time and healing over time tick (once every 0.5 seconds), status effects and shields that have run out are removed, mana regeneration is added, effects that repeat on a timer come due, and a summon whose time is up is marked to leave.
- Projectiles. Every projectile that arrives this tick queues its hit.
- Actions. Each living unit, in order, finishes what it was doing if the time is up (a step, an attack swing, a cast) and at once chooses what to do next. A unit that chooses to move claims its destination cell immediately, so no later unit can pick the same cell.
- Resolution. Everything queued this tick (hits, casts, damage and healing over time, triggered effects) is applied in the order it was queued. Effects set off along the way join the end of the same queue.
- Deaths. Only now does the game check who has fallen. Because of this, two units can kill each other in the same tick, and a unit that takes a fatal hit still lands the blow it had already struck this tick. Effects that fire on a death are resolved, and any deaths they cause are checked again.
- End check. The game checks whether the fight is over.
What a unit does
Whenever a unit is free to act it picks the first of these that applies:
- Cast, if an ability is ready and nothing prevents it (see Mana and casting).
- Attack, if its target is within its attack range and its attack is off cooldown. If the target is in range but the attack is still on cooldown, the unit waits where it is.
- Move one cell toward a cell from which it can attack its target.
A stunned unit does none of these. A step it had begun is paused, and an attack swing or a cast it had begun is cancelled. Stuns come from: Stunned (from unit abilities), Slammed, Stunned (from items), Swept Aloft. Placeables never move or attack. They act only through casts and triggered effects.
Choosing a target
A unit keeps its current target for as long as that target is alive, can be targeted, and is either in range or can still be reached on foot. It does not switch just because another enemy walks closer. When it needs a new target it considers every enemy it can attack from where it stands or can walk into range of, and picks by these rules, in order:
- The closest enemy, counted in cells.
- For melee units only (attack range 1): an enemy straight ahead, behind or to the side is preferred over one on a diagonal.
- The enemy with the least health left.
- The enemy that comes first in the acting order.
If no enemy can be reached at all, for example because every path is blocked, the unit still fixes on the best enemy by the same rules and waits for a path to open. A rooted unit cannot walk, so it only ever picks enemies already in range. Root effects: Rooted (from unit abilities), Rooted (from items).
An untargetable unit cannot be chosen as a target, and a unit already aiming at it drops it. Effects that make a unit untargetable: Skittering, Last Light, Swept Aloft, Smoke Cloud. Abilities choose their targets by their own rules, listed under Triggers and targeting.
Movement
A unit that is out of range walks toward its target one cell at a time. It may step in any of the eight directions, and a diagonal step takes the same time as a straight one. It cannot enter or pass through a cell that holds another unit, friend or foe, or a cell another unit has already claimed as its destination. A moving unit holds both the cell it is leaving and the cell it is entering until the step is complete.
The route is the shortest path, around every blocked cell, to any free cell from which the unit could attack its target. If two such cells are equally near, a melee unit prefers one directly in line with its target over a diagonal one. The path is worked out again after every step, so units flow around each other as the fight shifts. If no such cell can be reached, the unit stands still.
A cell is 128 units of distance across, and move speed is given in units of distance per second. One step therefore takes 128 divided by move speed seconds, and a unit covers its move speed divided by 128 cells each second. Move speed bonuses and slows multiply the base figure (stat reference), and it can never fall below 50.
| Move speed | Cells per second | Seconds per cell | Units |
|---|---|---|---|
| 260 | 2.03 | 0.492 | Pit Golem |
| 270 | 2.11 | 0.474 | Rootwarden, Stormhide Beast |
| 275 | 2.15 | 0.465 | Cinder Hatchmother, Deep Basilisk |
| 280 | 2.19 | 0.457 | Spire Acolyte, Chainwarden, Plague Cantor |
| 285 | 2.23 | 0.449 | 5 units |
| 290 | 2.27 | 0.441 | 14 units |
| 295 | 2.3 | 0.434 | 4 units |
| 300 | 2.34 | 0.427 | 21 units |
| 305 | 2.38 | 0.42 | 5 units |
| 310 | 2.42 | 0.413 | 5 units |
| 315 | 2.46 | 0.406 | Oath Cutter, Banner Squire, Moonless Alpha |
| 320 | 2.5 | 0.4 | Hive Skulker, Hellblade Reaver |
| 325 | 2.54 | 0.394 | 5 units |
| 330 | 2.58 | 0.388 | Thorn Hound, Pact Archer |
| 340 | 2.66 | 0.376 | Spire Bear |
| 350 | 2.73 | 0.366 | Pact Bruiser |
| 400 | 3.13 | 0.32 | 4 units |
| 420 | 3.28 | 0.305 | Cinder Mite, Skitterling |
Some effects leap a unit straight to a distant cell. The leaper jumps at one enemy, the one its effect picks (the farthest enemy, if the effect picks none), and lands on the cell directly behind that enemy: the next cell along toward that enemy's own back row. If that cell is taken it lands on the nearest free cell to it, and if the enemy already stands on its back row, on the nearest free cell beside it. A leap takes no time and ignores blocking units along the way. A step in progress is dropped, a swing in progress is dropped with its cooldown handed back, and the leaper then targets the enemy it jumped at. Leaps at present: Stepstone Charm, Phase Lunge, Riptide Spring, Null Step, Crimson Tithe, Skitter Lunge.
The attack cycle
Each unit has an attack rate (the seconds between the starts of two attacks) and an attack point (the seconds from the start of the swing to the moment it lands or the shot leaves). Attack speed bonuses shorten both by the same factor:
- attack speed factor = 1 + (total attack speed bonus as a percentage) / 100, kept between 0.2 and 7. In other words a unit can never be slowed by more than 80% or hastened by more than 600%.
- time between attacks = attack rate / attack speed factor
- swing time = attack point / attack speed factor
The cooldown starts when the swing starts, not when it lands. So a unit that keeps attacking strikes once per attack time, however long its swing is.
If the target dies or becomes untargetable during the swing, the attack does not happen and its cooldown is handed back, so the unit can turn on a new target straight away. A stun or a disarm that lands during the swing cancels it in the same way. A disarmed unit can still move and cast but cannot attack. Disarm effects: Disarmed (from unit abilities), Disarmed (from items), Last Light, Hexed, and for the whole fight by Pact Retinue.
Melee. A unit with an attack range of 1 hits the instant its swing completes.
Ranged. A unit with a longer range launches a projectile when its swing completes. The flight time is the distance to the target in cells, times 128, divided by the unit's projectile speed, rounded up to whole ticks and never less than one tick. The distance is measured at launch. The projectile then follows its target and cannot be outrun, but it misses if the target is dead or untargetable when it arrives. An item that adds range to a melee unit lets it strike from further away but its blows still land instantly.
| Projectile speed | Cells per second | Ticks over 2 cells | Ticks over 3 cells | Ticks over 4 cells | Units |
|---|---|---|---|---|---|
| 900 | 7.03 | 3 (0.3 s) | 5 (0.5 s) | 6 (0.6 s) | 16 units |
| 1,000 | 7.81 | 3 (0.3 s) | 4 (0.4 s) | 6 (0.6 s) | Jade Drakeling, Stormhide Beast |
| 1,100 | 8.59 | 3 (0.3 s) | 4 (0.4 s) | 5 (0.5 s) | Gargoyle Gunner, Carrion Wing, Pact Archer |
| 1,125 | 8.79 | 3 (0.3 s) | 4 (0.4 s) | 5 (0.5 s) | Thorn Caller |
| 1,200 | 9.38 | 3 (0.3 s) | 4 (0.4 s) | 5 (0.5 s) | 11 units |
| 1,500 | 11.72 | 2 (0.2 s) | 3 (0.3 s) | 4 (0.4 s) | 4 units |
When an attack lands
When a melee blow lands or a projectile arrives, these steps run in order:
- Miss. If the target is already dead or is untargetable, the attack misses and nothing else happens.
- Evasion. If the target has any evasion, one roll decides whether it dodges. A dodged attack deals no damage, grants no mana to either side and sets off no effects of landing a hit, though effects that fire on dodging do go off. Several sources of evasion combine by multiplying the chances to be hit, so two 20% sources give 36%, not 40%.
- Damage roll. A whole number is rolled between the attacker's minimum and maximum damage, each as likely as any other. Flat damage bonuses are added, then percentage damage bonuses multiply the total.
- Critical hit. If the attacker has a critical chance, one roll decides whether the hit is critical. A critical hit multiplies the damage by the attacker's critical multiplier. That is the highest multiplier granted by any effect on the attacker: they do not add. The usual 200% applies only when no effect on the attacker grants a multiplier at all, so it is not a floor. A lower figure replaces it: a unit whose only multiplier comes from Keen Whetstone, Stormglass Shard, Twin Fang Daggers, Worldsplitter Axe (175%) strikes critically for that much, not for 200%. Critical chance from several sources adds up, to at most 100%. Units have no critical chance or evasion of their own: both come only from alliances, items and abilities.
- Mana for the attacker, from the damage figure so far (Mana and casting).
- The damage is dealt as physical damage: reduced by armour, soaked by shields, then taken from health. Damage, armour and resistance has the full sums. The target gains mana for the damage it takes.
- Lifesteal heals the attacker for its share of the damage dealt.
- Triggered effects are queued: the attacker's effects for landing a hit and for a critical hit, then the target's effects for being attacked (Triggers and targeting).
Some effects grant extra attacks. These are launched at once with no swing and no cooldown, each rolls its own damage, evasion and critical hit, and an extra attack can never set off further extra attacks.
Damage and death
All damage, from attacks, abilities, damage over time and triggered effects, goes through the same steps: the overtime bonus if any, then armour or magic resistance, then shields, then health. The details and worked examples are on Damage, armour and resistance.
A unit whose health reaches zero does not fall until the end of the tick. Then, for each such unit in acting order:
- If it has an effect that brings it back to life and has not used it this fight, it stands up again on the same cell with the stated share of its health and its timed debuffs removed. This is not a death: nobody is credited with a kill and no death effects fire.
- Otherwise it dies. Its cell is freed at once, effects that fire on its death go off, the unit that last damaged it is credited with the kill, and its allies' effects for an ally dying go off.
- A summon whose time runs out falls like any other unit: its own death effects and its allies' effects for an ally dying still go off. But nobody is credited with a kill, and it cannot be brought back to life.
Some effects let a unit survive one killing blow each fight: the hit leaves it at 1 health instead. A dead unit's projectiles already in the air still land, and damage over time it applied keeps ticking.
How a fight ends
A side is beaten when it has no fighting unit left alive. Placeables do not count: a side with only placeables standing (Spiked Palisade, Straw Decoy, Sunfruit Tree, Mending Totem, Restless Gravestone) is beaten. A commander counts like any unit.
- Win. When one side is beaten, the fight runs on for a grace period of 1 second (10 ticks) before the result is fixed. Projectiles in flight, damage over time and death effects still play out in that time. If the beaten side gets a fighter back in that time, for example by a revival or a summon, the fight simply carries on.
- Draw. If both sides have no fighter left, whether in the same tick or because the last survivors fall during the grace period, the fight is a draw. Neither player wins and neither takes damage.
- Timeout. If both sides still have fighters when the time limit of 45 seconds is reached (450 ticks), the fight is stopped as a timeout. Long before that, from 35 seconds, overtime makes every unit hit harder, heal less and lose health, so few fights get that far. A timeout is not a draw: both players count as having lost. See Time limit and overtime.
When the fight ends, any placeables left on a beaten side collapse. The units still standing on the winning side decide how much health the loser gives up: see Player damage and elimination.
No hidden luck
A fight contains no hidden luck. Every random choice is drawn, in a fixed order, from a single sequence of numbers that is set by the match, the round number and the pairing. The same two boards with the same sequence always produce exactly the same fight, blow for blow, which is why the game can work out the whole fight in advance and why both players see the identical battle. A different round or a different opponent gives a different sequence, so the same boards can fight differently next time.
These are the only things that are rolled:
- The damage of each attack, between the attacker's minimum and maximum. A unit whose minimum and maximum are equal makes no roll.
- Whether an attack is evaded, when the target has evasion.
- Whether an attack is a critical hit, when the attacker has a critical chance.
- Whether an effect with a stated chance goes off (for example a chance on hit).
- Which unit or cell an effect strikes, when its description says a random enemy, a random ally or a random place.
- Which member of an alliance receives a bonus, for alliances that favour a random member, decided once when the fight is set up.
Everything else is fixed: targets, paths, the order of actions, who gets a contested cell, cast timing, mana gained and damage reduced. Any tie is settled by the acting order, never by a roll.