From 48c42e6a48deb594e8592f5c24fbac9da3779fb7 Mon Sep 17 00:00:00 2001 From: Eric Fredricksen Date: Wed, 20 Apr 2022 12:04:50 -0700 Subject: [PATCH] Don't clump stats towards HP Max and MP Max, as is the case in pq.exe --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index 9726482..4b72061 100644 --- a/main.js +++ b/main.js @@ -630,11 +630,11 @@ function WinStat() { } else { // Favor the best stat so it will tend to clump var t = 0; - $.each(K.Stats, function (index, key) { + $.each(K.PrimeStats, function (index, key) { t += Square(GetI(Stats, key)); }); t = Random(t); - $.each(K.Stats, function (index, key) { + $.each(K.PrimeStats, function (index, key) { i = key; t -= Square(GetI(Stats, key)); if (t < 0) return false;