Polytopia Wiki
Advertisement
Polytopia Wiki

Combat occurs when two enemy units attack each other.

Each unit has two damage stats: attack, which determines how much damage it deals when it attacks, and defence, which determines how much retaliation damage it deals when attacked. (Note that the actual amount of damage dealt is usually much greater than the attack or defence stat; for example, a full-health Warrior can deal 5 or more damage even though its attack and defence stats are both 2.) The defence stat also affects how much damage the defender takes; for example, a Rider, with a defence stat of 1, would take much more damage from the same attack than a Defender, with a defence stat of 3. Note that the attacker’s defence stat and the defender’s attack stat are irrelevant.

If a melee unit (e.g. a Warrior) kills an adjacent enemy unit, it will take the place of the killed unit; however, a ranged unit (e.g. an Archer) will not do so.

Damaged units are weaker in all regards. They do less damage both when attacking and in retaliation to attacks and receive more damage when attacked.

Battle Preview[]

An example of the battle preview

The battle preview shows the result of an attack. To see how much damage will be dealt to either unit, hold on (mobile) or hover over (Steam) an enemy unit within range. Sweating indicates that the enemy unit will be killed by the attack, while a black and red ring indicates that the attacking unit will die from retaliation.

Defence Bonus[]

Certain tiles provide a defence bonus to units on them. Tiles of certain terrain types provide a defence bonus once the corresponding technology is researched, and cities without a city wall (not including uncaptured villages) provide a defence bonus to friendly units (invading units besieging a city do not receive any defence bonus). Units with a defence bonus are stronger at defending against attacks, receiving less damage and dealing more retaliation damage. A single shield around the unit's HP indicates that the unit has a defence bonus.

The city wall provides a defence bonus much stronger than the standard defence bonus. A double shield around a unit's HP indicates that the unit is standing in a city with a city wall.

Cities will only provide a defence bonus to units with the fortify skill. For example, a Giant will never receive a defence bonus in a city because it does not have the fortify skill, although it may receive a defence bonus on other tiles.

Icon Terrain Unlocked By
Forest defense.png
Forest Archery
Mountain defense.png
Mountain Climbing
Shallow water defense.png
Shallow water Aquatism
Deep water defense.png
Ocean Aquatism

Healing[]

A damaged unit can recover (heal) instead of moving and/or attacking on any given turn. Healing restores up to 4 HP in friendly territory and 2 HP in neutral or enemy territory. (A unit cannot have more than its maximum HP.)

The Mind Bender can heal all adjacent friendly units by 4 HP instead of moving, attacking, and/or healing itself on any given turn (if there is damaged unit nearby).

Damage Formula[]

Damage is calculated as follows. attackResult is the amount of damage dealt by the attacker, while defenceResult is the amount of retaliation damage dealt by the defender. defenceBonus is equal to 1 when there is no defence bonus, 1.5 for the standard defence bonus, and 4 for the city wall defence bonus. Note that defenceBonus is applied to defenceForce, not defenceResult.

attackForce = attacker.attack * (attacker.health / attacker.maxHealth)
defenseForce = defender.defense * (defender.health / defender.maxHealth) * defenseBonus 
totalDamage = attackForce + defenseForce 
attackResult = round((attackForce / totalDamage) * attacker.attack * 4.5) 
defenseResult = round((defenseForce / totalDamage) * defender.defense * 4.5)

Vision[]

No retaliation occurs if the attacker kills the unit being attacked or the unit being attacked cannot see the attacker (the attacker is hidden by fog).

Mountains provide extra sight (a two tile radius instead of the normal one).

Units with the scout skill can see two tiles in every direction.

Boost[]

The boost icon

The Shaman, a unit unique to the Cymanti tribe, can boost friendly units. Boosted units get +0.5 attack and +1 movement. This effect lasts until the boosted unit attacks another unit, is attacked, uses most abilities, examines a ruin, or captures a village/city.

Poison[]

Poison is applied by Cymanti units and buildings. It reduces defence by 30%, reduces healing by 50%, prevents the unit from receiving any defence bonus, and causes the unit to drop spores (on land) or Algae (in water) upon death. Poison can be removed by self-healing once, a Mind Bender, or a Mycelium. A building that applies poison also deals two damage at the same time.

Resources[]

See also[]

  • Unit skills, which influence the behavior of units in battle
Advertisement