4551 {
4552 bool occupiedException = occupiedSlot == InventorySlots.HANDS || occupiedSlot == InventorySlots.SHOULDER || occupiedSlot == InventorySlots.MELEE || occupiedSlot == InventorySlots.LEFTHAND;
4553 bool targetException = targetSlot == InventorySlots.HANDS || targetSlot == InventorySlots.SHOULDER || targetSlot == InventorySlots.MELEE || targetSlot == InventorySlots.LEFTHAND;
4554
4555 if (occupiedException)
4556 {
4557 adjustedValue = value;
4558 return false;
4559 }
4560
4561 if (targetException)
4562 {
4563 adjustedValue = null;
4564 return false;
4565 }
4566
4568 return adjustedValue.Count() != 0;
4569 }
void AdjustExclusionAccessCondition(int occupiedSlot, int testedSlot, set< int > value, inout set< int > adjustedValue)
if we want to filter