Default Game Speed

Log in to vote!

Currently Online

Latest Posts

Changes in SoldierLevels

Editor Comment

Corrected the domcumentation to match the code and eleminating one calculation error

Revision Differences of Revision 7

# Soldier levels, training and fighting ¶

##Soldier levels ¶
A soldier starts with level 0 in each category. In the training buildings (see table), they can be trained in four categories: Attack (=AT), Defense (=DE), Evade (=EV), Healthpoints (=HP). ¶
Which category is trained up to which level in which training building is shwon in the table. For example the Empire Evade is trained in the Arena from level 0 to level 1 and in the Colosseum from level 0 to level 1 to level 2. ¶

You can see the levels of a soldier when he is in a military building: The levels are shown by the emblems and explained when you mouse over a soldier in a military building window with your mouse. ¶

##Training ¶

![trainingsites.png](/wlmedia//wlimages/trainingsites.png) ¶

##Fighting ¶
Every fight between two soldiers is a calculation of their levels: ¶

* Attack is the potential damage which is inflicted on the other soldier ¶
* Defense
mproceans theual reduction ofes the potential damage ¶
* Evade is the probability to not be hit at all in % (so attack and defense means nothing in this case) ¶
* Healthpoints is the actual account, from which the result will be subtracted. There are two types of HP: HP level and actual HP. The HP level (shown by the emblem) is the maximum HP which is actual before a fight or after recreation. The actual HP (shown by the bar in the player color under the emblems) is the actual healthiness of the soldier. If the actual HP are 0, the soldier is dead. Actual HP are restored when the soldier heals/recovers in a own military building. ¶

For example: A fully healed/recovered Barbarian with ¶
Attack level 2 (value 26-30, in this example we take 28), ¶
Defense level 0 (value 3), ¶
Evade level 1 (40%), ¶
Healthpoint level 3 (value 214) ¶

attacks a fully healed/recovered Atlantean with ¶
Attack level 2 (value 28-32, in this example we take 30), ¶
Defense level 1 (value 14), ¶
Evade level 1 (47%), ¶
Healthpoint level 0 (value 135). ¶

The fight consists of several sections: When the Barbarian is the aggressor, he is the first to try to hit the Atlantean. In the next section, the Atlantean tries to hit the Barbarian. This continues until one of them has no more actual HP. ¶
So let‘s look on the calculations: ¶
The Barbarian tries to hit the Atlantean: ¶

* 47% chance for not hitting, which means no loss in actual healthpoints for the Atlantean. ¶
* 53% (=100%-47%) chance for hitting: actual Healthpoints of the Atlantean are 135 -
round_downwards(28 * (100 - 14) / 100) = 1211. ¶

The next section of the fight is begun by the Atlantean and goes the same way: ¶

* 40% chance for the Barbarian to keep all actual HP. ¶
* 60% chance to have
21354 - round_downwards(30 * (100 - 3) / 100) = 1085. ¶
The fight is over when one of them dies = has no more actual HP. ¶

##Some more facts to note ¶
* The levels are tribe specific. So an evade level 2 means 55% chance to evade for a bearish Barbarian, but 64% chance to evade for an agile Atlantean (see table). ¶
* Attack has a random value within the interval shown in the table. So in every section of the battle, there is some hazard, if there is a lighter or stronger attack. ¶
* The healing/ recreation in the military buildings corresponds with the actual HP. So the „heal per second“ given in the conf files has the unit actual HP/sec. ¶