mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-09 06:43:24 +00:00
maxmass is not modified for shield generators now
This commit is contained in:
@@ -448,7 +448,8 @@ export default class Module {
|
||||
let result = 0;
|
||||
if (this['maxmass']) {
|
||||
result = this['maxmass'];
|
||||
if (result) {
|
||||
// max mass is only modified for non-shield boosters
|
||||
if (result && this.grp !== 'sg') {
|
||||
let mult = this.getModValue('optmass') / 10000;
|
||||
if (mult) { result = result * (1 + mult); }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user