We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Event independent code:
local azeriteItemLocation = C_AzeriteItem.FindActiveAzeriteItem() if (not azeriteItemLocation) then return end local azeritePowerLevel = C_AzeriteItem.GetPowerLevel(azeriteItemLocation) local specID = GetSpecializationInfo(GetSpecialization()) for slot = INVSLOT_FIRST_EQUIPPED, INVSLOT_LAST_EQUIPPED - 1 do -- exclude tabard local item = Item:CreateFromEquipmentSlot(slot) if (not item:IsItemEmpty()) then local itemLocation = item:GetItemLocation() if (C_AzeriteEmpoweredItem.IsAzeriteEmpoweredItem(itemLocation)) then local tierInfo = C_AzeriteEmpoweredItem.GetAllTierInfo(itemLocation) for tier, info in next, tierInfo do if (info.unlockLevel <= azeritePowerLevel) then for _, powerID in next, info.azeritePowerIDs do local powerInfo = C_AzeriteEmpoweredItem.GetPowerInfo(itemLocation, powerID) if (powerInfo.selected and C_AzeriteEmpoweredItem.IsPowerAvailableForSpec(powerID, specID)) then print('Azerite power:', powerID, powerInfo.spellID) end end end end end end end
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Azerite traits
Event independent code:
The text was updated successfully, but these errors were encountered: