Difference between revisions of "Battle Example"

From Xhodon 2
Jump to: navigation, search
(partial)
m (Life Force Determination: ---> Hyperlinks)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{Translate|[[User:Ridens|Ridens]]}}
 
 
This article will help you understand the [[Battle System]] better. The calculations are not exact, as exact values for certain elements are not yet known. The example was staged by the players ''Nix'' and ''badschibo''.
 
This article will help you understand the [[Battle System]] better. The calculations are not exact, as exact values for certain elements are not yet known. The example was staged by the players ''Nix'' and ''badschibo''.
  
Line 12: Line 11:
  
 
'''Attacker'''<br>
 
'''Attacker'''<br>
Hero ''vernichtung'' of ''dichtung'' Experience: 552
+
Hero ''vernichtung'' of ''dichtung'' [[Experience]]: 552
 
{|
 
{|
 
| Creatures || Before || After || Lost
 
| Creatures || Before || After || Lost
 
|- style="text-align:right;"
 
|- style="text-align:right;"
| style="text-align:left;" | Unicorn Cart || 50 || 42 || 8
+
| style="text-align:left;" | [[Unicorn Cart]] || 50 || 42 || 8
 
|- style="text-align:right;"
 
|- style="text-align:right;"
| style="text-align:left;" | Goblins || 200 || 34 || 166
+
| style="text-align:left;" | [[Goblins]] || 200 || 34 || 166
 
|}
 
|}
 
'''Defender'''<br>
 
'''Defender'''<br>
Palace ''kraftort'' of ''kraftstein'' (X:X:X)
+
[[Palace]] ''kraftort'' of ''kraftstein'' (X:X:X)
  
Crystal Tower: 1
+
[[Crystal Tower]]: 1
  
 
Hero ''kraftbein'' of ''kraftstein'' (X:X:X) Experience: 552
 
Hero ''kraftbein'' of ''kraftstein'' (X:X:X) Experience: 552
 
{|
 
{|
| Creatures || Before || After || Lost
+
| [[Creatures]] || Before || After || Lost
 
|- style="text-align:right;"
 
|- style="text-align:right;"
 
| style="text-align:left;" | Goblins || 180 || 82 || 98
 
| style="text-align:left;" | Goblins || 180 || 82 || 98
Line 33: Line 32:
 
</div>
 
</div>
  
The other player's hero's stats will usually not be known to you. Here are the heroes used for this battle:
+
The other player's hero's stats will usually not be known to you. Here are the [[heroes]] used for this battle:
 
  '''Hero Attacker:'''
 
  '''Hero Attacker:'''
 
  Attack:      4
 
  Attack:      4
Line 61: Line 60:
 
  Defense      = Creatures' defense value  + Hero bonus      + Tower bonus    + Damage done by tower
 
  Defense      = Creatures' defense value  + Hero bonus      + Tower bonus    + Damage done by tower
 
               = 180 * 1                    + Bonus (10%)    + Bonus (1%)    + 1 * 80
 
               = 180 * 1                    + Bonus (10%)    + Bonus (1%)    + 1 * 80
               = 180                        + 18              + 1,8            + 80
+
               = 180                        + 18              + 1.8            + 80
               = 279,80
+
               = 279.80
 
This is the damage done by each side in the first battle round. As only Goblins are used, this was rather easy to calculate. The battle system actually calculates the damage for each type of creatures seperately.
 
This is the damage done by each side in the first battle round. As only Goblins are used, this was rather easy to calculate. The battle system actually calculates the damage for each type of creatures seperately.
  
Line 68: Line 67:
 
The damage is now subtracted from each side's Life Force. For this, the battle system first calculates the fractions each type of creatures makes up from the army's total Life Force. Depending on this, greater or lower percentages of the received damages are directed to a creature type.
 
The damage is now subtracted from each side's Life Force. For this, the battle system first calculates the fractions each type of creatures makes up from the army's total Life Force. Depending on this, greater or lower percentages of the received damages are directed to a creature type.
  
Unicorn Carts and Dragon Eggs are exceptions here. Only 10% of their actual Life Force is used to calculate their fraction of the total Life Force.
+
Unicorn Carts and [[Dragon Eggs]] are exceptions here. Only 10% of their actual Life Force is used to calculate their fraction of the total Life Force.
  
 
=== Attacker ===
 
=== Attacker ===
Line 79: Line 78:
 
To calculate the Unicorn Carts' share of the received damage, a different number is used. As said, only 10% of the Unicorn Carts' Life Force is included.
 
To calculate the Unicorn Carts' share of the received damage, a different number is used. As said, only 10% of the Unicorn Carts' Life Force is included.
  
  Life Force for damage distrbution  = 200 * 25 + (50 * 20) '''* 0,1'''
+
  Life Force for damage distrbution  = 200 * 25 + (50 * 20) '''* 0.1'''
 
                                     = 5000    + 100
 
                                     = 5000    + 100
 
                                     = 5100
 
                                     = 5100
Line 96: Line 95:
 
  Damage Goblins          = Total damage * Goblins' Life Force / Total Life Force
 
  Damage Goblins          = Total damage * Goblins' Life Force / Total Life Force
 
                           = 100          * 250 / 400
 
                           = 100          * 250 / 400
                           = 62,50 (* Advantage)
+
                           = 62.50 (* Advantage)
  
 
Damage distributed to the Children of Power:
 
Damage distributed to the Children of Power:
 
  Damage Children of Power = Total damage * Children of Powers' Life Force / Total Life Force
 
  Damage Children of Power = Total damage * Children of Powers' Life Force / Total Life Force
 
                           = 100          * 150 / 400
 
                           = 100          * 150 / 400
                           = 37,50 (* Advantage)
+
                           = 37.50 (* Advantage)
If, for example, all of the 100 total damage was done by [[Ice Warriors]], the damage distributed to your Children of Power would get doubled: 37,5 * 2 = 75.
+
If, for example, all of the 100 total damage was done by [[Ice Warriors]], the damage distributed to your [[Children of Power]] would get doubled: 37.5 * 2 = 75.
 
</div>
 
</div>
  
 
=== Defender ===
 
=== Defender ===
 
  '''Defending creatures' Life Force:'''
 
  '''Defending creatures' Life Force:'''
  Army's Life Force = Goblins' Life Force  + Hero bonus    + Stone Mantle bonus
+
  Army's Life Force = Goblins' Life Force  + Hero bonus    + [[Stone Mantle]] bonus
 
                   = 180 * 25            + Bonus (0%)    + Bonus (0%)
 
                   = 180 * 25            + Bonus (0%)    + Bonus (0%)
 
                   = 4500                + 0            + 0
 
                   = 4500                + 0            + 0
 
                   = 4500
 
                   = 4500
  
== Reduzierung der Lebenspunkte ==
+
== Life Force Reduction ==
Nun wird der Schaden von den Lebenspunkten abgezogen.
+
Now that each army's total life force and each creature type's percentage of it have been calculated, the next step is actually subtracting the damage received.
  
=== Angreifer ===
+
=== Attacker ===
Der Angreifer erleidet 279,80 Schaden, dieser wird auf die beiden Einheitentypen verteilt.
+
The attacking army suffers 279,80 damage which gets distributed among the two creature types:
  
  Schaden gegen Kobolde      = Schaden * Lebenspunkte Kobolde      / Gesamtlebenspunkte
+
  Damage directed to Goblins  = Damage  * Goblins' Life Force  / Total Life Force
                            = 279,80  * (200*25 + Verstärkung(0%)) / 5100
+
                            = 279.80  * (200*25 + Bonus(0%)) / 5100
                            = 274,31
+
                            = 274.31
  
  Verlorene Kobolde          = Schaden auf Kobolde / Lebenspunkte pro Kobold inkl. Verstärkung
+
  Lost Goblins                = Damage directed  / (Goblin's Basic Life Force + Bonuses)
                            = 274,31             / (25 + Verstärkung (0%))
+
                            = 274.31           / (25 + Bonus (0%))
                            = 274,31             / 25
+
                            = 274.31           / 25
                            = 10,97
+
                            = 10.97
  
Es bleiben nach der ersten Kampfrunde bei dem Angreifer noch <tt>200 - 10,97 = 189,03</tt> Kobolde übrig.
+
After the first battle round, the attacker will have <tt>200 - 10,97 = 189,03</tt> Goblins left.
  
  Schaden auf Einhornwagen   = Schaden * reduzierte Lebenspunkte Einhornwagen / Gesamtlebenspunkte
+
  Damage directed to Unicorn Carts   = Damage  * 10% * Unicorn Cart's Life Force / Total Life Force
                            = 279,80  * (50 * 20 + Verstärkung (0%)) * 0,1   / 5100
+
                                    = 279.80  * 0.1 * 50 * (20 + Bonus (0%))    / 5100
                            = 279,80  * 100                                   / 5100
+
                                    = 279.80  * 100                             / 5100
                            = 5,49
+
                                    = 5.49
  
  Verlorene Einhornwagen     = 5,49 / (20 + Verstärkung (0%))
+
  Lost Unicorn Carts     = 5.49 / (20 + Bonus (0%))
                            = 5,49 / 20
+
                        = 5.49 / 20
                            = 0,27
+
                        = 0.27
  
Es bleiben nach der ersten Kampfrunde bei dem Angreifer noch 49,73 Einhornwagen übrig.
+
After the first battle round, the attacker will have <tt>50 - 0.27 = 49.73</tt> Unicorn Carts left.
 +
 
 +
=== Defender ===
 +
The defending army suffers 216 damage total. As only one creature type is present, of course all damage is directed at this one.
 +
Lost Goblins          = Damage directed at Goblins / Goblin's Life Force
 +
                      = 216                        / 25
 +
                      = 8.64
 +
Therefore, the defender has <tt>180 - 8.64 = 171.36</tt> remaining Goblins after round 1.
  
=== Verteidiger ===
+
{{important|title=Please note:|content=You can imagine the decimals to be "injured" creatures. Just like normal rounding, creatures "injured" by more than 50% die.}}
Verteidiger erleidet 216 Schaden, da nur ein Einheitentyp vorhanden ist bekommt dieser natürlich den gesamten Schaden.  
+
Verlorene Kobolde          = Schaden auf Kobolde / Lebenspunkte pro Kobold
+
                            = 216                / 25
+
                            = 8,64
+
Es bleiben nach der ersten Kampfrunde bei dem Verteidiger also noch <tt>180 - 8,64 = 171,36</tt> Kobolde übrig.
+
  
'''Anmerkung:''' Die Nachkommastellen kann man sich gut als "verletzte" Einheiten vorstellen.
+
== Further Rounds ==
 +
This concludes the first battle round - the attacker lost 10.97 Goblins and 0.27 Unicorn Carts while the defender lost 8.64 Goblins. Don't round yet - only after the last round, any creature with less than 50% of their Life Force left dies.
  
== Weitere Runden ==
+
The battle continues like this until one side has only 30% of their initial Life Force left.
Damit ist die erste Kampfrunde beendet und das ganze Spektakel beginnt von neuem. Es wird solange gekämpft, bis eine der beiden Seiten nur noch weniger als 30% ihrer ursprünglichen Lebenspunkte hat. Erst nach der letzten Kampfrunde sterben die verletzten Einheiten. Es wird kaufmännisch gerundet. Das heißt Einheiten, die noch die Hälfte ihrer Lebenspunkte oder mehr haben überleben (bei 0,5 oder darüber wird aufgerundet), Einheiten die weniger als die Hälfte ihrer Lebenspunkte haben sterben (unter 0,5 wird abgerundet).
+
  
 
[[de:Kampfbeispiel]]
 
[[de:Kampfbeispiel]]
 
[[Category:Battle]]
 
[[Category:Battle]]
 
[[Category:Index]]
 
[[Category:Index]]

Latest revision as of 20:09, 13 July 2013

This article will help you understand the Battle System better. The calculations are not exact, as exact values for certain elements are not yet known. The example was staged by the players Nix and badschibo.

Note that this is not a concise explanation but a detailed breakdown of a battle report for players who are more interested in the details.

The Battle Report

We will analyse the following battle report:

You attacked at xx:xx:xx
You were Victorious

Attacker
Hero vernichtung of dichtung Experience: 552

Creatures Before After Lost
Unicorn Cart 50 42 8
Goblins 200 34 166

Defender
Palace kraftort of kraftstein (X:X:X)

Crystal Tower: 1

Hero kraftbein of kraftstein (X:X:X) Experience: 552

Creatures Before After Lost
Goblins 180 82 98

The other player's hero's stats will usually not be known to you. Here are the heroes used for this battle:

Hero Attacker:
Attack:      4
Defense:     0
Life Force:  0
Hero Defender:
Attack:      0
Defense:     4
Life Force:  0

The following calculations explain only the battle's first round.

Damage Determination

The attacker and the defenders' creatures always attack at the same time. Their damage done is subtracted from the enemy creatures' Life Force.

Attacker

Attacking creatures' damage:
Attack       = Creature's attack value    + Hero bonus
             = 200 * 1                    + Bonus (8%)
             = 200                        + 16
             = 216

Defender

The defender gets an additional bonus from their Crystal Tower:

Defending creatures' damage:
Defense      = Creatures' defense value   + Hero bonus      + Tower bonus    + Damage done by tower
             = 180 * 1                    + Bonus (10%)     + Bonus (1%)     + 1 * 80
             = 180                        + 18              + 1.8            + 80
             = 279.80

This is the damage done by each side in the first battle round. As only Goblins are used, this was rather easy to calculate. The battle system actually calculates the damage for each type of creatures seperately.

Life Force Determination

The damage is now subtracted from each side's Life Force. For this, the battle system first calculates the fractions each type of creatures makes up from the army's total Life Force. Depending on this, greater or lower percentages of the received damages are directed to a creature type.

Unicorn Carts and Dragon Eggs are exceptions here. Only 10% of their actual Life Force is used to calculate their fraction of the total Life Force.

Attacker

Attacking creatures' Life Force:
Army's Life Force = Goblins' Life Force  + Hero Bonus    + Unicorn Carts' Life Force  + Hero bonus
                  = 200 * 25             + Bonus (0%)    + 50 * 20                    + Bonus (0%)
                  = 5000                 + 0             + 1000                       + 0
                  = 6000

To calculate the Unicorn Carts' share of the received damage, a different number is used. As said, only 10% of the Unicorn Carts' Life Force is included.

Life Force for damage distrbution  = 200 * 25 + (50 * 20) * 0.1
                                   = 5000     + 100
                                   = 5100

Have a look at this example:

Example for damage distribution

Let's say you have 10 Goblins and 10 Children of Power who receive a total of 100 damage from the enemy army. This damage is now distributed among your army as follows (this is where creatures' advantages over other types of creatures kick in):

Total Life Force         = Goblins' Life Force + Children of Powers' Life Force
                         = 10 * 25             + 10 * 15 
                         = 250                 + 150
                         = 400

Damage distributed to the Goblins:

Damage Goblins           = Total damage * Goblins' Life Force / Total Life Force
                         = 100          * 250 / 400
                         = 62.50 (* Advantage)

Damage distributed to the Children of Power:

Damage Children of Power = Total damage * Children of Powers' Life Force / Total Life Force
                         = 100          * 150 / 400
                         = 37.50 (* Advantage)

If, for example, all of the 100 total damage was done by Ice Warriors, the damage distributed to your Children of Power would get doubled: 37.5 * 2 = 75.

Defender

Defending creatures' Life Force:
Army's Life Force = Goblins' Life Force  + Hero bonus    + Stone Mantle bonus
                  = 180 * 25             + Bonus (0%)    + Bonus (0%)
                  = 4500                 + 0             + 0
                  = 4500

Life Force Reduction

Now that each army's total life force and each creature type's percentage of it have been calculated, the next step is actually subtracting the damage received.

Attacker

The attacking army suffers 279,80 damage which gets distributed among the two creature types:

Damage directed to Goblins  = Damage  * Goblins' Life Force  / Total Life Force
                            = 279.80  * (200*25 + Bonus(0%)) / 5100
                            = 274.31
Lost Goblins                = Damage directed   / (Goblin's Basic Life Force + Bonuses)
                            = 274.31            / (25 + Bonus (0%))
                            = 274.31            / 25
                            = 10.97

After the first battle round, the attacker will have 200 - 10,97 = 189,03 Goblins left.

Damage directed to Unicorn Carts   = Damage  * 10% * Unicorn Cart's Life Force / Total Life Force
                                   = 279.80  * 0.1 * 50 * (20 + Bonus (0%))    / 5100
                                   = 279.80  * 100                             / 5100
                                   = 5.49
Lost Unicorn Carts     = 5.49 / (20 + Bonus (0%))
                       = 5.49 / 20
                       = 0.27

After the first battle round, the attacker will have 50 - 0.27 = 49.73 Unicorn Carts left.

Defender

The defending army suffers 216 damage total. As only one creature type is present, of course all damage is directed at this one.

Lost Goblins          = Damage directed at Goblins / Goblin's Life Force
                      = 216                        / 25
                      = 8.64

Therefore, the defender has 180 - 8.64 = 171.36 remaining Goblins after round 1.

Please note:

You can imagine the decimals to be "injured" creatures. Just like normal rounding, creatures "injured" by more than 50% die.

Further Rounds

This concludes the first battle round - the attacker lost 10.97 Goblins and 0.27 Unicorn Carts while the defender lost 8.64 Goblins. Don't round yet - only after the last round, any creature with less than 50% of their Life Force left dies.

The battle continues like this until one side has only 30% of their initial Life Force left.