From 771541dcf614f058231dd246a46ff1e12ec57188 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Tue, 9 Apr 2013 22:26:59 -0400 Subject: [PATCH] 'Block Chance', not 'Block' for block percentage --- libs/barbarian.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/barbarian.php b/libs/barbarian.php index e428514..3f14056 100644 --- a/libs/barbarian.php +++ b/libs/barbarian.php @@ -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;