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

PvP Talent Triggers and Loads dont work after patch updates #4557

Open
2 tasks done
ireliamonster opened this issue Aug 2, 2023 · 6 comments
Open
2 tasks done

PvP Talent Triggers and Loads dont work after patch updates #4557

ireliamonster opened this issue Aug 2, 2023 · 6 comments
Labels
🐛 Bug This is a problem with WeakAuras.

Comments

@ireliamonster
Copy link

Is there an existing issue for this?

  • I have searched the existing open and closed issues.

Description

With most patches, some of my triggers and load conditions involving pvp talent selection changes, see reproduction steps.

WeakAuras Version

WeakAuras 5.6.0

World of Warcraft Flavor

Retail (Default)

World of Warcraft Region

EU

Tested with only WeakAuras

  • Yes

Lua Error

No response

Reproduction Steps

  1. Create a weakaura that displays an icon if you have "Master Shepherd" pvp talent selected, the 3rd talent
  2. Wait until blizzard removes the 2nd talent, "Ring of Fire"
  3. The weakaura will now trigger if the NEW 3rd talent, "Improved Mass Invisibility" is selected, instead of the intended "Master Shepherd" which has now become the 2nd talent. Note that Mass Invis was the 4th talent before the patch, and is now the 3rd one

Last Good Version

No response

Screenshots

No response

Export String

No response

@ireliamonster ireliamonster added the 🐛 Bug This is a problem with WeakAuras. label Aug 2, 2023
@github-actions github-actions bot added the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Aug 2, 2023
@ireliamonster
Copy link
Author

ireliamonster commented Aug 2, 2023

I'm guessing this is the code that needs to change:

local pvpSpecTalents = slotInfo.availableTalentIDs;
for i, talentId in ipairs(pvpSpecTalents) do
Private.pvp_talent_types_specific[player_class][spec][i] = formatTalent(talentId);
end

Does it have to be a hashmap based on an arbitrary integer? Maybe we could do something like
Private.pvp_talent_types_specific[player_class][spec][talentId] = formatTalent(talentId);

@InfusOnWoW
Copy link
Contributor

That's the simple part. (Though obviously incomplete).

The complex part is modernizing all existing auras, which is I think is currently impossible. We would need to map all indexes in all existing auras to talentId, for which we need a class, spec + pvp talent index. But the pvp talent load option currently doesn't require setting a class/spec, thus that information is missing. (And yes people do that, and it works because they only play one class/spec.)

I don't see a good way to do this within an expansion, so this can't be done until the next expansion.

@ireliamonster
Copy link
Author

But the pvp talent load option currently doesn't require setting a class/spec, thus that information is missing. (And yes people do that, and it works because they only play one class/spec.)

In case this wasnt clear, the pvp talent load option also breaks on patches with new pvp talents, in the same way as described above for triggers. I realize now I put this in the title only

@ireliamonster
Copy link
Author

So it could perhaps be considered in a regular patch where pvp talents are changed, as this will break the load options anyway

@InfusOnWoW
Copy link
Contributor

Well, they only break for some classes not for all, and also only partially. This wasn't a problem in the past because the pvp talents rarely changed. They have been doing more talent changes in general, though I'm not positive this will continue for the rest of the expansion.

@ireliamonster
Copy link
Author

Alright

Just for documentation this is also an issue if you try to edit a weakaura for one class when you are logged in as another class, e.g. when I'm working on WAs while in shuffle queue on an alt

@emptyrivers emptyrivers removed the ⏱ Awaiting Response This ticket hasn't been triaged yet. label Mar 22, 2024
This was referenced May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug This is a problem with WeakAuras.
Projects
None yet
Development

No branches or pull requests

3 participants