Skip to content

Update EmpyPopTracker to 2.7.0 - #2221

Merged
z16 merged 1 commit into
Windower:devfrom
xurion:dev
Aug 20, 2022
Merged

Update EmpyPopTracker to 2.7.0#2221
z16 merged 1 commit into
Windower:devfrom
xurion:dev

Conversation

@xurion

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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.

@xurionxurionAug 20, 2022

Copy link
Copy Markdown
ContributorAuthor

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
Copy Markdown
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:devAug 20, 2022
z16 added a commit that referenced this pull request Nov 4, 2024
Update EmpyPopTracker to 2.7.0
Sign up for freeto 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

@xurion@z16