Fixed Math using min and max incorrectly in skills

This commit is contained in:
Stefan Zermatten
2015-07-03 13:21:26 +02:00
parent a2fdee88b6
commit d7852d640f

View File

@@ -345,8 +345,8 @@ Characters.calculate = {
var value;
var add = 0;
var mul = 1;
var min = Math.NEGATIVE_INFINITY;
var max = Math.POSITIVE_INFINITY;
var min = Number.NEGATIVE_INFINITY;
var max = Number.POSITIVE_INFINITY;
Effects.find({
charId: charId,