'Block Chance', not 'Block' for block percentage
This commit is contained in:
parent
171f701203
commit
771541dcf6
1 changed files with 2 additions and 2 deletions
|
@ -44,8 +44,8 @@ class Barbarian extends DiabloClass {
|
||||||
|
|
||||||
$net = $incoming_attack * $total_red;
|
$net = $incoming_attack * $total_red;
|
||||||
|
|
||||||
$after_block = $net * (1 - $this->stats->getStat('Block')) + ($net - $block_amount)
|
$after_block = $net * (1 - $this->stats->getStat('Block Chance')) + ($net - $block_amount)
|
||||||
* $this->stats->getStat('Block');
|
* $this->stats->getStat('Block Chance');
|
||||||
|
|
||||||
$new_mit = $after_block / $incoming_attack;
|
$new_mit = $after_block / $incoming_attack;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue