Skip to content

Conversation

NiLuJe
Copy link

@NiLuJe NiLuJe commented Dec 28, 2017

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

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+
Copy link
Author

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]
Copy link
Author

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]
Copy link
Author

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


if id then
local link, keyLevel = e.CreateKeyLink(id), e.UnitKeyLevel(id)
if keyLevel >= e.GetMinKeyLevel() then
Copy link
Author

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
Copy link
Author

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
Copy link
Author

@NiLuJe NiLuJe Dec 28, 2017

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.

@NiLuJe
Copy link
Author

NiLuJe commented Dec 30, 2017

Rebased

@NiLuJe NiLuJe force-pushed the master branch 2 times, most recently from 7ec3a7f to 42a8bea Compare January 5, 2018 01:09
@NiLuJe
Copy link
Author

NiLuJe commented Jan 5, 2018

Rebased

@NiLuJe
Copy link
Author

NiLuJe commented Jan 28, 2018

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
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

Successfully merging this pull request may close these issues.

1 participant