# Calculator:Average damage

``` template  = Calculator:Average damage/template
form      = exprCalcForm
result    = exprCalcResult
param     = dmgType|Is this hit an auto attack?|No|select|Yes,No
param     = minHit|Minimum hit||int|0-32000
param     = maxHit|Maximum hit||int|0-32000
param     = bitingRank|Biting perk rank|3|int|0-3
param     = level20|Is the Biting perk on level 20 gear?|No|select|Yes,No
param     = grimoire|Is Erethdor's grimoire active?|No|select|Yes,No
param     = minMFury|(Optional) Minimum hit of Mutated Fury|0|int|0-32000
param     = maxMFury|(Optional) Maximum hit of Mutated Fury|0|int|0-32000

```
This text will disappear if the form is loaded properly.
This text will disappear if the form is submitted.
Template documentation
This documentation is transcluded from Calculator:Average damage/doc.  [purge]
Calculator:Average damage invokes Module:Average damage calculator using Lua.

### Description

The purpose of this calculator is to calculate the average damage for auto attacks and (most) non-bleed abilities. The mathematical description can be found here.

### Is this hit an auto attack?

If set to "Yes", this causes the guarnatee critical from the Mutated Fury ability to be ignored and the calculation is done using 10% toward the forced critical chance. If left set to "No" (and therefore this is a non-bleed ability), then the guaranteed critical hit from Mutated Fury is used and the forced critical hit chance is set to 100%.

### Minimum hit

Minimum hit of auto attack/non-bleed ability. Accepted values are integers from [0,32000].

### Maximum hit

Maximum hit of auto attack/non-bleed ability. Accepted values are integers from [0,32000].

### Biting perk rank

Rank of Biting on gear. If Biting is not used, set this to zero. Accepted values are integers from [0,3].

### Is the Biting perk on level 20 gear?

If set to "Yes", the proc rate of the Biting perk is x1.1. If left set to "No", the proc rate of the Biting perk is x1.

### Is Erethdor's grimoire active?

If set to "Yes", the maximum damage of critical hits are increased from 12000 to 15000 and an increased critical chance of 12% is applied to forced critical hits. If left set to "No", the maximum damage of critical hits remains at 12000 and no increased chance of forced critical hits are applied from the grimoire.

### (Optional) Minimum hit of Mutated Fury

Used to calculate the average damage for an ability (specifically an ability) following the increased forced critical hit chance from Mutated Fury. Accepted values are integers from [0,32000].

### (Optional) Maximum hit of Mutated Fury

Used to calculate the average damage for an ability (specifically an ability) following the increased forced critical hit chance from Mutated Fury. Accepted values are integers from [0,32000].