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

BandageSelf Macro not working with equipped FirstAidBelt #1601

Open
adverserath opened this issue Mar 2, 2023 · 0 comments
Open

BandageSelf Macro not working with equipped FirstAidBelt #1601

adverserath opened this issue Mar 2, 2023 · 0 comments

Comments

@adverserath
Copy link

Item backpack = FindItemByLayer(Layer.Backpack);

I've confirmed this to work with the 2D Client, but fails with CUO and Orion. So raising a defect to both.

The Bandage self hotkey is not healing with bandages from the First Aid Belt because the client is only looking for bandages inside the Layer.Backpack. It also needs to check for bandages in Layer.Waist.

        public Item FindBandage()
        {
            Item backpack = FindItemByLayer(Layer.Backpack);
            Item item = null;

            if (backpack != null)
            {
                item = backpack.FindItem(0x0E21);
            }

            return item;
        }```
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

No branches or pull requests

1 participant