Skip to content

Commit

Permalink
v0.9.100
Browse files Browse the repository at this point in the history
  • Loading branch information
d4kir92 committed Sep 14, 2024
1 parent c58d16c commit 9bf8831
Show file tree
Hide file tree
Showing 9 changed files with 19 additions and 19 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: 110002

## Version: 0.9.99
## Version: 0.9.100
## 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.99
## Version: 0.9.100
## 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.99
## Version: 0.9.100
## 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: 11503
## Version: 0.9.99
## Version: 0.9.100
## 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.99
## Version: 0.9.100
## 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 core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ function ImproveAny:Event(event, ...)
["icon"] = 136033,
["var"] = mmbtn,
["dbtab"] = IATAB,
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.99"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
["vTT"] = {{"ImproveAny |T136033:16:16:0:0|t", "v|cff3FC7EB0.9.100"}, {ImproveAny:GT("LEFTCLICK"), ImproveAny:GT("MMBTNLEFT")}, {ImproveAny:GT("RIGHTCLICK"), ImproveAny:GT("MMBTNRIGHT")}},
["funcL"] = function()
ImproveAny:ToggleSettings()
end,
Expand Down
2 changes: 1 addition & 1 deletion ele/combattext.lua
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function ImproveAny:InitCombatText()
local icon = spellIcon or talentIcon or IATabBuffs[msg]
if icon == nil then
for id = 1, 32 do
name, ico, rank, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = UnitBuff("PLAYER", id)
name, ico, rank, count, debuffType, duration, expirationTime, unitCaster, isStealable, shouldConsolidate, spellId = ImproveAny:UnitAura("PLAYER", id)
if name then
if name == msg then
IATabBuffs[msg] = ico
Expand Down
16 changes: 8 additions & 8 deletions ele/raidframe.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ function ImproveAny:InitRaidFrames()
end

function ImproveAny:CompactUnitFrame_UtilSetBuff(buffFrame, unit, index, filter)
local _, icon, count, _, duration, expirationTime, _, _, _, _, _ = UnitBuff(unit, index, filter)
local _, icon, count, _, duration, expirationTime, _, _, _, _, _ = ImproveAny:UnitAura(unit, index, filter)
buffFrame.icon:SetTexture(icon)
if count > 1 then
local countText = count
Expand All @@ -195,9 +195,9 @@ function ImproveAny:InitRaidFrames()
--isBossBuff looks in HELPFULL auras otherwise it looks in HARMFULL ones
local _, icon, count, debuffType, duration, expirationTime, _, _, _, _
if isBossBuff then
name, icon, count, debuffType, duration, expirationTime, unitCaster, canStealOrPurge, _, spellId = UnitBuff(unit, index, filter)
name, icon, count, debuffType, duration, expirationTime, unitCaster, canStealOrPurge, _, spellId = ImproveAny:UnitAura(unit, index, filter)
else
name, icon, count, debuffType, duration, expirationTime, unitCaster, canStealOrPurge, _, spellId = UnitDebuff(unit, index, filter)
name, icon, count, debuffType, duration, expirationTime, unitCaster, canStealOrPurge, _, spellId = ImproveAny:UnitAura(unit, index, filter)
end

debuffFrame.filter = filter
Expand Down Expand Up @@ -241,7 +241,7 @@ function ImproveAny:InitRaidFrames()
local filter = nil
while frameNum <= 10 do
if frame.displayedUnit then
local buffName = UnitBuff(frame.displayedUnit, index, filter)
local buffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if buffName then
if CompactUnitFrame_UtilShouldDisplayBuff(frame.displayedUnit, index, filter) and not CompactUnitFrame_UtilIsBossAura(frame.displayedUnit, index, filter, true) then
local buffFrame = _G[frame:GetName() .. "Buff" .. frameNum]
Expand Down Expand Up @@ -284,7 +284,7 @@ function ImproveAny:InitRaidFrames()
local filter = nil
while frameNum <= 10 do
if frame.displayedUnit then
local debuffName = UnitDebuff(frame.displayedUnit, index, filter)
local debuffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if debuffName then
if CompactUnitFrame_UtilIsBossAura(frame.displayedUnit, index, filter, false) then
local debuffFrame = _G[frame:GetName() .. "Debuff" .. frameNum]
Expand Down Expand Up @@ -313,7 +313,7 @@ function ImproveAny:InitRaidFrames()
index = 1
while frameNum <= 10 do
if frame.displayedUnit then
local debuffName = UnitBuff(frame.displayedUnit, index, filter)
local debuffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if debuffName then
if CompactUnitFrame_UtilIsBossAura(frame.displayedUnit, index, filter, true) then
local debuffFrame = _G[frame:GetName() .. "Debuff" .. frameNum]
Expand Down Expand Up @@ -342,7 +342,7 @@ function ImproveAny:InitRaidFrames()
index = 1
while frameNum <= 10 do
if frame.displayedUnit then
local debuffName = UnitDebuff(frame.displayedUnit, index, filter)
local debuffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if debuffName then
if CompactUnitFrame_UtilIsPriorityDebuff(frame.displayedUnit, index, filter) then
local debuffFrame = _G[frame:GetName() .. "Debuff" .. frameNum]
Expand Down Expand Up @@ -373,7 +373,7 @@ function ImproveAny:InitRaidFrames()
if frame.optionTable.displayNonBossDebuffs then
while frameNum <= 10 do
if frame.displayedUnit then
local debuffName = UnitDebuff(frame.displayedUnit, index, filter)
local debuffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if debuffName then
if CompactUnitFrame_UtilShouldDisplayDebuff(frame.displayedUnit, index, filter) and not CompactUnitFrame_UtilIsBossAura(frame.displayedUnit, index, filter, false) and not CompactUnitFrame_UtilIsPriorityDebuff(frame.displayedUnit, index, filter) then
local debuffFrame = _G[frame:GetName() .. "Debuff" .. frameNum]
Expand Down
8 changes: 4 additions & 4 deletions settings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ function ImproveAny:UpdateRaidFrameSize()
local filter = nil
while frameNum <= 10 do
if frame.displayedUnit then
local buffName = UnitBuff(frame.displayedUnit, index, filter)
local buffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if buffName then
local buffFrame = _G[frame:GetName() .. "Buff" .. i]
if buffFrame then
Expand All @@ -256,7 +256,7 @@ function ImproveAny:UpdateRaidFrameSize()
local filter = nil
while frameNum <= 10 do
if frame.displayedUnit then
local debuffName = UnitDebuff(frame.displayedUnit, index, filter)
local debuffName = ImproveAny:UnitAura(frame.displayedUnit, index, filter)
if debuffName then
local debuffFrame = _G[frame:GetName() .. "Debuff" .. i]
if debuffFrame then
Expand Down Expand Up @@ -420,8 +420,8 @@ function ImproveAny:InitIASettings()
IASettings:Hide()
end

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

0 comments on commit 9bf8831

Please sign in to comment.