"README.md" did not exist on "bf3029f9f7347120871070e8f25d2b8e5c3b2b80"
Commit 361860d0 authored by Ivaria's avatar Ivaria
Browse files

Fixed Holy Priest 'Trail of Light' tracker

parent 839cb3c8
......@@ -92,27 +92,27 @@ function VUHDO_parseCombatLogSpellTrace(aMessage, aSrcGuid, aDstGuid, aSpellName
-- special tracking for Holy Priest "Trail of Light"
if sShowTrailOfLight and sIsPlayerKnowsTrailOfLight and
aSrcGuid == VUHDO_PLAYER_GUID and aSpellName == VUHDO_SPELL_ID.FLASH_HEAL then
tinsert(
VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT,
{
anAmount,
aDstGuid
}
);
local FlashHeal1 = VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1];
local FlashHeal2 = VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[2];
if FlashHeal1 and FlashHeal2 then
if not VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1] or
(VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1] and VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1][2] ~= aDstGuid) then
tinsert(
VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT,
{
anAmount,
aDstGuid
}
);
end
local flashHeal1 = VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1];
local flashHeal2 = VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[2];
if flashHeal1 and flashHeal2 then
local tPreviousPlayerTrailOfLight = sCurrentPlayerTrailOfLight;
if FlashHeal1[1] < FlashHeal2[1] then
sCurrentPlayerTrailOfLight = FlashHeal1[2];
else
sCurrentPlayerTrailOfLight = FlashHeal2[2];
end
sCurrentPlayerTrailOfLight = flashHeal1[2];
twipe(VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT);
tremove(VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT, 2);
VUHDO_SPELL_TRACE_TRAIL_OF_LIGHT[1] = flashHeal2;
if VUHDO_RAID_GUIDS[sCurrentPlayerTrailOfLight] then
VUHDO_updateBouquetsForEvent(
......
......@@ -14,6 +14,7 @@ Bugfixes:
-- Fixed mana bar display after specialization activation
-- Fixed apostrophe issue for Priest 'Shadow Mend' in French language
-- Fixed assignment of remapped spells when dragging from spell book
-- Fixed Holy Priest 'Trail of Light' tracker
Improvements:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment