mirror of
https://github.com/EDCD/coriolis.git
synced 2025-12-11 08:43:02 +00:00
possible armour fix
need more data to confirm however
This commit is contained in:
@@ -336,9 +336,13 @@ function _addModifications(module, modifiers, blueprint, grade, specialModificat
|
|||||||
let value;
|
let value;
|
||||||
if (i === 'OutfittingFieldType_DefenceModifierShieldMultiplier') {
|
if (i === 'OutfittingFieldType_DefenceModifierShieldMultiplier') {
|
||||||
value = modifiers[i].value - 1;
|
value = modifiers[i].value - 1;
|
||||||
} else if (i === 'OutfittingFieldType_DefenceModifierHealthMultiplier') {
|
} else if (i === 'OutfittingFieldType_DefenceModifierHealthMultiplier' && blueprint === 'Armour_Thermic') {
|
||||||
//TODO: fix the hull strength. not sure whats wrong with it.
|
//TODO: fix the hull strength. not sure whats wrong with it.
|
||||||
value = modifiers[i].value - 1// - module.hullboost;
|
value = (modifiers[i].value - module.hullboost) / module.hullboost;
|
||||||
|
console.log(value);
|
||||||
|
} else if (i === 'OutfittingFieldType_DefenceModifierHealthMultiplier') {
|
||||||
|
value = modifiers[i].value / module.hullboost;
|
||||||
|
console.log(value);
|
||||||
} else {
|
} else {
|
||||||
value = modifiers[i].value - 1;
|
value = modifiers[i].value - 1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user