- Fixed many issues with bar animations.

- Fixed combat encounter start if the player already is in combat when the boss is pulled.
- Fixed wheel scroll when sometimes it get doesn't scroll or scroll very slow.
- Added option 'Always Show Me' which when enabled always show your bar at the bottom of the window.
- Added option 'First Hit' which when enabled show who did the first struck in the combat.
- Added a panel to change class colors.
This commit is contained in:
tercio
2014-10-08 18:53:23 -03:00
parent 374fdb4eec
commit c9f2e89b1b
13 changed files with 643 additions and 303 deletions
+17
View File
@@ -174,6 +174,16 @@
)
) then
--> não entra em combate se for DOT
if (_detalhes.encounter_table.id and _detalhes.encounter_table ["start"] >= _G.time()-3 and _detalhes.announce_firsthit.enabled) then
local link
if (spellid <= 10) then
link = _GetSpellInfo (spellid)
else
link = GetSpellLink (spellid)
end
_detalhes:Msg ("First hit: " .. (link or "") .. " from " .. (who_name or "Unknown"))
end
_detalhes:EntrarEmCombate (who_serial, who_name, who_flags, alvo_serial, alvo_name, alvo_flags)
end
end
@@ -2686,7 +2696,14 @@
return _detalhes.parser_functions:ZONE_CHANGED_NEW_AREA (...)
end
-- ~encounter
function _detalhes.parser_functions:ENCOUNTER_START (...)
if (_in_combat) then
--print ("encounter start while in combat... finishing the combat...")
_detalhes:SairDoCombate()
end
_table_wipe (_detalhes.encounter_table)
local encounterID, encounterName, difficultyID, raidSize = _select (1, ...)