## Ability output calculation

### Ability output calculation

Sometimes I need to calculate an ability output on different AP value than the original one.

But how to calculate that? I can't remember where the formula was.

This website seems to show only how to get stats from the 1st lvl values.

Thanks in advance.

EDIT: Found how to generate it:

/script FloatingPetBattleAbility_Show(ID,nil,AP,nil)

But how to calculate that? I can't remember where the formula was.

This website seems to show only how to get stats from the 1st lvl values.

Thanks in advance.

EDIT: Found how to generate it:

/script FloatingPetBattleAbility_Show(ID,nil,AP,nil)

Last edited by Paladance on February 14th, 2016, 3:48 pm, edited 1 time in total.

### Re: Ability output calculation

I've always worked on the basis that the damage is

Power of Pet + Power of Ability

Consider Snap, an ability with Power = 20, which you can see at http://www.wowdb.com/pet-abilities/356-snap

and then when applied by a

25 Blue Emperor Crab H/H with Power 292 it does 312 damage (=292 + 20)

25 Blue Emperor Crab P/P with Power 357 it does 377 damage (=357 + 20)

it's entirely possible that I'm missing a condition or nuance here, but that's the rule I've always used.

Power of Pet + Power of Ability

Consider Snap, an ability with Power = 20, which you can see at http://www.wowdb.com/pet-abilities/356-snap

and then when applied by a

25 Blue Emperor Crab H/H with Power 292 it does 312 damage (=292 + 20)

25 Blue Emperor Crab P/P with Power 357 it does 377 damage (=357 + 20)

it's entirely possible that I'm missing a condition or nuance here, but that's the rule I've always used.

### Re: Ability output calculation

I like our timing here, really!Gráinne wrote:I've always worked on the basis that the damage is

Power of Pet + Power of Ability

Consider Snap, an ability with Power = 20, which you can see at http://www.wowdb.com/pet-abilities/356-snap

and then when applied by a

25 Blue Emperor Crab H/H with Power 292 it does 312 damage (=292 + 20)

25 Blue Emperor Crab P/P with Power 357 it does 377 damage (=357 + 20)

it's entirely possible that I'm missing a condition or nuance here, but that's the rule I've always used.

And how does it apply to the various RNG outputs? Like a [ability]Burn[/ability]:

A [pet]Phoenix Hatchling[/pet] has 276 Power, the output range is between 248 and 372.

A [pet]Searing Scorchling[/pet] has 305 Power, the output range is between 273 and 409.

Looks quite stable, at least by the end values, but there are wider and tighter ranges, vide a very volatile [ability]Crush[/ability].

I also do remember that more power = wider range, see Lil' Oondasta's RNG.

### Re: Ability output calculation

Oh, I've done a lot of math with those in the past... and turns out, the "scaling" factor is the same, relative to the base damage of the ability.

So the extended damage formula is: [BASE + (BASE/20) x ATK]

For example, if the "basic" attack damage is [20 + ATK] an attack with a base damage of 25 will do [25 + 1.25 x ATK] and DoT ticks (that usually have a base of 5) will deal [5 + 0.25 x ATK].

In turn, this means that abilities deal the same "relative" damage regardless of the pet's power, which can simplify some calculations a lot.

So the extended damage formula is: [BASE + (BASE/20) x ATK]

For example, if the "basic" attack damage is [20 + ATK] an attack with a base damage of 25 will do [25 + 1.25 x ATK] and DoT ticks (that usually have a base of 5) will deal [5 + 0.25 x ATK].

In turn, this means that abilities deal the same "relative" damage regardless of the pet's power, which can simplify some calculations a lot.

Last edited by Vakeetah on February 14th, 2016, 4:41 pm, edited 1 time in total.

- Thanks to Paladance for the sig!

### Re: Ability output calculation

Thanks for the clarification, Vakeetah!

So Anub's (276 Power) Crush (with 22 Power ability) should do

22 + (22/20)*276 = 325.6

Crush actually does 227 to 423 damage. The middle of that range is 325. So that agrees.

I don't know where the range of variance is stored, though, or where one might find it in WoWDB. I know it was added in Warlords when Crush became a 100% chance to hit, to compensate for its previous miss chance.

So Anub's (276 Power) Crush (with 22 Power ability) should do

22 + (22/20)*276 = 325.6

Crush actually does 227 to 423 damage. The middle of that range is 325. So that agrees.

I don't know where the range of variance is stored, though, or where one might find it in WoWDB. I know it was added in Warlords when Crush became a 100% chance to hit, to compensate for its previous miss chance.

### Re: Ability output calculation

Yeah, abilities with a damage range also follow the same formula, with the scaling factor depending on the final damage value.

For example, [ability]Crush[/ability] is at an average power of 22 ± 6.6 , (i.e: 15.4-28.6); or what you could summarise as 22 with a ± 30% damage variance.

(In case you're wondering the value was obtained empirically)

For an [pet]Anubisath Idol[/pet], who has 276 Power, this translates into Crush having a damage range of 227-423.

We can get these values either from the separate damage values:

EDIT - Just to add:

As you all know, the abilities with a damage range are those that formerly had a lower chance to hit.

Abilities that had 80% hit have a power of 22(± 30%); and abilities that had 90% hit have a power of 21(± 20%). Abilities with different hit rates (85% and 95%) were assigned either value, or changed to 20-flat power abilities.

So no matter what, on abilities with a damage range, you'll find one of the two damage thresholds above.

Other abilities like [ability]Demolish[/ability] are exceptions, as they retained their "double or nothing" nature - with twice the normal damage (40) at half the accuracy. In this sense, they are inferior (statistically) to the likes of [ability]Crush[/ability], [ability]Infected Claw[/ability], etc. unless their Accuracy is compensated by buffs.

For example, [ability]Crush[/ability] is at an average power of 22 ± 6.6 , (i.e: 15.4-28.6); or what you could summarise as 22 with a ± 30% damage variance.

(In case you're wondering the value was obtained empirically)

For an [pet]Anubisath Idol[/pet], who has 276 Power, this translates into Crush having a damage range of 227-423.

We can get these values either from the separate damage values:

Or calculating it over the average + variance:Min: 15.4 + 15.4/20 x 276 = 227.9

Max: 28.6 + 28.6/20 x 276 = 423.2

----Average: 22 + 22/20 x 276 = 325.6

Minimum(70%) = 325.6 x 0.7 = 227.9

Maximum(130%) = 325.6 x 1.3 = 423.3

EDIT - Just to add:

As you all know, the abilities with a damage range are those that formerly had a lower chance to hit.

Abilities that had 80% hit have a power of 22(± 30%); and abilities that had 90% hit have a power of 21(± 20%). Abilities with different hit rates (85% and 95%) were assigned either value, or changed to 20-flat power abilities.

So no matter what, on abilities with a damage range, you'll find one of the two damage thresholds above.

Other abilities like [ability]Demolish[/ability] are exceptions, as they retained their "double or nothing" nature - with twice the normal damage (40) at half the accuracy. In this sense, they are inferior (statistically) to the likes of [ability]Crush[/ability], [ability]Infected Claw[/ability], etc. unless their Accuracy is compensated by buffs.

Last edited by Vakeetah on February 15th, 2016, 9:55 am, edited 4 times in total.

- Thanks to Paladance for the sig!

### Re: Ability output calculation

Very useful indeed!Paladance wrote:EDIT: Found how to generate it:

/script FloatingPetBattleAbility_Show(ID,nil,AP,nil)

### Re: Ability output calculation

Thank you both. One conversation more and we have a guide!

Have some open-licensed muffins here:

[url=https://pixabay.com/en/cranberry-muffin-almond-bake-683913/][/url]

Have some open-licensed muffins here:

[url=https://pixabay.com/en/cranberry-muffin-almond-bake-683913/][/url]