Skip to content

Macros with identical name+icon combinations converted to spells #1

Description

@Einherjarn

in simpleactionsets.lua,
SAS_GetActionInfo()
you check for if ( spellNum ) before macros, resulting in some macros being treated as plain spells.

fix by including a check for macro in the conditional ie.
if ( spellNum and not(GetActionText(id))) then

and adding into
function SAS_BuildActionInfo(...)
if ( arg[5] ) then arg[5] = arg[5]; end

which fixes saving and loading.. somehow.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions