Current maximum Artifact power
I want to avoid showing a button to use Artifact power items when the character is capped and all that would happen after the cast is the red error "your artifact has maximum power".
The question is how to do this? I could go for ranks purchased/learned from GetArtifactInfo, QuestCheck (maybe attack on the broken shore by Khadgar?), but i am unsure if this would be dynamic enough compared across classes. |
Quote:
-- edit #1 The only dynamic aspect of this thingy is artefact empowerment quest, IIRC, it's different for each spec, so I'd just check if this quest was completed, if not, I'd check if artefact had all 54 traits, if yes, I'd disable the button. |
Do all artifacts have the exact same amount of treats except maybe the fishing pole?
It is possible to hit that error, now if you don't do broken shore, later in the game maybe completely |
Quote:
|
Maximum AP a 7.2 weapon can hold is 865,842,644,766,330. The final 50th rank of Concordance costs exactly 200 trillion. It is literally impossible for anyone to reach that point, at least now on live servers. We're getting more AK in 7.3, so new calculations for farming will be needed. If you would like to treat the first rank of Concordance as the max (which is 52 traits purchased), total AP at that point is 2,228,766,330 with the 52nd trait costing 520,000,000.
|
I have this exact functionality in my addon (assuming you are talking about non-empowered artifacts only). You can simply use the "artifact tier" available through the regular Artifact API in combination with the number of purchased traits (54 for tier 1, unlimited for tier 2 as mentioned by others).
Tier = 1 means it hasn't been empowered, tier = 2 is what you get after completing the quest. Presumably, the new ranks are going to turn it into a tier 3 artifact in future patches. |
Code:
print("--") Now (as asked there), i am looking for the trigger that tells items apart that can be used with the empowered Weapon and those items that are "too old and weak" and will trigger the "your weapon is too powerful" barrier. Is it encoded in the itemlink like the AK multiplier maybe? |
Sorry for the thread necro, but it seemed appropriate.
What I'd like to do is get the currently equipped weapon's spent AP and the AP for the next level. For my weapon, it would be 20,021,044,100 and 45.1 billion (although I need the exact number). The reason I need the exact numbers for both is that I want to divide currentAP by nextRankAP so I can get it into a 0-1 range. I have been looking at the FrameXML code to see what's there, but something is eluding me. What I have is thus: Lua Code:
Lua Code:
|
There is a new addon, TotalAP, maybe in that code you can find what you want.
Looks like the solution is in there. |
Cool, I will check out its code.
|
Huzzah!
Lua Code:
|
These forums work :)
Quote:
|
All times are GMT -6. The time now is 10:00 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI