Provide correct blueprints limits for HRPs

This commit is contained in:
Cmdr McDonald
2017-03-22 18:24:22 +00:00
parent d15e49f315
commit 8ad9472d56

View File

@@ -81,8 +81,8 @@ export function getBlueprint(name, module) {
// Start with a copy of the blueprint
const blueprint = JSON.parse(JSON.stringify(Modifications.blueprints[name]));
if (module) {
if (module.grp === 'bh') {
// Bulkheads need to have their resistances altered
if (module.grp === 'bh' || module.grp === 'hr') {
// Bulkheads and hull reinforcements need to have their resistances altered by the base values
for (const grade in blueprint.grades) {
for (const feature in blueprint.grades[grade].features) {
if (feature === 'explres') {