Added Price display to Locked Augmentations. Updated version constant to 0.15

This commit is contained in:
Daniel Xie 2017-05-23 14:33:02 -05:00
parent 8338582ef7
commit bfcecd7e0f
2 changed files with 2 additions and 2 deletions

@ -1,5 +1,5 @@
CONSTANTS = {
Version: "0.14",
Version: "0.15",
//Max level for any skill, assuming no multipliers. Determined by max numerical value in javascript for experience
//and the skill level formula in Player.js. Note that all this means it that when experience hits MAX_INT, then

@ -803,7 +803,7 @@ displayFactionAugmentations = function(factionName) {
pElem.innerHTML = "UNLOCKED - $" + formatNumber(aug.baseCost * faction.augmentationPriceMult, 2);
} else {
aElem.setAttribute("class", "a-link-button-inactive");
pElem.innerHTML = "LOCKED (Requires " + formatNumber(req, 4) + " faction reputation)";
pElem.innerHTML = "LOCKED (Requires " + formatNumber(req, 4) + " faction reputation) - $" + formatNumber(aug.baseCost * faction.augmentationPriceMult, 2);
pElem.style.color = "red";
}
aElem.style.display = "inline";