### Power. All you wanted to know.

Posted:

**Tue Sep 12, 2017 2:54 pm**While building my Shop Heroes Team Builder, I came to a challenge to calculate hero powers.

It wasn't an easy task, but I managed it, and now want to share knowledge.

Beware, for below you will find too much of math.

----

First things first. Let's start our lesson from basic calculations.

Heroes power calculated as sum of hero power and their items equipped (really?! what a surprise...)

Lets head straight to formula:

Messy, ain't it?

Most of this info you can find at Shop Heroes Sreadsheet.

Skills are what your heroes unlock at certain levels and what comes from items of certain quailty and unlocked by mastering their blueprints up to a certain tier.

Most of skills have utilitary purpose and do not affect power at all.

What we want are skills whose description states they affect

Some of skills are affecting entire party and are activated only when you assemble party, we'll look at them later, for now we are calculating single hero power, as how it shown in hero roster.

Let's calculate Karal power of max level (25) with theese items equipped:

First three numbers are easy, you can find those at spreadsheet.

HBP [Hero Base Power] = 100

LBP [Level Base Power] = 975

HLM [Hero Level Multiplier] = 1.00

IP [Items Power] is calculated as sum of all equipped items power, and those are calculated as

Before we proceed to final calculations write down theese numbers:

We'll need those later.

Back to our shee...heroes.

Karal has skill Crush that increases Strength by 25%. It's description doesn't state it affects party, so it's applied straight to hero power.

HPM [Hero Power Multiplier] = 1 + 0.25 = 1.25

All equipped items are in optimal range - difference between item level and hero level 6 or less - items marked with green ribbon).

This state gives us optimal bonus and it's a plain +25% increase.

IOM [Items Optimal Multiplier = 1.25

Item skill multiplier comes from non-leader skills stating they increase equipment strenght. Pity we have no such skills on Karal - not on her nor on items.

IPM [Items Power Multiplier] = 1.00

BM (Building Multiplier) comes from boosting hero building and gives +25% overall power boosting, while Crown Jewels boosting give +5% for each level above 1, giving +25% at maximum level.

Alas, our Karal has no boosts coming from her Building at all.

We're done here. At least with basics. Stop reading now or there will be more math below.

This is most annoying part of calculations.

It took me 3 sleepless nights, to figure it out, and I figured it out WRONG!

Well, after taking a good sleep, I finally came to a right solution, so now you read 2nd edition.

But enough of emotions, let's go to plain math and tricky magic.

If you haven't written down HP and IP as I told above, go, do your math again.

BM and IOM multipliers aren't foreign to you, at least you know how to calculate those.

HPM and IPM are calculated individually and are sum of bonuses coming from hero and from party wide skills of every hero in a party.

So the tricky part of this is to get a list of all party skills related to hero power (ex. Commander, Arch Wizard) and equipment power (ex. Gangster).

The only multiplier left is SRM [Survival Rate Multiplier]

BSM [Base Survival Multiplier] is a plain +10% for each member in a party of two heroes and more, so it ends up at +50% bonus at 6 heroes in party.

SSM [Skills Survival Multiplier] is calculated same way as HPM and IPM - from all party wide Survival Rate sources (Amazon, Brothers-in-arms, Protector etc).

The trick that took part of my sanity was to figure out that SSM is calculated the same way as BSM!

If you managed to read all the way to this point, nothing can stop you on the way to POWER calculation.

Curiosity killed a cat, but luckily for us we are humans.

The only thing left to know is how that Group Bonus [GB] at party assembling screen calculated.

I'm done.

Thanks for reading and visit my Shop Heroes Team Builder

It wasn't an easy task, but I managed it, and now want to share knowledge.

Beware, for below you will find too much of math.

----

**Basics**First things first. Let's start our lesson from basic calculations.

Heroes power calculated as sum of hero power and their items equipped (really?! what a surprise...)

Lets head straight to formula:

Code: Select all

`SP = ( ( HBP + LBP * HLM ) * HPM + IP * IOM * IPM ) * BM`

Messy, ain't it?

Most of this info you can find at Shop Heroes Sreadsheet.

Skills are what your heroes unlock at certain levels and what comes from items of certain quailty and unlocked by mastering their blueprints up to a certain tier.

Most of skills have utilitary purpose and do not affect power at all.

What we want are skills whose description states they affect

*strength*,*equipment strength*or*party survival*.Some of skills are affecting entire party and are activated only when you assemble party, we'll look at them later, for now we are calculating single hero power, as how it shown in hero roster.

Let's calculate Karal power of max level (25) with theese items equipped:

- Mythical Giant's Hammer [No skill]

Legendary Oiled Leather [Energetic I]

Legendary Frozen Helm [Protector I]

Legendary King's Gauntlets [Not mastered]

Legendary Magic Riders [Arch Wizard I]

Legendary Starry Shield [Protector II]

Mythical Heart Seeker [No skill]

Code: Select all

`28406 = ( ( 100 + 975 * 1.00 ) * 1.25 + 21650 * 1.25 * 1.00 ) * 1.00`

First three numbers are easy, you can find those at spreadsheet.

HBP [Hero Base Power] = 100

LBP [Level Base Power] = 975

HLM [Hero Level Multiplier] = 1.00

IP [Items Power] is calculated as sum of all equipped items power, and those are calculated as

Code: Select all

`P = IBP [Item Base Power] * QM [Quality Multiplier]`

Before we proceed to final calculations write down theese numbers:

Code: Select all

`HP = ( 100 + 975 * 1.00 ) = 1075`

IP = 21650

We'll need those later.

Back to our shee...heroes.

Karal has skill Crush that increases Strength by 25%. It's description doesn't state it affects party, so it's applied straight to hero power.

HPM [Hero Power Multiplier] = 1 + 0.25 = 1.25

All equipped items are in optimal range - difference between item level and hero level 6 or less - items marked with green ribbon).

This state gives us optimal bonus and it's a plain +25% increase.

IOM [Items Optimal Multiplier = 1.25

Item skill multiplier comes from non-leader skills stating they increase equipment strenght. Pity we have no such skills on Karal - not on her nor on items.

IPM [Items Power Multiplier] = 1.00

BM (Building Multiplier) comes from boosting hero building and gives +25% overall power boosting, while Crown Jewels boosting give +5% for each level above 1, giving +25% at maximum level.

Code: Select all

`BM = 1.00 + ( Bulding Boosted ) * 0.25 + ( Crown Jewels Level - 1 ) * 0.05 = 1.00 + 0.00 + 0.00`

Alas, our Karal has no boosts coming from her Building at all.

We're done here. At least with basics. Stop reading now or there will be more math below.

**Party**This is most annoying part of calculations.

It took me 3 sleepless nights, to figure it out, and I figured it out WRONG!

Well, after taking a good sleep, I finally came to a right solution, so now you read 2nd edition.

But enough of emotions, let's go to plain math and tricky magic.

Code: Select all

`TP = ( HP * HPM + IP * IOM * IPM ) * BM * SRM`

If you haven't written down HP and IP as I told above, go, do your math again.

BM and IOM multipliers aren't foreign to you, at least you know how to calculate those.

HPM and IPM are calculated individually and are sum of bonuses coming from hero and from party wide skills of every hero in a party.

So the tricky part of this is to get a list of all party skills related to hero power (ex. Commander, Arch Wizard) and equipment power (ex. Gangster).

The only multiplier left is SRM [Survival Rate Multiplier]

Code: Select all

`SRM = 1.0 + BSM + SSM`

BSM [Base Survival Multiplier] is a plain +10% for each member in a party of two heroes and more, so it ends up at +50% bonus at 6 heroes in party.

Code: Select all

`BSM = 0.1 * ( Heroes Count - 1 )`

SSM [Skills Survival Multiplier] is calculated same way as HPM and IPM - from all party wide Survival Rate sources (Amazon, Brothers-in-arms, Protector etc).

The trick that took part of my sanity was to figure out that SSM is calculated the same way as BSM!

Code: Select all

`SSM = SUM( Filtered Survival Rate ) x ( Heroes Count - 1 )`

If you managed to read all the way to this point, nothing can stop you on the way to POWER calculation.

Curiosity killed a cat, but luckily for us we are humans.

The only thing left to know is how that Group Bonus [GB] at party assembling screen calculated.

Code: Select all

`GB = SUM( TP ) / SUM( SP ) - 1`

I'm done.

Thanks for reading and visit my Shop Heroes Team Builder