mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-08 14:33:22 +00:00
hullboost modified values is calculated like shieldboost now
This commit is contained in:
@@ -160,7 +160,7 @@ export default class Module {
|
||||
result = result + modValue;
|
||||
} else if (modification.method === 'overwrite') {
|
||||
result = modValue;
|
||||
} else if (name === 'shieldboost') {
|
||||
} else if (name === 'shieldboost' || name === 'hullboost') {
|
||||
result = (1 + result) * (1 + modValue) - 1;
|
||||
} else {
|
||||
result = result * (1 + modValue);
|
||||
|
||||
Reference in New Issue
Block a user