Difference between revisions of "Translations:Combat System/22/en"

From Binary-Tools Wiki
Jump to navigation Jump to search
(Importing a new version from external source)
 
(Importing a new version from external source)
 
Line 2: Line 2:
 
! Step || Description || Formula || Example || Notes
 
! Step || Description || Formula || Example || Notes
 
|-
 
|-
| 1 || Take the unit's base attack strengths. || || Phalanx:  
+
| 1 || Take the unit's base attack strengths. ||  
 +
| Phalanx:  
 
40 vs infantry,  
 
40 vs infantry,  
50 vs cavalry ||  
+
50 vs cavalry
 +
|
 
|-
 
|-
 
| 2 || Apply the upgrades of the smithy for each unit. || <math>\text{leveled strength} = \text{base strength} + (\text{base strength} + \text{supply} \cdot \frac{300}{7}) \cdot (1.007^\text{unit level in smithy} - 1)</math> ||  
 
| 2 || Apply the upgrades of the smithy for each unit. || <math>\text{leveled strength} = \text{base strength} + (\text{base strength} + \text{supply} \cdot \frac{300}{7}) \cdot (1.007^\text{unit level in smithy} - 1)</math> ||  

Latest revision as of 13:13, 27 March 2020

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (Combat System)
{| class="wikitable"
! 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. || <math>\text{leveled strength} = \text{base strength} + (\text{base strength} + \text{supply} \cdot \frac{300}{7}) \cdot (1.007^\text{unit level in smithy} - 1)</math> || 

* 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 {{SwitchVersion|legends=artefacts}}.
* The smithy level of the home village of the unit is used.
|-
| 3 || Calculate the defense strength. || <math>\text{strength} = \text{defense vs infantry} \cdot \frac{\text{attack infantry strength}}{\text{total attacking power}} + \text{defense vs cavalry} \cdot \frac{\text{attack cavalry strength}}{\text{total attacking power}}</math> ||

* 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. || <math>\text{new value} = \text{leveled strength} + \text{weapon bonus}</math> ||

* 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. || <math>\text{new value} = \text{old value} \cdot (1 + \frac{\text{points in def bonus}}{100} \cdot 20%)</math> || 

* 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 / {{SwitchVersion|legends=command centre}}. || || || 
|-
| 9 || Apply the wall and {{SwitchVersion|kingdoms=water ditch}} bonus. || <math>\text{new value} = \text{old value} \cdot (\text{wall bonus} + \text{water ditch bonus})</math> || || 
|-
| 10 || Add the wall's base strength. || <math>\text{new value} = \text{old value} + \text{wall base strength}</math> || || 
|-
| 11 || Add the base defense. || <math>\text{new value} = \text{old value} + 10</math> || || 
|}
Translation{| class="wikitable"
! 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. || <math>\text{leveled strength} = \text{base strength} + (\text{base strength} + \text{supply} \cdot \frac{300}{7}) \cdot (1.007^\text{unit level in smithy} - 1)</math> || 

* 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 {{SwitchVersion|legends=artefacts}}.
* The smithy level of the home village of the unit is used.
|-
| 3 || Calculate the defense strength. || <math>\text{strength} = \text{defense vs infantry} \cdot \frac{\text{attack infantry strength}}{\text{total attacking power}} + \text{defense vs cavalry} \cdot \frac{\text{attack cavalry strength}}{\text{total attacking power}}</math> ||

* 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. || <math>\text{new value} = \text{leveled strength} + \text{weapon bonus}</math> ||

* 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. || <math>\text{new value} = \text{old value} \cdot (1 + \frac{\text{points in def bonus}}{100} \cdot 20%)</math> || 

* 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 / {{SwitchVersion|legends=command centre}}. || || || 
|-
| 9 || Apply the wall and {{SwitchVersion|kingdoms=water ditch}} bonus. || <math>\text{new value} = \text{old value} \cdot (\text{wall bonus} + \text{water ditch bonus})</math> || || 
|-
| 10 || Add the wall's base strength. || <math>\text{new value} = \text{old value} + \text{wall base strength}</math> || || 
|-
| 11 || Add the base defense. || <math>\text{new value} = \text{old value} + 10</math> || || 
|}
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.