Skip to content

Conversation

@xurion
Copy link
Contributor

@xurion xurion commented Aug 20, 2022

Add NMs:

  • Amphitrite
  • Bennu
  • Ironclad smiter
  • Ironclad sunderer
  • Ironclad triturator
  • Resheph

Related to:

return {
has_all_pops = not nm.pops or T(nm.pops):all(function(item)
return item.type == 'item' and owns_item(item.id, items) or owns_key_item(item.id, key_items)
-- Avoids confusing item and key item IDs
Copy link
Member

Choose a reason for hiding this comment

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

Am I missing something here? Or is this change meant to be cosmetic only? Because it should do the same thing as before.

Copy link
Contributor Author

@xurion xurion Aug 20, 2022

Choose a reason for hiding this comment

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

That's what I thought. There's an issue wherein, if the item.type is "item" but the owns_item returns false, it falls back to running the owns_key_item. This can give us a false positive when we have a matching key item ID.

Copy link
Member

Choose a reason for hiding this comment

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

Ah, that's a good point. Thanks for clarifying.

@z16 z16 merged commit ef25a4b into Windower:dev Aug 20, 2022
z16 added a commit that referenced this pull request Nov 4, 2024
Update EmpyPopTracker to 2.7.0
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.

2 participants