fix: reset Bleed cure state in Configure + map CureBleed checkbox; port icon/border textures .tga->BLP
This commit is contained in:
@@ -124,8 +124,8 @@ DC.AfflictionSound = "Interface\\AddOns\\Decursive\\Sounds\\AfflictionAlert.wav"
|
||||
--DC.AfflictionSound = "Sound\\Doodad\\BellTollTribal.wav"
|
||||
DC.FailedSound = "Interface\\AddOns\\Decursive\\Sounds\\FailedSpell.wav";
|
||||
|
||||
DC.IconON = "Interface\\AddOns\\Decursive\\iconON.tga";
|
||||
DC.IconOFF = "Interface\\AddOns\\Decursive\\iconOFF.tga";
|
||||
DC.IconON = "Interface\\AddOns\\Decursive\\iconON.blp";
|
||||
DC.IconOFF = "Interface\\AddOns\\Decursive\\iconOFF.blp";
|
||||
|
||||
for class in pairs(RAID_CLASS_COLORS) do
|
||||
DC["CLASS_"..class] = class
|
||||
@@ -826,7 +826,7 @@ function D:OnDisable() -- When the addon is disabled by Ace
|
||||
D.Status.Enabled = false;
|
||||
D.DcrFullyInitialized = false;
|
||||
|
||||
D:SetIcon("Interface\\AddOns\\Decursive\\iconOFF.tga");
|
||||
D:SetIcon("Interface\\AddOns\\Decursive\\iconOFF.blp");
|
||||
|
||||
if ( D.profile.ShowDebuffsFrame) then
|
||||
D.MFContainer:Hide();
|
||||
@@ -986,6 +986,7 @@ function D:Configure() --{{{
|
||||
CuringSpells[DC.POISON] = false;
|
||||
CuringSpells[DC.DISEASE] = false;
|
||||
CuringSpells[DC.CHARMED] = false;
|
||||
CuringSpells[DC.BLEED] = false; -- CoA: reset so Cauterize doesn't ghost after respec
|
||||
|
||||
local Spell, spellName, Type, _;
|
||||
local GetSpellInfo = _G.GetSpellInfo;
|
||||
|
||||
@@ -84,7 +84,7 @@
|
||||
<Color r="0" g="0" b="0" a="0.75" />
|
||||
</Texture> <!-- }}} -->
|
||||
|
||||
<Texture name="DcrLVIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
|
||||
<Texture name="DcrLVIconTemplate" file="Interface\AddOns\Decursive\iconON.blp" virtual="true"> <!-- {{{ -->
|
||||
<Anchors>
|
||||
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent">
|
||||
<Offset>
|
||||
@@ -97,7 +97,7 @@
|
||||
</Size>
|
||||
</Texture> <!-- }}} -->
|
||||
|
||||
<Texture name="DcrLVRaidIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
|
||||
<Texture name="DcrLVRaidIconTemplate" file="Interface\AddOns\Decursive\iconON.blp" virtual="true"> <!-- {{{ -->
|
||||
<Anchors>
|
||||
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent">
|
||||
<Offset>
|
||||
|
||||
@@ -1877,6 +1877,7 @@ function D:SetCureOrder (ToChange)
|
||||
[DC.POISON] = D.options.args.CureOptions.args.CurePoison,
|
||||
[DC.DISEASE] = D.options.args.CureOptions.args.CureDisease,
|
||||
[DC.CHARMED] = D.options.args.CureOptions.args.CureCharmed,
|
||||
[DC.BLEED] = D.options.args.CureOptions.args.CureBleed, -- CoA: added with DC.BLEED
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
@@ -397,7 +397,7 @@ do
|
||||
|
||||
if D.LiveList.TestItemDisplayed and i == 1 and Unit ~= "target" and Unit ~= "mouseover" and UnitExists(Unit) then
|
||||
D:Debug("|cFFFF0000Setting test debuff for %s (debuff %d)|r", Unit, i);
|
||||
return "Test item", DC.TypeNames[D.Status.ReversedCureOrder[1]], 2, "Interface\\AddOns\\Decursive\\iconON.tga", D.LiveList.TestItemDisplayed + 70;
|
||||
return "Test item", DC.TypeNames[D.Status.ReversedCureOrder[1]], 2, "Interface\\AddOns\\Decursive\\iconON.blp", D.LiveList.TestItemDisplayed + 70;
|
||||
end
|
||||
|
||||
--D:Debug("|cFFFF0000Getting debuffs for %s , id = %d|r", Unit, i);
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
Before Width: | Height: | Size: 1.0 MiB |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user