Bug Closed · Resolved

TakeItem ignores different mythic items

#5994 opened by Unknown 1 year ago

Unknownreported this bug

Summary When there are multiple items with the same material, it will take the first one it finds, even if they have a different name or mythic id.

Steps to reproduce

1: Add the items to the server 2: reload 3: give yourself one of each item in the hotbar (SimpleMysteryBag in slot 1, UniqueMysteryBag in slot 2) 4: use the UniqueMysteryBag (in slot 2) 5: get a gold bar and see the SimpleMysteryBag removed.

items: https://pastebin.com/C6H8gih8 skills: https://pastebin.com/cU69bvpf

Current behavior

You can use this to spend low tier mysterybags to get high tier loot. it takes the first found item instead of the matching one.

Intended correct behavior

it should take the matching items only.

Debug log snippet

https://pastebin.com/AUtkF3mi

Proposed fixes

in a previous build this worked, going back to the behavior of build 5246, (an old build I had laying around that did not have this error)

Sign in to join the discussion.