Combat System

From Binary-Tools Wiki
Jump to navigation Jump to search



Kingdoms Logo.png Legends Logo.png This article is about a feature, which exists in Travian: Legends as well as Travian Kingdoms. Version specific features are marked with a kingdoms or legends icon.


The combat system in Travian: Legends and Travian Kingdoms is quite complex and the outcome of a single attack depends on many different factors.

Overview

In combat, a lot of things happen. Some of those influence each other, so the order of execution is important to understand.

Attacks and Sieges

In an attack or Travian Kingdoms siege the following will happen in this specific order:

  1. Rams attack the wall and demolish it to some intermediate level, which will be used later. The intermediate level is never shown in the report or explicitly visible anywhere.
  2. Troops fight each other until one side is completely dead.
  3. Rams attack once again and demolish the wall to its final level, which will be visible in the report.
  4. Catapults shoot.
  5. Surviving chiefs lower loyalty.
  6. Travian Kingdoms The attacker steals treasures, if the hero survives.
  7. Surviving attackers steal resources.
  8. Travian: Legends The attacking hero steals the artefact, if he can store it and one exists.

Raids

In a raid, rams, catapults and chiefs don't work and troops don't fight until one side is completely dead. Order of execution:

  1. Troops fight each other until either one side is completely dead or the sum of losses in percent equals Travian: Legends 100% / Travian Kingdoms 103.2%. For details, see below.
  2. Surviving attackers steal resources.

Espionage

Espionage is fundamentally different from other attacks in some ways:

  • The defender doesn't see that attack coming.
  • The defender can't lose any troops.
  • Only the scouts of both partys fight, other troops are not involved.
  • The defender is only informed about the attack, if he kills at least one attacking scout.

Only one thing happens during espionages:

  1. Defending scouts kill attacking scouts they notice.

Fighting strength calculation

Calculation for attackers

Step Description Formula Example Notes
1 Take the unit's base attack strength. Clubswingers: 40
2 Apply the upgrades of the smithy for each unit.
  • Supply refers to the base crop consumption before any modifiers like horse drinking trough, WW-village buff or Travian: Legends artefacts.
  • The smithy level of the home village of the unit is used.
3 Apply the hero's weapon bonus.
  • The weapon must be equipped and the hero must attack with the units to apply the bonus.
4 Apply the hero's attack bonus.
  • The hero must participate in the fight for the bonus to apply.
5 Apply the brewery bonus, if applicable.
  • This applies only for teutons
  • This applies only, if the capital of the attacker celebrates a party in the brewery at the time of the attack.
  • This explicitly applies, if the hammer is not built in the capital, aswell.
6 Travian Kingdoms Apply the siege bonus.
  • Only applies, if the attack is sent as siege.
7 Sum up the strength of all attacking troops in this attack.
  • To get the infantry attack strength, sum up all non-cavalry units (i.e. infantry, rams, catapults, chiefs and settlers).
  • To get the cavalry attack strength, sum up all cavalry units.

Calculation for defenders

Step Description Formula Example Notes
1 Take the unit's base attack strengths. Phalanx:

40 vs infantry, 50 vs cavalry

2 Apply the upgrades of the smithy for each unit.
  • This is calculated once for defense versus infantry, one for defense versus cavalry.
  • Supply refers to the base crop consumption before any modifiers like horse drinking trough, WW-village buff or Travian: Legends artefacts.
  • The smithy level of the home village of the unit is used.
3 Calculate the defense strength.
  • The attack infantry/calvalry strength refers to the total attack strength of the attack, that was calculated before.
4 Apply the hero's weapon bonus.
  • The hero must participate in the fight for the bonus to apply.
  • For Travian: Legends, the bonus applies only to the units that have the same home village as the hero.
  • For Travian Kingdoms, the highest bonus per unit type is applied to all units. This explicitly can buff foreign troops and a hero can explicity equip the weapon of another tribe and still make use of the bonus. Only one bonus is applied per unit, so multiple weapons have no additional effect.
5 Apply the hero's defense bonus.
  • The hero must participate in the fight for the bonus to apply.
  • The bonus applies for all troops of the same account as the hero. This is true for Travian: Legends and Travian Kingdoms.
6 Sum up the strength of all defending units.
7 Add the hero's fighting strength.
8 Add the base strength of residence / palace / Travian: Legends command centre.
9 Apply the wall and Travian Kingdoms water ditch bonus.
10 Add the wall's base strength.
11 Add the base defense.