Revert 2.3 diminishing returns on boosters

This commit is contained in:
Cmdr McDonald
2017-03-31 16:34:50 +01:00
parent 7d7ea18447
commit 0e86ae79c1
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,4 @@
#2.3.0
* Add 2.3 diminishing returns on shield value
* Make scan time visible on scanners where available
* Update power distributor able-to-boost calculation to take fractional MJ values in to account
* Revert to floating header due to issues on iOS

View File

@@ -341,7 +341,9 @@ export function shieldMetrics(ship, sys) {
}
// Calculate diminishing returns for boosters
boost = Math.min(boost, (1 - Math.pow(Math.E, -0.7 * boost)) * 2.5);
// Diminishing returns not currently in-game
//boost = Math.min(boost, (1 - Math.pow(Math.E, -0.7 * boost)) * 2.5);
// Remove base shield generator strength
boost -= 1;
// Apply diminishing returns