coavins / mhrise-coavins-dps

A detailed DPS meter for Monster Hunter Rise (PC)
GNU General Public License v3.0
24 stars 11 forks source link

Auto-select will misbehave in quests with more than one monster of the target species #43

Open coavins opened 2 years ago

coavins commented 2 years ago

Describe the bug In quests with multiple monsters of the same species, but only one of them is a target monster, I'm pretty sure the auto-select feature will select all of the monsters that belong to the target monster's species. I haven't actually seen a quest like this yet, but if it exists, then this issue probably exists too.

Steps to Reproduce For example:

  1. Enter a quest with more than one monster of the same species, but only one of them is part of the objective
  2. See auto-select feature select both monsters including the one that isn't part of the objective

Expected behavior Only the quest target should be selected by the auto-select feature.

coavins commented 2 years ago

See @Diyagi's gist for solution: https://gist.github.com/Diyagi/ed691caafca2eb6487df0f9f97e596e2