# Changes in SoldierLevels

### Editor Comment

fixed fault in attack random explanation

### Revision Differences of Revision 4

# Soldier levels and fighting ¶

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

##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. ¶

##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 means the reduction of 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), ¶
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), ¶
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. ¶
* 63% (=100%-47%) chance for hitting: actual Healthpoints of the Atlantean are 135 - (28 - 14) = 121. ¶

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 135 - (30-3)= 108. ¶
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). ¶
*
For Attack, the beginning value is a random value within the interval shown in the table. TheSo inc every seasctiong of the bacttle, there is some hazard, if thenre is fa lixghter 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. ¶