Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FIX] Bulk sim issues #741

Merged
merged 2 commits into from
Jun 18, 2024
Merged

[FIX] Bulk sim issues #741

merged 2 commits into from
Jun 18, 2024

Conversation

1337LutZ
Copy link
Contributor

@@ -495,23 +495,8 @@ func isValidEquipment(equipment *proto.EquipmentSpec) bool {
return false
}

// Validate trinkets/rings for duplicate IDs
if equipment.Items[proto.ItemSlot_ItemSlotFinger1].Id == equipment.Items[proto.ItemSlot_ItemSlotFinger2].Id && equipment.Items[proto.ItemSlot_ItemSlotFinger1].Id != 0 {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's no need to do this, as the FE UI doesn't allow for unique-equipped duplicates, and this would return as not valid if there's items that are not unique-equipped.

return false
}

// Validate rings/trinkets for heroic/non-heroic (matching name)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here, no need to check all of this.

@1337LutZ 1337LutZ merged commit 268304e into master Jun 18, 2024
2 checks passed
@1337LutZ 1337LutZ deleted the feature/fix-bulk-sim branch June 18, 2024 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant