Difference between revisions of "Combat System"
(Marked this version for translation) |
|||
Line 10: | Line 10: | ||
<!--T:4--> | <!--T:4--> | ||
− | The fighting strength of each unit depends on several factors and is calculated as follows: | + | The fighting strength of each unit in a combat depends on several factors and is calculated as follows. |
+ | |||
+ | Calculation for attackers: | ||
+ | |||
+ | {| class="wikitable" | ||
+ | ! 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. || <math>\text{leveled strength} = \text{base strength} + (\text{base strength} + \text{crop consumption} \cdot \frac{300}{7}) \cdot (1.007^\text{unit level in smithy} - 1)</math> || | ||
+ | | | ||
+ | * Crop consumption refers to the base crop consumption before any modifiers like horse drinking trough, WW-village buff or {{SwitchVersion|legends=artefacts}}. | ||
+ | * The smithy level of the home village of the unit is used. | ||
+ | |- | ||
+ | | 3 || Apply the hero's weapon bonus. || <math>\text{new value} = \text{leveled strength} + \text{weapon bonus}</math> || | ||
+ | | | ||
+ | * The weapon must be equipped and the hero must attack with the units to apply the bonus. | ||
+ | |- | ||
+ | | 4 || Sum up the strength of all attacking troops in this attack. || || || | ||
+ | |- | ||
+ | | 5 || Apply the hero's attack bonus. || <math>\text{new value} = \text{old value} \cdot (1 + \frac{points in off bonus}\frac{100} \cdot 20%</math> || || | ||
+ | |- | ||
+ | | 6 || Apply the brewery bonus, if applicable. || <math>\text{new value} = \text{old value} \cdot (1 + \text{Brewery level}%)</math> || | ||
+ | | | ||
+ | * 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. | ||
+ | |- | ||
+ | | 7 || {{SwitchVersion|kingdoms=Apply the siege bonus.}} || <math>\text{new value} = \text{old value} \cdot 1.33</math> || | ||
+ | | | ||
+ | * Only applies, if the attack is sent as siege. | ||
+ | |} | ||
<!--T:5--> | <!--T:5--> |
Revision as of 12:28, 27 March 2020
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.
Fighting strength calculation
The fighting strength of each unit in a combat depends on several factors and is calculated as follows.
Calculation for attackers:
- Take the unit's base strength.
- For the attacking troops, this is the raw attack strength, e.g. a clubswinger has a base strength of 40.
- For the defending troops, this is two values, the defense versus infantry and the defense versus cavalry. A phalanx has the values 40 versus infantry and 50 versus cavalry.
- Apply the formula for smithy upgrades of the unit:
Crop consumption refers to the base crop consumption before any buffs (e.g. horse drinking trough, WW-village buff, artefacts) - For the defending troops, the two values for the leveled strength are used to calculate the strength as follows:
Attacking power refers to the total attack power of the attacker, including all boni. Rams, catapults, chiefs and settlers count as infantry. The attacker's hero counts as cavalry, if he equipped a horse, or as infantry otherwise. - Then, the hero's weapon bonus is applied.
- The attacker profits normally from his weapon in both versions.
- For the defender, the hero weapon buffs all units of the same home village as the hero, if he participates in the fight / The strongest hero weapon per troop type in the defending village buffs all units of that troop type, no matter where they come from.
- Lastly, the hero's percentage attack/defense bonus is applied. In both versions, all units of the hero's account benefit from the skillpoints, if the hero participates in the fight.
After that, the strength of all attacking and defending units are added together for the total attack strength and total defense strength respectively.
Now, the hero's fighting strength, and the fighting strength of the residence, palace or command central is added:
Then, the "global" modifiers are applied.
Attack strength modifiers:
- Brewery bonus, if a brewery party is being held at the time of the impact of the attack: +1% per brewery level.
- Siege bonus, if it is a siege: +33%
- Morale malus, if the attacker is larger than the defender (based on population): , capped at 0% and -33.34%. (Yes, this reduces the attack strength by up to 33.34% when attacking a sufficiently small account).
Defense strength modifiers:
- Defense bonus from wall / Sum of defense bonus from wall and water ditch (for instance, the roman city wall level 20 plus a water ditch level 20 grant a total bonus of 111%).
Lastly, the defender gets a flat defense bonus and some flat fighting strength from the wall:
- The defender gets an additional 10 fighting strength conditionlessly.
- The wall's base fighting strength is added.
Overview: Order of execution
During a single attack or siege, but not during scout attacks and raids, a lot of things happen. Some of those influence each other, so the order of execution is important to understand. In every attack and siege, the following will happen:
- 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.
- Troops fight each other until one side is completely dead.
- Rams attack once again and demolish the wall to its final level, which will be visible in the report.
- Catapults shoot.
- Chiefs lower loyalty.