WoWInterface SVN NaturCombatTimers

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 19 to Rev 20
    Reverse comparison

Rev 19 → Rev 20

trunk/NaturCombat/addon/generator.lua
14,6 → 14,7
addon.colors["STUN"] = {r = 0.5, g = 0.2, b = 0.1};
addon.colors["DOT"] = {r = 0, g = 0.8, b = 0.8};
addon.colors["DEBUFF"] = {r = 0.8, g = 0.8, b = 0};
addon.colors["GREY"] = { r = 0.8, g = 0.8, b = 0.8};
----------------------------------------------------------------------------------------------------
addon.media:Register("statusbar", "NaturGlaze", [[Interface\AddOns\NaturCombat\media\glaze]]);
----------------------------------------------------------------------------------------------------
trunk/NaturCombat/addon/parser.lua
44,7 → 44,7
end
end
-- Set Bar Color
local color;
local color = addon.colors["GREY"];
if (spell.type == "BUFF") then
if (CombatLog_Object_IsA(dstFlags, COMBATLOG_FILTER_HOSTILE_PLAYERS)) then
color = addon.colors["HOSTILEBUFF"];
86,8 → 86,10
addon:StartParsing("SPELL_CAST_SUCCESS", function(when,what,srcGUID,srcName,srcFlags,dstGUID,dstName,dstFlags,...)
local spell = addon:GetSpellData(...);
--Quick fix for refreshing spells until 2.4.3 SPELL_AURA_REFRESH
if (dstGUID == UnitGUID("target") or dstGUID == UnitGUID("focus")) and (dstGUID ~= UnitGUID("player")) then
addon.group:SetTime(dstGUID..spell.id, spell.duration);
if (spell) and (spell.duration) then
if (dstGUID == UnitGUID("target") or dstGUID == UnitGUID("focus")) and (dstGUID ~= UnitGUID("player")) then
addon.group:SetTime(dstGUID..spell.id, spell.duration);
end
end
-----------
if (spell.special) and (srcGUID == UnitGUID("player")) then -- show this even tho the player casted it.