From 9aa986a1337d93358e74d5c81c59d2c35c24f62f Mon Sep 17 00:00:00 2001 From: willyb321 Date: Sun, 17 Dec 2017 12:48:13 +1100 Subject: [PATCH] thanks webstorm --- src/app/utils/CompanionApiUtils.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/utils/CompanionApiUtils.js b/src/app/utils/CompanionApiUtils.js index c7e6808f..d24f19c7 100644 --- a/src/app/utils/CompanionApiUtils.js +++ b/src/app/utils/CompanionApiUtils.js @@ -433,11 +433,11 @@ function _addModifications(module, modifiers, blueprint, grade, specialModificat // Bulkhead boost is based off the inherent boost of the module if (module.grp == 'bh') { - const alteredBoost = (1 + module.hullboost) * (1 + module.getModValue('hullboost') / 10000) - 1; - module.setModValue('hullboost', (alteredBoost / module.hullboost - 1) * 1000); + const alteredBoost = (1 + module.hullboost) * (1 + module.getModValue('hullboost') / 10000) - 1; + module.setModValue('hullboost', (alteredBoost / module.hullboost - 1) * 1000); } - // Jitter is an absolute number, so we need to divide it by 100 + // Jitter is an absolute number, so we need to divide it by 100 if (module.getModValue('jitter')) { module.setModValue('jitter', module.getModValue('jitter') / 100); }