From e0200b2111737113a48d63e1f539a790d7c1fe4e Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sat, 12 Apr 2025 18:54:42 -0700 Subject: [PATCH] fix: universalPolarityEverywhere not affecting all plexus slots (#1589) Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1589 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- src/controllers/api/inventoryController.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/controllers/api/inventoryController.ts b/src/controllers/api/inventoryController.ts index 2c659717..805df53d 100644 --- a/src/controllers/api/inventoryController.ts +++ b/src/controllers/api/inventoryController.ts @@ -202,7 +202,8 @@ export const getInventoryResponse = async ( if (config.universalPolarityEverywhere) { const Polarity: IPolarity[] = []; - for (let i = 0; i != 12; ++i) { + // 12 is needed for necramechs. 14 is needed for plexus/crewshipharness. + for (let i = 0; i != 14; ++i) { Polarity.push({ Slot: i, Value: ArtifactPolarity.Any