Skip to content

Commit

Permalink
v0.9.48
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Mar 30, 2024
1 parent 4c4fc3c commit 2816308
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion ImproveAny.toc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Interface-Cata: 40400
## Interface: 100206

## Version: 0.9.47
## Version: 0.9.48
## Title: ImproveAny by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Cata.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 40400
## Version: 0.9.47
## Version: 0.9.48
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_TBC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20504
## Version: 0.9.47
## Version: 0.9.48
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Vanilla.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11501
## Version: 0.9.47
## Version: 0.9.48
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
2 changes: 1 addition & 1 deletion ImproveAny_Wrath.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 30403
## Version: 0.9.47
## Version: 0.9.48
## Title: ImproveAny |T136033:16:16:0:0|t by |cff3FC7EBD4KiR |T132115:16:16:0:0|t
## Notes: Improve Any Ui or Frame
## Author: D4KiR
Expand Down
12 changes: 6 additions & 6 deletions ele/partymember.lua
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ local function OnEventXPInit(self, event, ...)

if PartyFrame then
local sw = ManaBar:GetWidth() - 1
local sh = ManaBar:GetHeight() * 1.5
local sh = ManaBar:GetHeight()
local PartyFrameXPBar = CreateFrame("Frame", "PartyFrameXPBar" .. i)
PartyFrameXPBar:SetParent(PartyFrame)
PartyFrameXPBar:SetSize(sw, sh)
Expand All @@ -130,19 +130,19 @@ local function OnEventXPInit(self, event, ...)
PartyFrameXPBar.textureBorder:SetSize(sw + 5, sh + 5)
PartyFrameXPBar.textureBorder:SetPoint("CENTER", PartyFrameXPBar, "CENTER", 0, 0)
PartyFrameXPBar.XPC = PartyFrameXPBar:CreateFontString(nil, "ARTWORK", "TextStatusBarText")
PartyFrameXPBar.XPC:SetFont(STANDARD_TEXT_FONT, 10, "")
PartyFrameXPBar.XPC:SetFont(STANDARD_TEXT_FONT, 8, "")
PartyFrameXPBar.XPC:SetShadowOffset(1, -1)
PartyFrameXPBar.XPC:SetAlpha(0.5)
PartyFrameXPBar.XPC:SetPoint("CENTER", PartyFrameXPBar, "CENTER", 2, 0)
PartyFrameXPBar.XPC:SetText(string.format("%0.1f", math.random(0, 1000) / 1000 * 100) .. "%")
PartyFrameXPBar.XPL = PartyFrameXPBar:CreateFontString(nil, "ARTWORK", "TextStatusBarText")
PartyFrameXPBar.XPL:SetFont(STANDARD_TEXT_FONT, 10, "")
PartyFrameXPBar.XPL:SetFont(STANDARD_TEXT_FONT, 8, "")
PartyFrameXPBar.XPL:SetShadowOffset(1, -1)
PartyFrameXPBar.XPL:SetAlpha(0.5)
PartyFrameXPBar.XPL:SetPoint("LEFT", PartyFrameXPBar, "LEFT", 2, 0)
PartyFrameXPBar.XPL:SetText(string.format("%0.1f", math.random(0, 1000) / 1000 * 100) .. "%")
PartyFrameXPBar.XPR = PartyFrameXPBar:CreateFontString(nil, "ARTWORK", "TextStatusBarText")
PartyFrameXPBar.XPR:SetFont(STANDARD_TEXT_FONT, 10, "")
PartyFrameXPBar.XPR:SetFont(STANDARD_TEXT_FONT, 8, "")
PartyFrameXPBar.XPR:SetShadowOffset(1, -1)
PartyFrameXPBar.XPR:SetAlpha(0.5)
PartyFrameXPBar.XPR:SetPoint("RIGHT", PartyFrameXPBar, "RIGHT", 2, 0)
Expand All @@ -152,7 +152,7 @@ local function OnEventXPInit(self, event, ...)
PartyFrameXPBar.textureLvlBg:SetSize(42, 42)
PartyFrameXPBar.textureLvlBg:SetPoint("CENTER", PartyPortrait, "BOTTOMLEFT", 8, -8)
PartyFrameXPBar.levelText = PartyFrameXPBar:CreateFontString(nil, "OVERLAY")
PartyFrameXPBar.levelText:SetFont(STANDARD_TEXT_FONT, 9, "")
PartyFrameXPBar.levelText:SetFont(STANDARD_TEXT_FONT, 8, "")
PartyFrameXPBar.levelText:SetShadowOffset(1, -1)
PartyFrameXPBar.levelText:SetPoint("CENTER", PartyFrameXPBar.textureLvlBg, "CENTER", -9, 9)
PartyFrameXPBar.levelText:SetText("" .. math.random(1, 59))
Expand All @@ -178,7 +178,7 @@ local function OnEventXPInit(self, event, ...)
PartyFrameXPBar.XPL:SetText("")
PartyFrameXPBar.XPR:SetText("")
elseif GetCVar("statusTextDisplay") == "NUMERIC" then
PartyFrameXPBar.XPC:SetText(string.format("%s/%s", m(xp), ImproveAny:MathR(xpmax)))
PartyFrameXPBar.XPC:SetText(string.format("%s/%s", ImproveAny:MathR(xp), ImproveAny:MathR(xpmax)))
PartyFrameXPBar.XPL:SetText("")
PartyFrameXPBar.XPR:SetText("")
elseif GetCVar("statusTextDisplay") == "BOTH" then
Expand Down
4 changes: 2 additions & 2 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -420,8 +420,8 @@ function ImproveAny:InitIASettings()
IASettings:Hide()
end

D4:SetVersion(AddonName, 136033, "0.9.47")
IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.47"))
D4:SetVersion(AddonName, 136033, "0.9.48")
IASettings.TitleText:SetText(format("ImproveAny |T136033:16:16:0:0|t v|cff3FC7EB%s", "0.9.48"))
IASettings.CloseButton:SetScript(
"OnClick",
function()
Expand Down

0 comments on commit 2816308

Please sign in to comment.