Skip to content

Commit

Permalink
发布bata版本
Browse files Browse the repository at this point in the history
  • Loading branch information
CvCn committed Aug 9, 2024
1 parent 04498b0 commit 8dd657e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Icon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,11 @@ ReplaceIconString(text)
local currencyInfo = C_CurrencyInfo.GetCurrencyInfo(id)
icon = currencyInfo.iconFileID
end
local id, amount = text:match(
"currency:(%d+):(%d+)")
if amount and tonumber(amount) ~= nil and tonumber(amount) > 0 then
suffix = amount
end
elseif H_type == 'dungeonScore' then
icon = 'Interface\\Icons\\inv_relics_hourglass'
suffix = id
Expand Down

0 comments on commit 8dd657e

Please sign in to comment.