1
0
Fork 0

'Block Chance', not 'Block' for block percentage

This commit is contained in:
Andrew Tomaka 2013-04-09 22:26:59 -04:00
parent 171f701203
commit 771541dcf6
1 changed files with 2 additions and 2 deletions

View File

@ -44,8 +44,8 @@ class Barbarian extends DiabloClass {
$net = $incoming_attack * $total_red;
$after_block = $net * (1 - $this->stats->getStat('Block')) + ($net - $block_amount)
* $this->stats->getStat('Block');
$after_block = $net * (1 - $this->stats->getStat('Block Chance')) + ($net - $block_amount)
* $this->stats->getStat('Block Chance');
$new_mit = $after_block / $incoming_attack;