Fix single segment BG and a couple missed unitnames

This commit is contained in:
Flamanis
2023-11-09 13:46:49 -06:00
parent 8b026db68b
commit 628b14ec42
3 changed files with 11 additions and 3 deletions
+8
View File
@@ -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