-
Notifications
You must be signed in to change notification settings - Fork 13
Fix a bunch of things #13
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
base: master
Are you sure you want to change the base?
Conversation
ArtifactPower.lua
Outdated
DUNGEON_TABLE[map].apTier[4] = 465 -- 10-14 | ||
DUNGEON_TABLE[map].apTier[5] = 725 -- 15-19 | ||
DUNGEON_TABLE[map].apTier[6] = 1025 -- 20-25 | ||
DUNGEON_TABLE[map].apBonus = 50 -- 10+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
AFAICT, it's always the same amount, even at 15+ or 20+
|
||
if amount < 10 then | ||
return string.format('%.2f', amount) .. ' ' .. IMP[power] | ||
return string.format('%.2f', amount) .. ' ' .. SI[power] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EU here, so I tend to prefer SI over IMP ;p.
return string.format('%.2f', amount) .. ' ' .. SI[power] | ||
else | ||
return math.floor(amount) .. ' ' .. IMP[power] | ||
return string.format('%.1f', amount) .. ' ' .. SI[power] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems relevant with current amounts
Communications.lua
Outdated
|
||
if id then | ||
local link, keyLevel = e.CreateKeyLink(id), e.UnitKeyLevel(id) | ||
if keyLevel >= e.GetMinKeyLevel() then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The MinKeyLevel stuff was removed a few commits ago
Frame.lua
Outdated
astralMouseOver:ClearAllPoints() | ||
astralMouseOver:SetPoint('TOPLEFT', self, 'CENTER', -85, 0) | ||
astralMouseOver:SetText(e.MapApText(e.UnitMapID(self.unitID), e.UnitKeyLevel(self.unitID))) | ||
if AstralKeysSettings.frameOptions.list == 'guild' then |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
;)
Tables.lua
Outdated
local name | ||
local name, online | ||
if e.FrameListShown() == 'guild' then | ||
for i = 1, select(2, GetNumGuildMembers()) do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That only returns the number of online guild members, which ends up restricting the amount of people we loop over and query w/ GetGuildRosterInfo(), so we end up an incomplete dataset.
Instead, loop over every guild member, and trust GetGuildRosterInfo()'s online flag.
NB: May still be incomplete when a guild has over 1k members.
Rebased |
7ec3a7f
to
42a8bea
Compare
Rebased |
Rebased |
Cache AP calculation w/ AK increase (not that this matters anymore) Map AP calculations (w/ proper 'bonus' token amounts) A bunch of extra whitespace/indent tweaks because I'm a bit OCD w/ these things
Cache AP calculation w/ AK increase (not that this matters anymore)
Map AP calculations (w/ proper 'bonus' token amounts)
Key announcements (broke in 2.0.0)(Fixed in 2.1.01/02)Map mouseover info in Friend tab(Fixed in 2.1.01/02)Show offline filter(Fixed in 2.1.01/02)A bunch of extra whitespace/indent tweaks because I'm a bit OCD w/ these
things