Merge pull request #274 from hydroflame/format-favor

Format favor
This commit is contained in:
danielyxie 2018-06-08 10:54:30 -05:00 committed by GitHub
commit 7c9b38de34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -185,14 +185,14 @@ function displayFactionContent(factionName) {
favorGain = favorGain[0];
elements.push(createElement("p", {
innerText: "Reputation: " + formatNumber(faction.playerReputation, 4),
tooltip:"You will earn " + formatNumber(favorGain, 4) +
tooltip:"You will earn " + formatNumber(favorGain, 0) +
" faction favor upon resetting after installing an Augmentation"
}))
elements.push(createElement("p", {
innerText:"---------------",
}));
elements.push(createElement("p", {
innerText:"Faction Favor: " + formatNumber(faction.favor, 4),
innerText:"Faction Favor: " + formatNumber(faction.favor, 0),
tooltip:"Faction favor increases the rate at which " +
"you earn reputation for this faction by 1% per favor. Faction favor " +
"is gained whenever you reset after installing an Augmentation. The amount of " +