Fix single segment BG and a couple missed unitnames
This commit is contained in:
@@ -7125,6 +7125,8 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
Details.pvp_parser_frame.ticker = nil
|
||||
end
|
||||
|
||||
local _player, realmName = UnitFullName('player')
|
||||
|
||||
function Details.pvp_parser_frame:ReadPvPData()
|
||||
local players = GetNumBattlefieldScores()
|
||||
|
||||
@@ -7136,6 +7138,12 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
|
||||
name, killingBlows, honorableKills, deaths, honorGained, faction, race, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec = GetBattlefieldScore(i)
|
||||
end
|
||||
|
||||
if (not isWOTLK and not isERA) then --Must be dragonflight
|
||||
if (not name:match('%-')) then
|
||||
name = name .. '-' .. realmName
|
||||
end
|
||||
end
|
||||
|
||||
--damage done
|
||||
local actor = Details.tabela_vigente(1, name)
|
||||
if (actor) then
|
||||
|
||||
Reference in New Issue
Block a user