4673 {
4674 bool occupiedException = occupiedSlot == InventorySlots.HANDS || occupiedSlot == InventorySlots.SHOULDER || occupiedSlot == InventorySlots.MELEE || occupiedSlot == InventorySlots.LEFTHAND;
4675 bool targetException = targetSlot == InventorySlots.HANDS || targetSlot == InventorySlots.SHOULDER || targetSlot == InventorySlots.MELEE || targetSlot == InventorySlots.LEFTHAND;
4676
4677 if (occupiedException)
4678 {
4679 adjustedValue = value;
4680 return false;
4681 }
4682
4683 if (targetException)
4684 {
4685 adjustedValue = null;
4686 return false;
4687 }
4688
4690 return adjustedValue.Count() != 0;
4691 }
void AdjustExclusionAccessCondition(int occupiedSlot, int testedSlot, set< int > value, inout set< int > adjustedValue)
if we want to filter