Mercurial > wow > askmrrobot
comparison Export.lua @ 106:e635cd648e01 v49
7.2 update
| author | yellowfive |
|---|---|
| date | Tue, 28 Mar 2017 16:10:00 -0700 |
| parents | b8e9664d3229 |
| children | 57c6cac5143c |
comparison
equal
deleted
inserted
replaced
| 105:3ce266c86bd3 | 106:e635cd648e01 |
|---|---|
| 275 local powers = C_ArtifactUI.GetPowers() | 275 local powers = C_ArtifactUI.GetPowers() |
| 276 if not powers then return end | 276 if not powers then return end |
| 277 | 277 |
| 278 local powerRanks = {} | 278 local powerRanks = {} |
| 279 for k,v in pairs(powers) do | 279 for k,v in pairs(powers) do |
| 280 local spellId, cost, rank, maxRank, relicRank = C_ArtifactUI.GetPowerInfo(v) | 280 local powerInfo = C_ArtifactUI.GetPowerInfo(v) |
| 281 if rank - relicRank > 0 then | 281 if powerInfo.currentRank - powerInfo.bonusRanks > 0 then |
| 282 powerRanks[v] = rank - relicRank | 282 powerRanks[v] = powerInfo.currentRank - powerInfo.bonusRanks |
| 283 end | 283 end |
| 284 end | 284 end |
| 285 | 285 |
| 286 local relicInfo = {} | 286 local relicInfo = {} |
| 287 for i = 1,3 do | 287 for i = 1,3 do |
