Permalink
Browse files

Calculation fix

  • Loading branch information...
1 parent 2e54267 commit a943598a3cc284994f877e35b9e378ebc46ed5de Mathijs Schmittmann committed Oct 10, 2011
Showing with 3 additions and 1 deletion.
  1. +3 −1 calculate.php
View
@@ -370,7 +370,8 @@ function score($stats,$slot)
// update stats with new item
$stats = talents_calculate($stats);
$stats = buffs_calculate($stats);
- $stats = stats_derive($stats);
+ // derived stats disabled for now, since this causes some scores to be higher then they should
+ //$stats = stats_derive($stats);
$stats = talents_calculate_derived($stats);
$stats = buffs_calculate_derived($stats);
@@ -392,6 +393,7 @@ function score($stats,$slot)
}
// revert stats to their unmodified state
+ $stats = stats_derive($stats);
$stats = modifications_undo($stats);
}
}

0 comments on commit a943598

Please sign in to comment.