Battle Example

From Xhodon 2
Revision as of 11:13, 16 May 2009 by Ridens (Talk | contribs) (partial)

Jump to: navigation, search
Icon Translate.png This article/paragraph needs to be translated or translation is in progress.
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.

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

Reduzierung der Lebenspunkte

Nun wird der Schaden von den Lebenspunkten abgezogen.

Angreifer

Der Angreifer erleidet 279,80 Schaden, dieser wird auf die beiden Einheitentypen verteilt.

Schaden gegen Kobolde      = Schaden * Lebenspunkte Kobolde       / Gesamtlebenspunkte
                           = 279,80  * (200*25 + Verstärkung(0%)) / 5100
                           = 274,31
Verlorene Kobolde          = Schaden auf Kobolde / Lebenspunkte pro Kobold inkl. Verstärkung
                           = 274,31              / (25 + Verstärkung (0%))
                           = 274,31              / 25
                           = 10,97

Es bleiben nach der ersten Kampfrunde bei dem Angreifer noch 200 - 10,97 = 189,03 Kobolde übrig.

Schaden auf Einhornwagen   = Schaden * reduzierte Lebenspunkte Einhornwagen / Gesamtlebenspunkte
                           = 279,80  * (50 * 20 + Verstärkung (0%)) * 0,1    / 5100
                           = 279,80  * 100                                   / 5100
                           = 5,49
Verlorene Einhornwagen     = 5,49 / (20 + Verstärkung (0%))
                           = 5,49 / 20
                           = 0,27

Es bleiben nach der ersten Kampfrunde bei dem Angreifer noch 49,73 Einhornwagen übrig.

Verteidiger

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 180 - 8,64 = 171,36 Kobolde übrig.

Anmerkung: Die Nachkommastellen kann man sich gut als "verletzte" Einheiten vorstellen.

Weitere Runden

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).