All times are UTC


It is currently Tue Oct 22, 2019 9:24 pm



Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next
Author Message
 Post subject: Damage distribution
PostPosted: Thu Aug 21, 2014 12:34 pm 
Veteran Forum Gyrocopter
User avatar
Offline

Joined: Fri Dec 14, 2012 9:55 am
Posts: 2211
Example 1

If damage is applied on more unit types, it is distributed according upkeep ratio.

30 000 damage is applied on 200 grunts and 40 arachnids.

grunt: 3 upkeep; 3 x 200 = 600 upkeep of grunts
arachnid: 20 upkeep; 20 x 40 = 800 upkeep of arachnids

Ratio of army upkeep is 600: 800 (3:4), so damage 30 000 is distributed accordingly: (12 857 : 17 143)

12 857 damage is applied on grunts (12 857/ 130 HP each grunt = 98 grunts die)
17 143 damage is applied on arachnids (17 143/ 800 HP each arachnid = 21 arachnids die)


Example 2

Elementals (Flamekin, Frostguard) and all kinds of defense towers have "official" upkeep 0. That only means that they do not take any space in the army. However, for battle calculations, they DO have upkeep: All towers have 200 upkeep per tower unit, Flamekins have 10, Frostguards 12, Changelings 16.

160 000 damage is applied on 15 orc towers and 1000 grunts.

grunt: 3 upkeep; 3 x 1000 = 3000 upkeep of grunts
orc tower: 200 upkeep; 200 x 15 = 3000 upkeep of orc towers

Ratio of army upkeep is 3000: 3000 (1:1), so damage 160 000 is distributed accordingly: (80 000 : 80 000)

80 000 damage is applied on grunts (80 000/ 130 HP each grunt = 615 grunts die)
80 000 damage is applied on orc towers (80 000/ 5200 HP each tower = 15 (all!) orc towers die, 2000 damage remains unused, wasted)

If the damage part "assigned" to the unit group kills all the units and some damage still remains, the rest in NOT re-assigned to the rest of the opponent's army.

The more unit types you send to a battle, the more damage of opponents' armies gets wasted.



Example 3

1st battle round, player A (100 bone golems, 800 acolytes) vs player B (140 archdruids, 420 fireflies)

Troops' damage
A.
bone golem: 170 cold damage; 170 x 100 = 17 000 cold damage of bone golems
acolyte: 50 fire damage; 50 x 800 = 40 000 fire damage of acolytes
B.
archdruid: 160 cold damage; 160 x 140 = 22 400 cold damage of archdruids
firefly: 85 fire damage; 85 x 420 = 35 700 fire damage of fireflies

Enemy damage distribution ratios
A.
bone golem: 12 upkeep; 12 x 100 = 1200 upkeep of bone golems
acolyte: 3 upkeep; 3 x 800 = 2400 upkeep of acolytes
(1200 : 2400) = (1:2)
B.
archdruid: 10 upkeep; 10 x 140 = 1400 upkeep of archdruids
firefly: 5 upkeep; 5 x 420 = 2100 upkeep of fireflies
(1400 : 2100) = (2:3)

Each unit group gets a part of the opponent's damage according to its upkeep ratio.
(The same system works if there are more players vs more players, even if more alliances meet in a battle)


Damage splitting
A.
17 000 cold damage of bone golems splits 2:3 on the enemy army (6800 is applied on archdruids, 10 200 on fireflies)
40 000 fire damage of acolytes splits 2:3 on the enemy army (16 000 is applied on archdruids, 24 000 on fireflies)
B.
22 400 cold damage of archdruids splits 1:2 on the enemy army (7 467 is applied on bone golems, 14 933 on acolytes)
35 700 fire damage of fireflies splits 1:2 on the enemy army (11 900 is applied on bone golems, 23 800 on acolytes)

Troops' health & resists
A.
bone golem: 540 HP (40 % cold resist)
acolyte: 100 HP (20 % normal resist)
B.
archdruid: 480 HP (40 % cold resist)
firefly: 130 HP (100 % fire resist)

Losses summary
A.
Bone golems: 7467/1,4 (cold resist!) + 11 900 = 17 234 damage
17 234 / 540 HP = 31 bone golems die
Acolytes: 14 933 + 23 800 = 38 733 damage
38 733 / 100 HP = 387 acolytes die
B.
Archdruids: 6800/1,4 + 16 000 = 20 857 damage
20 857 / 480 HP = 43 archdruids die
Fireflies: 10 200 + 24 000/2 = 22 200 damage
22 200 / 130 HP = 170 fireflies die

Any more questions to this mechanics? Ask here! :)

_________________
True warriors fight their battles on EMPOREA.ORG
Image
http://emporea.org
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Thu Sep 25, 2014 8:00 pm 
Archer
Offline

Joined: Sat Jul 19, 2014 12:35 pm
Posts: 5
Still if u attack the same camp with the same army many times you get different results every time. deaths are not standard...
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Fri Sep 26, 2014 2:00 pm 
Veteran Forum Gyrocopter
User avatar
Offline

Joined: Fri Dec 14, 2012 9:55 am
Posts: 2211
That happens because of mechanics of regeneration. ;) First of all I wanted to explain how the damage is distributed.

_________________
True warriors fight their battles on EMPOREA.ORG
Image
http://emporea.org
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Sat Oct 04, 2014 2:14 pm 
Archer
Offline

Joined: Sat Jul 19, 2014 12:35 pm
Posts: 5
Though regen does count when u got to a second round or finish the battle isn't it?
I talk about when u get different results with same attacks in 1 round battles.
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Mon Oct 06, 2014 11:31 am 
Veteran Forum Gyrocopter
User avatar
Offline

Joined: Fri Dec 14, 2012 9:55 am
Posts: 2211
Regeneration "happens" in the end of a battle round, but it is included to the battle round nevertheless. Click on the "round button" and check the tooltip to see how exactly it was applied.

Image

"Died" number is (at least it should be) always the same, under the same circumstances
"Regenerated" number may vary.

In the battle round overview you see only the end result, (that can vary too. ;) )

_________________
True warriors fight their battles on EMPOREA.ORG
Image
http://emporea.org
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Fri Oct 17, 2014 2:11 pm 
Skeleton
Offline

Joined: Sat Oct 04, 2014 1:14 pm
Posts: 3
no manchen no entendi nada o.O
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Fri Dec 05, 2014 10:42 am 
Archer
Offline

Joined: Fri Dec 05, 2014 10:39 am
Posts: 5
Hello Tear,

I address you directly, since you explained the fight mechanics in Emporea to us in such a nice way. Yet I ran into a situation were my calculations don't match what actually happened and I want to ask you, whether you can point me to the mistake I made. Here are the facts and my calculations on them:

Myself is a Elf and the hero provides the following stats for combat:

+44 % LP
+34 frost resistance
+48 fire resistance
+61 physical resistance


My research can be summerized like this (but the important info is that the effective rank of Archer's Cloak 3):

Archer's Cloak: 2
Firefly's Flame Shield: 3
all others 1 - so the ultimate warrior skill "Military research" takes effect


I send the following troops to a rank 46 rune forge (with 12 Golden Titans and 20 Runesmiths as defenders):

12 Archers
10 Skelettons
10 Firefly
17 Gyrocopters
14 Archdruids
7 Flamekin
5 Servants
3 Seraphim


The fight should end without any losses on my side, yet 1 archer died. According to the explainations and examples you gave, I came up with the following math to get the damage suffered by the archers:
(fire damage * upkeep ratio)/(1 + archer fire resistance + hero fire resistance) +
(ice damage * upkeep ratio)/(1 + archer ice resistance + hero ice resistance) +
(physical damage * upkeep ratio)/(1 + archer physical resistance + hero physical resistance) =
(4800 * 12 / 1384)/(1 + 0,3 + 0,48) + (0 * 12 / 1384)/(1 + 0 + 0,34) + (5640 * 12 / 1384)/(1 + 0 + 0,61) = 53.75 (approx. according to Google)

One Archer should have (35 + 3) * 1,44 = 54,72 LP, which is bigger than the damage it suffered during the fight. Even if both values get rounded according to regular mathematics, still the archer should survive. The only way the archer can die is when its LP got rounded down, whereas the damage got rounded up, which is inconsequential and illogical.

Again, can you please point me towards the error I made?

Thank you,
nussi.
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Wed Dec 10, 2014 4:42 pm 
Veteran Forum Gyrocopter
User avatar
Offline

Joined: Fri Dec 14, 2012 9:55 am
Posts: 2211
Sorry Birgit for answering so late, I needed to find some longer time for this. ;) I hope you are still checking this topic. :D

So, first, I am going to do my calculations independently from yours, so I am not seduced to agree with some mistake in some step (in case you have made one)

12 titans - 470 x 12 = 5640 physical dmg
20 runesmiths - 240 x 20 = 4800 fire dmg

Now let's see what percentage from the damage your archer should take.

12 archers - 12 x 1 = 12 upkeep
whole army - 12x1 + 10x1 + 10x5 + 17x6 + 14x10 + 7x10 + 5x50 + 3x250=
= 12 + 10 + 50 + 102 + 140 + 70 +250 + 750 = 1384 upkeep

12/ 1384 = 0,0086705202312139 (about 0,87 %)

So they get 48,9 physical damage from titans
and 41,62 fire from runesmiths.

An archer has 35 life, with the 3 level of Cloak 38.
with 44% bonus it is 54,72.

First, the titans:
61 physical resist reduces their damage to 30,37 (48,9/ 1,61)
The runesmiths:
48 fire resist reduces their damage to 28,12 (41,62/1,48)

30,37 + 28, 12 = 58 ;)

It seems o.k. to me, 58 damage should kill exactly 1 archer.

I must admit I don't know what kind of rounding and on what places is used in programming code of the battle system, my colleague would be most likely scared to death if I asked him for detailed explanation, (the code of the battle system is longer than most of us can imagine..)
but it seems quite reasonable to me. ;)
...Tomorrow morning I will check your calculation to see what is different there.. :)

P.S. I asked him - 5020 rows of code :lol: (and only the basic battle system)

_________________
True warriors fight their battles on EMPOREA.ORG
Image
http://emporea.org
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Wed Dec 10, 2014 6:58 pm 
Axe Warrior
Offline

Joined: Thu Sep 25, 2014 5:53 pm
Posts: 12
Hello,

Small question about neutral units... When fighting them... Are they ameliorated ? Or do they have their basic statistics ? What about their "special upgrade" ? For instance for Alnuses, do they provide to neutral units their life bonus ?
Top
  Profile  
 
 Post subject: Re: Damage distribution
PostPosted: Thu Dec 11, 2014 12:14 pm 
Veteran Forum Gyrocopter
User avatar
Offline

Joined: Fri Dec 14, 2012 9:55 am
Posts: 2211
No. ;) Neutral units don't have any upgrades, nor special unit abilities. Just basic unit stats.

_________________
True warriors fight their battles on EMPOREA.ORG
Image
http://emporea.org
Top
  Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 37 posts ]  Go to page 1, 2, 3, 4  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: