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

Missing talent rank for talents #36

Open
izyspania opened this issue Jun 23, 2023 · 0 comments
Open

Missing talent rank for talents #36

izyspania opened this issue Jun 23, 2023 · 0 comments

Comments

@izyspania
Copy link

izyspania commented Jun 23, 2023

Is it possible to add talent rank for talents when using GetUnitInfo?
Edit:
Some talents are reducing the cooldown of other spells depending of the rank.
One option would be to add an extra arg that return the talent ranks so we dont mess up the old API or it can be changed to something like the conduits arg.

unitInfo = {
.specId = number
.specName = string
.role = string
.renown = number
.covenantId = number
.talents = {talentId, talentId, talentId, ...}
.talentsRank = {talentRank, talentRank, talentRank, ...} -- 1 if only one rank or rank value , in the same order as the talents
.pvpTalents = {talentId, talentId, talentId}
.conduits = {spellId, conduitLevel, spellId, conduitLevel, spellId, conduitLevel, ...}
.class = string class eng name 'ROGUE'
.classId = number
.className = string class localized name
.name = string name without realm
.nameFull = string name with realm 'unitName-ServerName'
}

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

No branches or pull requests

1 participant