message: Made the some conditionals easier to read
diff: @@ -247,13 +247,11 @@ export function getModAssignments(
  // The raid mods wont fit in the item set so move on to the next set of mods
  if (
  - !(
  - isModEnergyValid(itemEnergy, raidMod) &&
  - modTag &&
  - itemSocketMetadata[item.id]?.some((metadata) =>
  + !isModEnergyValid(itemEnergy, raidMod) ||
  + !modTag ||
  + !itemSocketMetadata[item.id]?.some((metadata) =>
  metadata.compatibleModTags.includes(modTag)
  )
  - )
  ) {
  continue raidModLoop;
  }
  @@ -275,13 +273,11 @@ export function getModAssignments(
  // The combat mods wont fit in the item set so move on to the next set of mods
  if (
  - !(
  - isModEnergyValid(itemEnergy, combatMod, raidPermutation[i]) &&
  - modTag &&
  - itemSocketMetadata[item.id]?.some((metadata) =>
  + !isModEnergyValid(itemEnergy, combatMod, raidPermutation[i]) ||
  + !modTag ||
  + !itemSocketMetadata[item.id]?.some((metadata) =>
  metadata.compatibleModTags.includes(modTag)
  )
  - )
  ) {
  continue combatModLoop;
  }
  