WARSPIRE Wiki Play

Triggers and targeting

When effects fire and whom they pick.

Nearly everything that happens in a fight beyond walking and attacking is built from three parts: a moment (the trigger event or a cast), a choice of units (the targeting mode) and something done to them (the effect). This page lists every one of each that Warspire has, with how many things use it. For the moment a unit casts, see Mana and casting; for the fight as a whole, Combat.

Trigger events

A trigger is a rule of the form: when this happens, do that. Units get triggers from their abilities, their item, their alliances, aces, auras and, for commanders, talents. The unit holding the trigger is its owner; many events also have an event unit, the other party to whatever happened.

Rules common to all triggers

  • Order: events raised during a tick are queued and resolved in the order they happened, within the same tick. Units are only checked for death after the whole queue is done, so everything in a tick counts as simultaneous. See Combat.
  • Chance: a trigger may have a percentage chance, rolled each time its event happens.
  • Cooldown: a trigger may have a cooldown. It starts when the trigger actually fires (after a successful chance roll), and events during it are ignored.
  • Once: a trigger marked once fires a single time per fight. A failed chance roll does not use it up.
  • Dead owners: a dead unit's triggers do nothing, with the one exception of dying itself.
  • Disables: a stun or silence does not stop triggers.
  • Who is affected: a trigger may name a targeting mode. Without one, the effects fall on the event unit for when its attack lands, when it is hit by an attack, when it lands a critical hit, when it evades an attack and when it takes damage, and on the owner for every other event.
  • Trigger damage never sets off when damaged triggers, and is not an attack, so it sets off no attack triggers either.
  • Numbers may differ by star level or commander level, using the owner's level. See Scaling.
  • Global items: a trigger on a global item is given to every unit you field when it affects the owner or the event unit. Any other targeting makes it fire once for your whole side; it is then carried by your first unit in turn order and stops working if that unit dies.
EventFiresUsesUsed by
Start of combatOnce, before the first tick.443 abilities, 17 items, 3 alliances, 19 talents and 2 units
When its attack landsEach attack of the owner that hits.212 abilities, 12 items, 6 alliances and 1 unit
When it lands a critical hitEach attack of the owner that crits.11 alliance
When it is hit by an attackEach attack that hits the owner.44 items
When it evades an attackEach attack the owner evades.11 alliance
When it takes damageEach hit from an attack or a cast ability.11 unit
When its health falls below a thresholdOnce, when damage leaves it under a share of health.41 ability and 3 items
When it kills a unitEach time the owner gets a kill.22 abilities
When it diesOnce, as the owner dies.54 alliances and 1 unit
When an ally diesEach time another unit of its side dies.11 unit
When it revivesWhen the owner comes back from death.11 alliance
When it survives a killing blowWhen the owner is saved at 1 health.0unused
When it casts an abilityAfter each cast of the owner.61 item, 4 alliances and 1 unit
Every few secondsOn a fixed interval for the whole fight.96 items, 1 alliance and 2 units
At each overtime stepEach step of overtime, on every living unit.0unused

Start of combat

Fires once for every unit on the board before anything moves, in turn order. All start of combat effects resolve together, and any unit they kill is removed before the first tick.

  • A unit summoned during the fight fires its own start of combat triggers at the moment it appears, including the ones that alliances and auras hand to it (see which bonuses a summoned unit receives).
  • A commander's talent bonuses are applied this way, see How commanders work.
  • There is no event unit. With no targeting given, the effects fall on the owner.

Used by 3 abilities, 17 items, 3 alliances, 19 talents and 2 units. Examples: Pact Retinue, Stalwart Pennant, Mirefolk, Hardened Hide, Skitterling, Pickpocket, Shroud Pennant, Thornkin and 36 more.

When its attack lands

Fires on the attacker each time one of its attacks hits, after the damage and any lifesteal. An attack that is evaded or that misses (its target died or became untargetable) does not fire it. See Combat.

  • The event unit is the unit that was hit, even if that hit killed it.
  • It fires for melee hits at the end of the wind up and for ranged hits when the projectile arrives.
  • Extra attacks fire it too, except for triggers that would grant more extra attacks, so they cannot chain.
  • Ability damage is not an attack and does not fire it.
  • A projectile that lands after its shooter has died still deals its damage but fires none of the shooter's triggers.

Used by 2 abilities, 12 items, 6 alliances and 1 unit. Examples: Kindling, Barbed Dart, Feral, Skitterling, Wildfire, Corroding Axe, Stalker, Adderfang Orb and 13 more.

When it lands a critical hit

Fires on the attacker when an attack that hit was a critical hit, straight after its attack lands triggers. The same rules apply, and the event unit is the unit that was hit. Critical chance is explained under Stat reference.

Used by 1 alliance. Examples: Cutthroat.

When it is hit by an attack

Fires on the defender each time an attack hits it, after the damage. It fires even when the hit is lethal, because deaths are only settled at the end of the tick. Evaded attacks do not fire it. The event unit is the attacker.

Compare when damaged, which also answers to ability damage.

Used by 4 items. Examples: Barbed Hauberk, Zephyr Staff, Squall Sceptre, Hexing Wand.

When it evades an attack

Fires on the defender each time it evades an attack. The attack deals no damage and fires none of the attacker's triggers. The event unit is the attacker. Evasion is explained under Damage, armour and resistance.

Used by 1 alliance. Examples: Shade.

When it takes damage

Fires on a unit each time it takes damage from an attack or from an ability cast, as long as some damage remains after armour or resistance. Damage fully soaked by a shield still counts. The event unit is the unit that dealt the damage.

  • It does not fire for damage over time, for the damage of overtime, or for damage dealt by another trigger. That last rule stops two reflecting effects from bouncing damage for ever.
  • It fires even if the damage is lethal, because deaths are only settled at the end of the tick.

Used by 1 unit. Examples: Duskmother.

When its health falls below a threshold

Checked every time the unit takes damage and survives. It fires if the unit's health is then below the threshold, a percentage of its maximum health (50% unless the trigger says otherwise). The event unit is whoever dealt the damage.

  • It fires once per fight unless the trigger says otherwise.
  • Any damage can set it off, including damage over time and overtime damage.
  • It only looks at health after damage. Losing maximum health or starting the fight low does not fire it until the unit is next damaged.
  • If the trigger has a chance and the roll fails, it may roll again the next time the unit is damaged while still below the threshold.

Used by 1 ability and 3 items. Examples: Smoke and Mirrors, Lastlight Disc, Restorer's Reliquary, Crimson Reliquary.

When it kills a unit

Fires on the killer when a unit dies, if the killer is still alive. The killer is the unit that last damaged the victim, by any means, including damage over time. The event unit is the victim, which is already dead, so effects aimed at the event unit find nobody; kill triggers usually reward the killer.

  • A unit that revives was not killed and fires nothing.
  • Deaths from overtime damage alone, or a summon running out of time, have no killer.

Used by 2 abilities. Examples: Pickpocket, Grand Heist.

When it dies

Fires on the dying unit. It is the one event whose owner is allowed to be dead. The event unit is the killer, if there was one.

  • A dead unit cannot select itself, so death effects are things like summons, or effects with their own targeting such as damage around the body.
  • A unit that revives does not die and does not fire it.
  • A summoned unit whose time runs out does fire it.
  • Units that die in the same tick all fire, in turn order.

Used by 4 alliances and 1 unit. Examples: Ashen, Blood Matriarch, Oathbound, Riftborn, Artificer.

When an ally dies

Fires on every living unit of the dead unit's side, for each death. The event unit is the ally that died. Summons and placeables count as allies in both directions.

Used by 1 unit. Examples: Restless Gravestone.

When it revives

Fires on a unit that has just revived, after its health is restored and its timed debuffs are removed. The event unit is the unit that would have killed it.

Used by 1 alliance. Examples: Ashen.

When it survives a killing blow

Fires on a unit when its protection from a killing blow is used up. The event unit is the unit that dealt the blow.

Nothing in the game uses this at present.

When it casts an ability

Fires on the caster straight after the effects of its ability resolve, for abilities paid for with mana and for cooldown abilities alike. The event unit is the first unit the cast selected, if any.

  • Passive abilities, auras and triggers are not casts.
  • A cast that is interrupted by a stun or silence never happened and fires nothing.

Used by 1 item, 4 alliances and 1 unit. Examples: Renewal Orb, Abyssal, Soul Tyrant, Soulbinder, Wyrmblood, Triad.

Every few seconds

Fires each time its interval has passed. The clock starts when the fight starts, or when the unit is summoned, and runs in ticks of 0.1 seconds. The first firing comes one full interval in.

  • The clock keeps running while the owner is stunned or silenced.
  • There is no event unit. With no targeting given, the effects fall on the owner.

Used by 6 items, 1 alliance and 2 units. Examples: Mossweave Circlet, Swarmkin, Sunfruit Tree, Brookwalker Sandals, Mending Totem, Fatespark Rod, Dawnfire Brazier, Titan's Heart and 1 more.

At each overtime step

Fires on every living unit at the start of each step of overtime, just before that step's damage. There is no event unit.

Nothing in the game uses this at present.

Targeting modes

A targeting mode decides which units an ability or trigger affects. An ability has one mode for the whole cast; a trigger has one for its effects; and any single effect inside either may name its own mode, which then replaces the shared one for that effect only.

Rules common to all modes

  • Untargetable enemies are left out of every mode that selects enemies. Allies can always be selected. See Untargetable.
  • Dead units are never selected.
  • Distance is counted in cells, and a diagonal step counts as one cell. A radius of one is the eight cells around a unit.
  • Turn order, the last tie breaker, is the order units were placed in: each side's front row first, then by column, the two sides alternating, and summoned units after everyone else in the order they appeared.
  • Selection happens when the effect resolves, not when a cast begins, so a unit that died or moved during the cast point is judged where it is at the end.
  • Radius and count may differ by star level or commander level.
  • Cast range: an ability with a range is only cast when the unit's target is within that many cells, except for abilities that affect the caster, all allies or all enemies. See Mana and casting.
  • Random picks use the fight's own random sequence, so a replay of the same fight makes the same picks.
ModeSelectsUsesUsed by
SelfThe owner or caster.6329 abilities, 12 items, 6 alliances, 11 talents and 5 units
Event unitThe other unit in the event.82 abilities, 5 items and 1 unit
Current targetThe enemy the unit is fighting.228 abilities, 9 items and 5 alliances
Closest enemyThe nearest enemy.0unused
Lowest health allyThe most wounded allies.53 abilities, 1 alliance and 1 unit
Lowest health enemyThe most wounded enemies.53 abilities, 1 item and 1 alliance
Farthest enemyThe most distant enemies.87 abilities and 1 item
Random enemyEnemies picked at random.77 abilities
Random allyAllies picked at random.33 abilities
Random cellsBlasts on random cells of the board.22 abilities
All enemies in a radiusEvery enemy near a centre.3831 abilities, 4 items and 3 alliances
All allies in a radiusEvery ally near a centre.173 abilities, 11 items, 1 alliance and 2 units
LineEnemies along a line through the target.55 abilities
Alliance membersEvery ally of the granting alliance.0unused
Other alliance membersMembers of the alliance except the owner.22 alliances
Random other alliance memberOne other member at random.11 unit
All enemiesEvery enemy on the board.22 abilities
All alliesEvery ally on the board.166 abilities, 1 item, 1 alliance and 8 talents

Self

Selects the unit that owns the trigger or casts the ability, if it is alive. A dead unit selects nobody, which matters for death triggers.

Used by 29 abilities, 12 items, 6 alliances, 11 talents and 5 units. Examples: Ember Vow, Stepstone Charm, Feral, Hardened Hide, Soul Tyrant, Blood Frenzy, Palisade Stakes, Riftborn and 55 more.

Event unit

Selects the event unit of the trigger: the unit hit, the attacker, the killer and so on, as listed for each event above. It selects nobody if there is no event unit, if that unit is dead, or if it is an enemy that has become untargetable. It is never replaced by another unit.

Used by 2 abilities, 5 items and 1 unit. Examples: Kindling, Barbed Hauberk, Skitterling, Wildfire, Zephyr Staff, Squall Sceptre, Titanbane Spear, Hexing Wand.

Current target

Selects one enemy, the first of these that exists:

  • the event unit, if the effect comes from a trigger and that unit is a living, targetable enemy;
  • the enemy the unit is currently attacking or walking toward, if it can still be targeted;
  • otherwise the closest enemy.

This is what an ability uses when it names no targeting at all. How a unit chooses whom to attack is explained under Combat.

Used by 8 abilities, 9 items and 5 alliances. Examples: Frost Sigil, Barbed Dart, Cutthroat, Undertow, Corroding Axe, Stalker, Goring Charge, Adderfang Orb and 14 more.

Closest enemy

Selects the single nearest targetable enemy. Distance is counted in cells with diagonals as one. Ties are broken in this order:

  • for a melee unit, an enemy straight along a row or column before one on a diagonal;
  • the enemy with less current health;
  • the unit earlier in turn order.

Nothing in the game uses this at present.

Lowest health ally

Selects the living allies with the lowest share of health remaining, as many as the count says (one unless stated). The caster is included and may pick itself.

Ties: the lower share of health first, then the lower health in points, then the unit earlier in turn order. Shields are not counted as health.

Used by 3 abilities, 1 alliance and 1 unit. Examples: Mire Draught, Soulbinder, Soul Tyrant, Purging Light, Briar Blessing.

Lowest health enemy

Selects the targetable enemies with the lowest share of health remaining, as many as the count says, anywhere on the board. Ties: the lower share of health first, then the lower health in points, then the unit earlier in turn order.

Used by 3 abilities, 1 item and 1 alliance. Examples: Seeker Rockets, Fatespark Rod, Ironsight, Thrall Mark, Binding Mark.

Farthest enemy

Selects the targetable enemies farthest from the caster, as many as the count says. Distance is counted in cells with diagonals as one. On a tie, the unit earlier in turn order is chosen.

Used by 7 abilities and 1 item. Examples: Grave Chain, Stepstone Charm, Phase Lunge, Riptide Spring, Long Shot, Null Step, Crimson Tithe, Skitter Lunge.

Random enemy

Selects targetable enemies at random, each equally likely, as many as the count says and never the same one twice. If a radius is given, only enemies within that many cells of the caster can be picked. With fewer candidates than the count, all of them are selected.

Used by 7 abilities. Examples: Searing Torment, Barrel Barrage, Barrel Avalanche, Toxic Twirl, Pickpocket, Venom Cyclone, Grand Heist.

Random ally

Selects living allies at random, each equally likely, as many as the count says and never the same one twice. The caster can be picked. If a radius is given, only allies within that many cells of the caster can be picked.

Used by 3 abilities. Examples: Barrel Barrage, Barrel Avalanche, Overcharge.

Random cells

A bombardment. The count is the number of strikes. Each strike lands on a cell chosen at random from the whole board, with every cell equally likely, and hits every targetable enemy within the radius of that cell.

  • The same cell can be struck more than once, and a strike can hit nobody.
  • An enemy caught in several strikes is affected once per strike.
  • Allies are never hit.

Used by 2 abilities. Examples: Bomb Brigade, Carpet of Bombs.

All enemies in a radius

Selects every targetable enemy within the radius of a centre. The centre is the caster, unless the ability is centred on its target, in which case it is the current target. Distance is counted in cells with diagonals as one, so the area is a square.

  • Centred on the target with a radius of zero, only the target itself is selected.
  • If it is centred on the target and no enemy can be targeted, nobody is selected.
  • There is no limit on the number selected and no ordering between them.

Used by 31 abilities, 4 items and 3 alliances. Examples: Rivet Burst, Thunderchain Baton, Artificer, Static Bloom, Sweeping Warblade, Wyrmblood, Grit Blast, Dawnfire Brazier and 30 more.

All allies in a radius

Selects every living ally within the radius of a centre, the caster included when it is in range. The centre is the caster, unless the ability is centred on its target, in which case the allies around the current target (an enemy) are selected.

Used by 3 abilities, 11 items, 1 alliance and 2 units. Examples: War Chant, Mossweave Circlet, Ashen, Sunfruit Tree, Rallying Banner, Stalwart Pennant, Mending Totem, Cinder Mantle and 9 more.

Line

Draws a line of cells from the caster through its current target and selects every targetable enemy on it.

  • The line starts at the cell next to the caster and runs for the ability's range in cells. With no range it runs to the edge of the board.
  • The radius is the half width of the line: zero selects only enemies on the line's own cells, one also selects enemies beside it.
  • The line continues past the target, so enemies behind it are hit too.
  • With no enemy to aim at, nobody is selected.

Used by 5 abilities. Examples: Barbed Volley, Hurled Hatchets, Skyfall Arrow, Wyrmfire Gout, Jade Breath.

Alliance members

For triggers granted by an alliance: selects every living ally that belongs to that alliance, the owner included. Used anywhere else, it selects just the owner.

Nothing in the game uses this at present.

Other alliance members

For triggers granted by an alliance: selects every living ally of that alliance other than the owner. Used anywhere else, it selects nobody.

Used by 2 alliances. Examples: Abyssal, Oathbound.

Random other alliance member

For triggers granted by an alliance: selects one living ally of that alliance other than the owner, each equally likely. With no other member alive, or used anywhere else, it selects nobody.

Used by 1 unit. Examples: Blood Matriarch.

All enemies

Selects every living enemy that can be targeted, wherever it stands.

Used by 2 abilities. Examples: Free-for-All, Grand Melee.

All allies

Selects every living unit of the caster's side, the caster included, along with summons and placeables.

Used by 6 abilities, 1 item, 1 alliance and 8 talents. Examples: Blood Offering, Vowkeeper's Brand, Mirefolk, Infernal Boost, Deep Offering, Warded Crew, Last Round, Rounds for All and 8 more.

Effect types

An effect is one thing an ability or trigger does. Abilities and triggers carry a list of effects, applied in the order written to the units their targeting selected.

Rules common to all effects

  • Chance: an effect may have its own percentage chance, rolled once per cast for the whole effect, not once per target.
  • Own targeting: an effect may select its own units instead of using the ones the ability selected.
  • Order: effects apply top to bottom at once, so a later effect sees what an earlier one did. A unit brought to zero health by the first effect is still there for the second; deaths are settled at the end of the tick.
  • Amounts may differ by star level or commander level, using the caster's level. See Scaling.
EffectWhat it doesUsesUsed by
DamageDeals damage to each unit selected.6550 abilities, 9 items and 6 alliances
HealRestores health to each unit selected.137 abilities, 3 items, 1 alliance and 2 units
ShieldGives a pool that soaks damage.53 abilities and 2 items
Apply a status effectPuts a timed status effect on each unit selected.12669 abilities, 22 items, 12 alliances, 18 talents and 5 units
SummonCreates new units beside the caster.2110 abilities, 6 items, 3 alliances, 1 talent and 1 unit
LeapMoves the caster next to an enemy at once.65 abilities and 1 item
Mana burnRemoves mana from each unit selected.11 item
Extra attacksLaunches bonus attacks at once.11 alliance
Restore manaAdds mana to each unit selected.43 items and 1 unit
DispelStrips timed status effects.32 abilities and 1 item

Damage

Deals damage of one damage type to every selected unit: physical, magical or pure. With no type given it is magical. The amount can be a flat number, a percentage of the target's maximum health, a percentage of the target's current health, a percentage of the caster's maximum health, or several of these added together.

  • It is reduced by the target's armour or magic resistance and damage reduction, then soaked by shields, as described under Damage, armour and resistance.
  • It is not an attack: it cannot be evaded, cannot crit and gives no lifesteal.
  • Some abilities split their damage: the total is divided evenly among the units selected, so fewer targets each take more.
  • The target gains mana for damage taken. The caster gains none.
  • Cast from an ability it sets off the target's when damaged triggers. Dealt by a trigger it does not.

At present: 32 sources deal magical damage, 26 sources deal physical damage and 7 sources deal pure damage.

Used by 50 abilities, 9 items and 6 alliances. Examples: Rivet Burst, Barbed Hauberk, Artificer, Frost Sigil, Thunderchain Baton, Sundered, Undertow, Skullcrack Maul and 57 more.

Heal

Restores health to every selected unit: a flat amount, a percentage of that unit's maximum health, or both.

  • The amount is changed by the target's healing received and cut by the heal dampening of overtime.
  • Health never goes above the maximum; the excess is lost.
  • Healing is credited to the healer in the fight's statistics.

Used by 7 abilities, 3 items, 1 alliance and 2 units. Examples: Mire Draught, Mossweave Circlet, Ashen, Sunfruit Tree, Purging Light, Restorer's Reliquary, Mending Totem, Briar Blessing and 5 more.

Shield

Gives every selected unit a shield of a set amount, for a duration or, with none given, for the rest of the fight.

  • A shield soaks damage after armour and resistance have reduced it, so armour makes a shield last longer.
  • It soaks every damage type, pure damage and damage over time included.
  • A unit can hold several shields. They add up, and the oldest is used first. Each runs on its own timer.
  • A shield is not a status effect: it has no stacks and cannot be dispelled.

Used by 3 abilities and 2 items. Examples: Ember Vow, Resonance Mantle, Cinder Mantle, Sanctuary Bell, Prism Veil.

Apply a status effect

Puts a status effect on every selected unit, either one of the named effects or stat changes of the ability's own. The duration given by the ability is used; without one, the effect's own default; without either, it lasts the rest of the fight.

Everything about what happens next is on the status effects page: reapplying and stacking, expiry, disables and dispelling.

Used by 69 abilities, 22 items, 12 alliances, 18 talents and 5 units. Examples: Rivet Burst, Barbed Dart, Feral, Hardened Hide, Blood Matriarch, Frost Sigil, Stalwart Pennant, Abyssal and 118 more.

Summon

Creates one or more units on the caster's side. See Summons and placeables for the units themselves.

  • Each appears on the free cell nearest the caster. If the board has no free cell, the rest are not summoned.
  • The star level is set by the ability, or is the caster's own.
  • With a duration, the summon dies when it runs out, which counts as a death with no killer.
  • It receives the lasting bonuses that reach every ally (alliance steps and aces that affect all allies, auras and global items) and the member bonuses of the alliances it belongs to itself, which for summoned creatures means Conjurer. The alliances of the unit that summoned it do not matter. See Summoned units and lasting bonuses.
  • It fires its own start of combat triggers on arrival.
  • It starts at full health with no mana.
  • Summoning needs no selected unit, so it works from death triggers.

Used by 10 abilities, 6 items, 3 alliances, 1 talent and 1 unit. Examples: Call Sapling, Palisade Stakes, Riftborn, Second Retainer, Restless Gravestone, Raise Bramble Golem, Straw Decoy, Thornkin and 13 more.

Leap

The caster jumps instantly to the far side of an enemy: the cell directly behind it as seen from the caster's side of the board, or the nearest free cell to that.

  • The enemy is the first enemy among the units selected. With none, it is the farthest targetable enemy.
  • That enemy becomes the caster's attack target.
  • A step or attack wind up in progress is dropped. A root does not prevent the leap.

Used by 5 abilities and 1 item. Examples: Phase Lunge, Stepstone Charm, Riptide Spring, Null Step, Crimson Tithe, Skitter Lunge.

Mana burn

Removes up to a set amount of mana from every selected unit. A unit with no mana bar is unaffected.

  • If the effect has a damage type, the target also takes damage equal to the mana actually removed, times a multiplier if one is given.

Used by 1 item. Examples: Manaflay Blade.

Extra attacks

The caster launches a number of extra attacks at the first enemy among the units selected, all at once, with no wind up and without using its attack cooldown.

  • Each is a full attack: it rolls damage, can crit, can be evaded, gives mana and lifesteal.
  • Each sets off attack lands triggers, except triggers that grant extra attacks, so they never chain.
  • Nothing happens if the caster is stunned or disarmed, or if the enemy can no longer be targeted.
  • Ranged units fire them as projectiles that take the usual time to arrive.

Used by 1 alliance. Examples: Stalker.

Restore mana

Adds a set amount of mana to every selected unit, up to its maximum. It is not changed by bonuses to mana gain. Units with no mana bar are unaffected.

Used by 3 items and 1 unit. Examples: Brookwalker Sandals, Sunfruit Tree, Stepstone Charm, Renewal Orb.

Dispel

Removes timed status effects from every selected unit. By default it removes debuffs from the caster and its allies and buffs from enemies; an ability may name what to remove instead. Lasting effects are never removed. Full rules are under Dispelling and immunity.

At present all 3 dispels in the game remove debuffs from the caster or its allies. Nothing removes buffs from an enemy.

Used by 2 abilities and 1 item. Examples: Purging Light, Nullfire Mantle, Smoke and Mirrors.