new way of calculating the possible combinations

This commit is contained in:
ente 2024-04-21 22:05:30 +02:00
parent b29193888e
commit 2dd508889f
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ function loadParts(parts) {
//Show little statistic
var sum = body.length + eyes.length + mouth.length + arms.length;
var variety = body.length * eyes.length * mouth.length * arms.length;
var variety = body.length * eyes.length * mouth.length * arms_orange.length;
stats.innerHTML = "There are " + sum + " Elements available,<br />with " + new Intl.NumberFormat("de-DE").format(variety) + " possible combinations.";