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

Provide UnitThreatSituation API response without giving target #10

Open
dfherr opened this issue Jan 13, 2020 · 0 comments
Open

Provide UnitThreatSituation API response without giving target #10

dfherr opened this issue Jan 13, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@dfherr
Copy link
Owner

dfherr commented Jan 13, 2020

provide a threatStatus response similar to the retail API https://wowwiki.fandom.com/wiki/API_UnitThreatSituation

This means threatStatus is determined by the highest status on any target.

This requires a loop over the targets of all party/raid members and their pets to determine if the provided unit is tanking (or in danger of tanking) in any of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant