mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 14:45:35 +00:00
Revert 2.3 diminishing returns on boosters
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
#2.3.0
|
#2.3.0
|
||||||
* Add 2.3 diminishing returns on shield value
|
|
||||||
* Make scan time visible on scanners where available
|
* Make scan time visible on scanners where available
|
||||||
* Update power distributor able-to-boost calculation to take fractional MJ values in to account
|
* Update power distributor able-to-boost calculation to take fractional MJ values in to account
|
||||||
* Revert to floating header due to issues on iOS
|
* Revert to floating header due to issues on iOS
|
||||||
|
|||||||
@@ -341,7 +341,9 @@ export function shieldMetrics(ship, sys) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Calculate diminishing returns for boosters
|
// 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
|
// Remove base shield generator strength
|
||||||
boost -= 1;
|
boost -= 1;
|
||||||
// Apply diminishing returns
|
// Apply diminishing returns
|
||||||
|
|||||||
Reference in New Issue
Block a user