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

Add group unit options #578

Merged
merged 11 commits into from
Aug 5, 2018
Merged

Add group unit options #578

merged 11 commits into from
Aug 5, 2018

Conversation

asakawa-k
Copy link
Collaborator

The goal is to provide options in the group=unit settings for users to specify raiding roles to watch and also exclude themselves from results.

The use case I had in mind for this was be to track "tank swap" debuffs on other tanks. These settings would let users only see debuffs on other tanks which is a very common thing to want to see without a very satisfactory method currently.
Currently while raiding as tank I would always focus my cotank and use the focus unit for tank monitoring Auras. This gets messy when there are 3 tanks and removes any other uses I might have for my focus. Other people have made complex TSU auras to track the other tank.

Of course I expect that the setting could be useful for other stuff too.

@Stanzilla Stanzilla added ⏱ Awaiting Review This pull request needs to be reviewed. 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature. labels Aug 2, 2018
@asakawa-k
Copy link
Collaborator Author

This is a little under-cooked still actually

@Stanzilla Stanzilla added 👩‍🔬 Work in Progress This pull request is still being actively developed and shouldn't be merged. and removed ⏱ Awaiting Review This pull request needs to be reviewed. labels Aug 2, 2018
@asakawa-k
Copy link
Collaborator Author

Okay, done much more testing on this now and fixed the issue.

@@ -688,7 +697,7 @@ function WeakAuras.ScanAuras(unit)
-- Query count from aura cache
local aura_count, max = aura_object:GetNumber(id, triggernum, data), aura_object:GetMaxNumber();
local satisfies_count = data.group_count(aura_count, max);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤔

@@ -1302,6 +1302,13 @@ WeakAuras.group_aura_stack_info_types = {
stack = L["Aura Stack"]
}

WeakAuras.group_roles = {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we already have role_types, can we re-use and maybe add "any" to it?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about that but we don't actually want it to show "any" in the load conditions.

@@ -756,6 +756,20 @@ function WeakAuras.GetBuffTriggerOptions(data, trigger)
end,
values = group_aura_stack_info_types
},
ignoreSelf = {
type = "toggle",
name = "Ignore player",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

name = L["Ignore self"],

},
group_role = {
type = "select",
name = "Group Member Role",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L["Group Member Role"],

@emptyrivers emptyrivers added ✔️ Ready to Merge This pull request has been tested and approved, and can be merged at the maintainer's discretion. ⏱ Awaiting Review This pull request needs to be reviewed. and removed 👩‍🔬 Work in Progress This pull request is still being actively developed and shouldn't be merged. ✔️ Ready to Merge This pull request has been tested and approved, and can be merged at the maintainer's discretion. labels Aug 4, 2018
@Stanzilla Stanzilla requested a review from InfusOnWoW August 4, 2018 17:26
@Stanzilla Stanzilla merged commit c790c50 into WeakAuras:master Aug 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏱ Awaiting Review This pull request needs to be reviewed. 🎨 Feature Request This is a request for a new feature, or an expansion of an existing feature.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants