Skip to content

Conversation

@Psykotik
Copy link
Collaborator

Changed legacy function C_Reputation.GetFactionDataByID(factionID) to behave as intended

Psykotik and others added 3 commits November 29, 2024 16:17
Changed legacy function C_Reputation.GetFactionDataByID(factionID) behavior
tooltip:SetFont(GameTooltipTextSmall)
local genderSuffix = (UnitSex("player") == 3 and "_FEMALE") or ""
local reputation = HNA:RGBToColorCode(FACTION_BAR_COLORS[standing]) .. _G["FACTION_STANDING_LABEL" .. standing .. genderSuffix] .. "|r"
--local genderSuffix = (UnitSex("player") == 3 and "_FEMALE") or ""
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove dead code?

local tooltip
local activeNodes = {}

local _, ns = ...
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for simplicity, merge ns.api and HNA objects, and remove ns?

@idiomatic
Copy link
Owner

idiomatic commented Nov 30, 2024

consider adding an appropriate message to CHANGELOG.md and adjusting the Version (0.6.4?) in HandyNotes_Achievements.toc.

Removed dead code + used HNA object instead of new one
@idiomatic idiomatic merged commit d9c15fa into idiomatic:master Nov 30, 2024
1 check passed
@idiomatic
Copy link
Owner

idiomatic commented Nov 30, 2024

@Psykotik if you wish, hit the Actions -> Publish to CurseForge -> Run workflow. If you're especially confident in the changes, pick release.

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.

2 participants