# Question about damage calculations

DLich
Member Posts:

**5,554**
Maybe someone can assist me to ensure I'm doing the math correctly here.

With the in game announcement stating that every pink star adds 5% to damage and health I'm trying to work backwards here to ensure it's calculating correctly. I'm working on damage for now.

So the above survivor 'Evan' is lvl 21 with strong (15%) and 1 pink star (5%)

3103 for total damage minus 1719 for weapons damage is 1384. Working backwards I get 1318 as base survivor damage (with strong)... 1318 + 66 (5% for 1 pink star) is 1384. 1384 is survivors base damage without any pink stars but with strong. If I subtract out the 15% for strong I'm getting 1146 base damage.

So to recap...

1146 survivor base damage

+ 15% for strong (171.90) = 1146 + 171.90 = 1317.90 (rounded to 1318)

+ 5% for pink star (65.90) = 1318 + 65.90 = 1383.90 (rounded to 1384)

+ 1719 for weapon (no lethal) = 1384 + 1719 = 3103.

I'd like to use the same calculations (starting with the base 1146 survivor damage assessed above)

This survivor 'Dylan' is lvl 21 with strong (16%) and 2 pink stars (5% each)

1146 survivor base damage as discovered above (but I will work in the order in which things are presented to the player)

+ 15% for strong (171.90) = 1146 + 171.90 = 1317.90 (rounded to 1318)

+ +5% for pink star (65.90) = 1318 + 65.90 = 1383.90 (rounded to 1384)

+ 1% for trait upgrade (13.84) = 1384 + 13.84 = 1397.84 (rounded to 1398)

+ 5% for 2nd pink star (69.9) = 1398 + 69.9 = 1467.90 (rounded to 1468)

+2044 for weapon (no lethal) = 1468 + 2044 = 3512 (but it's 3488)

It doesn't seem like it's calculating correctly. Even if I add the 16% damage in one shot (from the base without strong number) the math still seems to be off.

1146 + 16% (strong) = 1329 + 5% (first star) = 1395 + 5% (second star) = 1465 + 2044 (weapon) = 3509

Evan has survivor damage of 1384 with 15% strong and 1 pink star

Dylan has survivor damage of 1444 with 16% strong and 2 pink stars

**Warning!!! If you hate math please don't read any further...**With the in game announcement stating that every pink star adds 5% to damage and health I'm trying to work backwards here to ensure it's calculating correctly. I'm working on damage for now.

So the above survivor 'Evan' is lvl 21 with strong (15%) and 1 pink star (5%)

3103 for total damage minus 1719 for weapons damage is 1384. Working backwards I get 1318 as base survivor damage (with strong)... 1318 + 66 (5% for 1 pink star) is 1384. 1384 is survivors base damage without any pink stars but with strong. If I subtract out the 15% for strong I'm getting 1146 base damage.

So to recap...

1146 survivor base damage

+ 15% for strong (171.90) = 1146 + 171.90 = 1317.90 (rounded to 1318)

+ 5% for pink star (65.90) = 1318 + 65.90 = 1383.90 (rounded to 1384)

+ 1719 for weapon (no lethal) = 1384 + 1719 = 3103.

**With me so far??**I'd like to use the same calculations (starting with the base 1146 survivor damage assessed above)

This survivor 'Dylan' is lvl 21 with strong (16%) and 2 pink stars (5% each)

1146 survivor base damage as discovered above (but I will work in the order in which things are presented to the player)

+ 15% for strong (171.90) = 1146 + 171.90 = 1317.90 (rounded to 1318)

+ +5% for pink star (65.90) = 1318 + 65.90 = 1383.90 (rounded to 1384)

+ 1% for trait upgrade (13.84) = 1384 + 13.84 = 1397.84 (rounded to 1398)

+ 5% for 2nd pink star (69.9) = 1398 + 69.9 = 1467.90 (rounded to 1468)

+2044 for weapon (no lethal) = 1468 + 2044 = 3512 (but it's 3488)

**Did I miss something??**It doesn't seem like it's calculating correctly. Even if I add the 16% damage in one shot (from the base without strong number) the math still seems to be off.

1146 + 16% (strong) = 1329 + 5% (first star) = 1395 + 5% (second star) = 1465 + 2044 (weapon) = 3509

Evan has survivor damage of 1384 with 15% strong and 1 pink star

Dylan has survivor damage of 1444 with 16% strong and 2 pink stars

**The difference between these two is 6% (1% strong; 5% pink star) yet their damage is 60 difference. Shouldn't it be more?**

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | } |

MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

6

## Comments

6215,554_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

6216212,2655,554Here me out here.

lvl 1 strong is 5%

lvl 2 strong is 7%

lvl 3 strong is 10%

lvl 4 strong is 12%

lvl 5 strong is 15%

lvl 6 strong is 16%

For all calculations I will start with a base number of 1000 to make the math easier to follow

You find a rare survivor with lvl 2 strong (starting at 7%) and you upgrade the trait.

1000 + 7% (found at rare) is 1070. You then upgrade the trait to lvl 3

1070 + 3% = 32.1 (rounded to 32) giving 1102 as upgrade lvl 3 amount. You then upgrade the trait to lvl 4

1102 + 2% = 22.04 (rounded to 22) giving 1124 as upgraded lvl 4 amount. You then upgrade the trait to lvl 5

1124 + 3% = 33.72 (rounded to 34)

giving 1158 as upgraded lvl 5 amountYou find an epic survivor with lvl 3 strong (starting at 10%) and you upgrade the trait.

1000 + 10% (found at epic) is 1100. You then upgrade the trait to lvl 4

1100 + 2% = 22 giving 1122 as upgraded lvl 4 amount. You then upgrade the trait to lvl 5

1122 + 3% = 33.66 (rounded to 34)

giving 1156 as upgraded lvl 5 amountYou find a legendary survivor with lvl 4 strong (starting at 12%) and you upgrade the trait.

1000 + 12% (found at legendary) is 1120. You then upgrade the trait to lvl 5

1120 + 3% = 33.6 (rounded to 34)

giving 1154 as upgraded to lvl 5 amountIs it taking into account it's found rarity? I have no clue what some of these rarities were found at.... but if that's the case does that mean common survivors with strong traits being upgraded to legendary and elite etc give more damage than found legendaries? Is the higher the rarity when found ultimately give slightly less damage than lower rarity survivors when found? Aren't all non hero survivors or the same type (in this example scout vs scout) the same base.

Would 2 scouts whom both have strong at trait lvl 5 give the same exact "base hero damage" (total damage - weapons damage) assuming they have the exact same traits and exact same weapons/armor OR does the rarity in which they were found determine a different damage value (ie the lower the rarity found the higher the damage would be if traits are upgraded)?

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

165The compound method could be done but would be data and resource intensive as you would have to store all of that data and then whenever an upgrade was done, it would have to be calculated and restored. In addition, I don't believe the game started with the ability to upgrade survivors so they would have had to do a data format conversion to go from an old storage format to a new one to do this. Additionally, the logic would be more significantly more complex than just modifying the base which introduces a higher risk for bugs. Finally, it is much easier to run a simulation to check other logic using the base + modifier logic than with this one as your dispersion range for damage is much greater with the compounding skills than with just a straight modifier to know what changes or additions will have on game play.

NG could be doing the compound method but me personally, I wouldn't as I always try to apply KISS when doing app design & coding as that significantly reduces the likelihood of bugs.

1,4105,554I'm trying to remember but I think one of them was found as legendary (Lvl 4 strong) and one was found as epic (Lvl 3 strong) which would mean infact the lower rarity survivor found is different base damage than a higher Lvl rarity survivor found.

I don't know if anyone from NG will confirm this but it seems to be the case. It's been so long I've had these two as legendary I don't remember.

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

5,554'Dylan' has vigilant as 5th trait so I definitely found him as epic (and upgrades him to legendary before I found 'Evan'

Nobody on their right mind would upgrade a scout without retaliate so I know for a fact 'Evan' was found legendary since I never upgrade anyone that's a rare (only epics)

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

5,554Here is Melinda with lvl 4 marksman receiving 12% bonus with damage of 1093

Here is Melinda lvl 5 marksman receiving 15% bonus with damage of 1121

This would mean the 3% difference is 28.

Now I will compare this 5 star survivor with 1121 damage to a 6 star survivor (marksman lvl 5 on both)

Here is Joe lvl 5 marksman receiving 15% bonus with damage of 1160 (6 star survivor)

It would appear that the "5%" comparing apples to apples is only an increase of 39

Now I will compare this 6 star survivor with 1160 damage (marksman lvl 5) to another 6 star survivor with marksman lvl 6 (16%). There is an additional 1% damage on this marksman survivor

In this example it seems 1% difference is 10

So to recap...

adding 3% to marksman adds 28 damage (average of 9.3 each percent)

adding 5% for a star adds 39 damage (average of 7.8 each percent)

adding 1% for marksman adds 10 damage (average of 10 each percent)

So which is it??? Why are there different percentages for each increase??? Is there an error in calculations like discovered with the crit damage???

I don't think the 5% that's being mentioned in game is actually 5%!!

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

5,554My 5 star survivor has health of 1357 with 39 coming from the vest. That's 1318 without

My 6 star survivor has health of 1404 with 39 coming from the vest. That's 1365 without.

That's a difference of 47 being "5%" that would indicate 1% is 9.4 health

5% of 1318 is 65.9 rounded to 66 not 47.

Just these two comparisons between 5 star and 6 star I feel we're missing out on both atk and health.

It seems the atk damage given is about 3.5% and the health added is about 3.5%...

Oh and iron skin doesn't make any difference regarding added health so comparing my 5 star legendary with iron skin to my 6 star legendary without iron skin matters not.

Adding a star is indicated in the game to be 5% to both damage and health.

I'd hardly call adding 39 attack and 47 health 5%

Can you look into this @Teeceezy please

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

1,4305,5545% should be 5%. Things like their original rarity, what level they were when upgraded, wgat level they were when received in my camp shouldn't matter.

I understand the 5% probably doesn't include any perks like marksman but I would think that 5% is a linear upgrade.

It seems there's an error in the games calculation of 5%

I believe there's some "mystery" number that I haven't been able to calculate for example on these hunters.

When you add marksman it's 15% of that number. When you add promotions it's 5% of that same number (not the new one)

The forum figured it out a long time ago before pink stars were a thing. We calculated it to see if marksman was being tabulated correctly and if I recall it wasn't. Marksman was adding percentage to the weapon not the survivor.

If 5% increase is 39 attack and 47 health that'd indicate the base numbers are 780 attack and 940 health. But nowhere can I use backwards math to get 780 as base attack and 940 as base health so it leads me to believe it's not 5% that's being added but rather a lower number.

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

7,591In the meantime thanks for the mental exercise and reporting this.

Feeling Lost, Click Here!

5,55466 extra health instead of 47 extra health & somewhere around 60 extra atk instead of 39 extra atk in the grand scheme of things isn't a make or break difference. It's more my OCD looking into seeing if 5% held true.

This doesn't come close to what @PR0DJ discoved with the crit damage on charge abilities not calculating properly. That will greatly improve the game. These 20 extra points on base isn't as much but if it's calculated incorrectly and fixed it would be in the players favor so that's good at least.

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'

165Does anyone of a screenshot of an epic going legendary of what the modifiers are?

165If Melinda's base is "976", then 1.12 = 1093.12 or rounded, what you have in your pic at 15%, 976 * 1.15 = 1122.4 or 1122. Not sure why the 1 point difference there.

On the second one, 1008 as a base, 1.15 * 1008 = 1159.2 and 1.16 * 1008 = 1169.28 which gets you roughly what you have in those pictures. Again quirky rounding for the differences.

So it looks like the damage is (base + pink modifiers) * (1 + ranged attack modifier) = damage.

However, if pink's add 5% to the base, 5% of 976 is 48.8, not 32 as these numbers work out as. 32 is 3.2787% of the base. That means Joe and Peter should have a base of 1024.8 and modified values of 1178.75 and 1189 using 1025 as modified base with pink star added in. Even if you take the 976 base and multiply by 1.15 and then add the pink bonus after modifier ((976*1.15%)+48.8), you would get 1171.2 and 1180.96, still not matching with Joe and Peter. Something doesn't compute here. Maybe @Teeceezy can look into this.

That still leaves unanswered questions of whether a promoted epic for base damage equals an unpromoted legendary base damage. I would say yes atm, but maybe @Teeceezy could confirm this.

703What if the pinky token refund and upgrade bumps share similar (faulty) equation logic? They were most likely written at the same time (and by the same person).

PEMDAS!

64I love math. and I am not American, so I found this topic challenging

That being said I think you carried over the percentages instead of applying them to the base value. As a demonstration, I'll use Dylan's example:

"1146 survivor base damage as discovered above (but I will work in the order in which things are presented to the player)

+ 15% for strong (171.90) = 1146 + 171.90 = 1317.90 (rounded to 1318)

+ +5% for pink star (65.90) = 1318 + 65.90 = 1383.90 (rounded to 1384)

+ 1% for trait upgrade (13.84) = 1384 + 13.84 = 1397.84 (rounded to 1398)

+ 5% for 2nd pink star (69.9) = 1398 + 69.9 = 1467.90 (rounded to 1468)

+2044 for weapon (no lethal) = 1468 + 2044 = 3512 (but it's 3488) Did I miss something??"

As you established 1146 is the base damage. So we should relate to this number while calculating the increments as follows:

15% = 1146 * 15% = 171.90

5% = 1146 * 5% = 57.3

1% = 1146 * 5% = 11.46

Using the obtained values we perform addition:

1146 + 171.9 + 57.3 + 57.3 + 11.46 + 2044 = 3487.96. Rounded up to

3488@DLich try to apply this formula to the health as well, see if it fits.

1,565BTW Thanks a lot for enlighten us all with your researches. That's absolut impressive!

227543dmg pic 3: 2396

and add dmg pic 2: 30(?), why not 31?

227Edit: At the time of promotion, weapon in hand was epic lvl 9 with 89 points of damage. That displayed damage increase of 30 points correctly.

Edit2: DLich's pics show that increase in marksman actually changes displayed damage value. That would mean that 30 point damage increase already includes +16% from marksman. And my assumption for base damage is off, correct value would be 747. Still the increase is around 3.5%, not 5%.

1,289And it makes sense, simply because the programmers (and the creators of the data model) most likely did not plan for entries for all the values in between base lvl and final dmg/health. Instead all calculations always go back to the one value stored with your survivors, the base value.

Bottom line, everyone would assume that a 5% increase per pink star would add a total of 5%, but it only adds another 5% on the base value, effectively adding the exact amount each step, and relatively to the previous level a smaller percentage amount each time.

contact us via email at [email protected]

1,289contact us via email at [email protected]

165Hopefully we get some answers back from @Teeceezy soon on this.

1,289Can't we verify this with our existing toons?

Someone must remember the CV of two of their toons and see if there's a difference, right?

contact us via email at [email protected]

3,032Check out the DMZ guild. We're recruiting. Here.

5,554Curtis Silver 10% boost on armor gives 3886 Health

@TheLostOnes

Kurtz Gold 15% boost on armor gives 3690 Health

Traits are the same, they are the same level, they both have ATK of the same since both have gold lethal, weapons are the same levek, armor is the same level...

Why does Silver health boost 'Curtis' have more health than Gold health boost 'Kurtz'??

_{| OG | NOC | USA | UK | CA | CQR | UC | RAD | ZEN | }MAVERICK'S 1 Million Star Club | OG | USA | NOC

Analyze This with ALF4reals | v1 | v2 | v3 |

| My YouTube Videos | My 1st Interview | Best Analogy Award!! |

Freemium... the "mium" is latin for 'not really'