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.AfflictionSound = "Sound\\Doodad\\BellTollTribal.wav"
|
||||||
DC.FailedSound = "Interface\\AddOns\\Decursive\\Sounds\\FailedSpell.wav";
|
DC.FailedSound = "Interface\\AddOns\\Decursive\\Sounds\\FailedSpell.wav";
|
||||||
|
|
||||||
DC.IconON = "Interface\\AddOns\\Decursive\\iconON.tga";
|
DC.IconON = "Interface\\AddOns\\Decursive\\iconON.blp";
|
||||||
DC.IconOFF = "Interface\\AddOns\\Decursive\\iconOFF.tga";
|
DC.IconOFF = "Interface\\AddOns\\Decursive\\iconOFF.blp";
|
||||||
|
|
||||||
for class in pairs(RAID_CLASS_COLORS) do
|
for class in pairs(RAID_CLASS_COLORS) do
|
||||||
DC["CLASS_"..class] = class
|
DC["CLASS_"..class] = class
|
||||||
@@ -826,7 +826,7 @@ function D:OnDisable() -- When the addon is disabled by Ace
|
|||||||
D.Status.Enabled = false;
|
D.Status.Enabled = false;
|
||||||
D.DcrFullyInitialized = false;
|
D.DcrFullyInitialized = false;
|
||||||
|
|
||||||
D:SetIcon("Interface\\AddOns\\Decursive\\iconOFF.tga");
|
D:SetIcon("Interface\\AddOns\\Decursive\\iconOFF.blp");
|
||||||
|
|
||||||
if ( D.profile.ShowDebuffsFrame) then
|
if ( D.profile.ShowDebuffsFrame) then
|
||||||
D.MFContainer:Hide();
|
D.MFContainer:Hide();
|
||||||
@@ -986,6 +986,7 @@ function D:Configure() --{{{
|
|||||||
CuringSpells[DC.POISON] = false;
|
CuringSpells[DC.POISON] = false;
|
||||||
CuringSpells[DC.DISEASE] = false;
|
CuringSpells[DC.DISEASE] = false;
|
||||||
CuringSpells[DC.CHARMED] = false;
|
CuringSpells[DC.CHARMED] = false;
|
||||||
|
CuringSpells[DC.BLEED] = false; -- CoA: reset so Cauterize doesn't ghost after respec
|
||||||
|
|
||||||
local Spell, spellName, Type, _;
|
local Spell, spellName, Type, _;
|
||||||
local GetSpellInfo = _G.GetSpellInfo;
|
local GetSpellInfo = _G.GetSpellInfo;
|
||||||
|
|||||||
@@ -84,7 +84,7 @@
|
|||||||
<Color r="0" g="0" b="0" a="0.75" />
|
<Color r="0" g="0" b="0" a="0.75" />
|
||||||
</Texture> <!-- }}} -->
|
</Texture> <!-- }}} -->
|
||||||
|
|
||||||
<Texture name="DcrLVIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
|
<Texture name="DcrLVIconTemplate" file="Interface\AddOns\Decursive\iconON.blp" virtual="true"> <!-- {{{ -->
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent">
|
<Anchor point="TOPLEFT" relativePoint="TOPLEFT" relativeTo="$parent">
|
||||||
<Offset>
|
<Offset>
|
||||||
@@ -97,7 +97,7 @@
|
|||||||
</Size>
|
</Size>
|
||||||
</Texture> <!-- }}} -->
|
</Texture> <!-- }}} -->
|
||||||
|
|
||||||
<Texture name="DcrLVRaidIconTemplate" file="Interface\AddOns\Decursive\iconON.tga" virtual="true"> <!-- {{{ -->
|
<Texture name="DcrLVRaidIconTemplate" file="Interface\AddOns\Decursive\iconON.blp" virtual="true"> <!-- {{{ -->
|
||||||
<Anchors>
|
<Anchors>
|
||||||
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent">
|
<Anchor point="BOTTOMRIGHT" relativePoint="BOTTOMRIGHT" relativeTo="$parent">
|
||||||
<Offset>
|
<Offset>
|
||||||
|
|||||||
@@ -1877,6 +1877,7 @@ function D:SetCureOrder (ToChange)
|
|||||||
[DC.POISON] = D.options.args.CureOptions.args.CurePoison,
|
[DC.POISON] = D.options.args.CureOptions.args.CurePoison,
|
||||||
[DC.DISEASE] = D.options.args.CureOptions.args.CureDisease,
|
[DC.DISEASE] = D.options.args.CureOptions.args.CureDisease,
|
||||||
[DC.CHARMED] = D.options.args.CureOptions.args.CureCharmed,
|
[DC.CHARMED] = D.options.args.CureOptions.args.CureCharmed,
|
||||||
|
[DC.BLEED] = D.options.args.CureOptions.args.CureBleed, -- CoA: added with DC.BLEED
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -397,7 +397,7 @@ do
|
|||||||
|
|
||||||
if D.LiveList.TestItemDisplayed and i == 1 and Unit ~= "target" and Unit ~= "mouseover" and UnitExists(Unit) then
|
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);
|
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
|
end
|
||||||
|
|
||||||
--D:Debug("|cFFFF0000Getting debuffs for %s , id = %d|r", Unit, i);
|
--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