display relics amount

This commit is contained in:
ReznoRMichael 2021-07-08 10:59:44 +02:00
parent d4969e7830
commit 2f6eab0fb6

View file

@ -943,7 +943,12 @@ function CheckAdditionalThings(section, dataObject, playerData, worldData, scene
case "relicsKingsIdol":
case "relicsArcaneEgg":
total = playerData[dataObject[i].nameHeld] + playerData[dataObject[i].nameSold];
/* if (i === "relicsArcaneEgg") */
(total >= dataObject[i].max) ? CurrentDataTrue(section, i): CurrentDataBlank(section, i);
dataObject[i].amount = total;
textPrefix += ": " + total;
break;