Restoration spec name overwrites profiles for Druid/Shaman
lmiemus opened this issue ยท 1 comments
Describe the bug
Profiles cannot be unique for Restoration Druid and Restoration Shaman.
The addon currently checks and sets a profile according to spec name and group type, but since spec name is defined as:
spec_name = select(2, GetSpecializationInfoForClassID(class_id, spec_id))
it will return the same value for both Shaman and Druid classes which is "Restoration", thus creating an identical combo which triggers a profile for both.
The result is the profile will be set for both classes to the last selected profile on either class, overwriting a separate profile for the other.
To Reproduce
Steps to reproduce the behavior:
- Create and set a profile for a Restoration Druid.
- Create a different profile and set it for a Restoration Shaman.
- The profile from step 2 will now also be set for Restoration Druid, overwriting the profile from step 1.
Expected behavior
Unique profile should be set for both Restoration specs in the game. This bug will most likely also occur with Protection Paladin and Protection Warrior, etc.
Easiest solution would be to concatenate a class name to the spec name to make them unique.
Have you disabled all other add-ons?
Yes
Screenshots
N/A
Game Version
Retail 11.0.5
Additional context
N/A