Skip to content

Macro spells don't work, GetActionInfo changed in Patch 10.2 #422

@Nulgar

Description

@Nulgar

Version (*):

10.0.3

Bug description (*):

I noticed that my macros with spells didn't show ABA overlays anymore in Patch 10.2, neither with addon version 10.0.3 nor the 10.0.0 I had installed before. "Spells & items" view said the buttons were "unsupported".

I recalled seeing a mention that macros with items broke a while ago, so I did some digging in the code, and found that GetActionInfo no longer returns the macro index as the actionId even for spells.

For spells, the function pleasantly returns "macro", [spellID], "spell" so that's an easy fix, although no luck for macro conditionals without the index.
For items, the actionId is just slot-1 which I guess is unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions