From 727e57e4d23deab4398309cabe836a3a46c883e8 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Wed, 31 Aug 2022 01:01:07 -0500 Subject: [PATCH] Wrath GetBattlefieldScores handling Wrath, like tbc, GetBattlefieldScores returns rank in the middle of the argument list. --- core/parser.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index 0c17a4dc..5171d1fe 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -6,6 +6,7 @@ local _ local DetailsFramework = DetailsFramework local isTBC = DetailsFramework.IsTBCWow() + local isWOTLK = DetailsFramework.IsWotLKWow() ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- --> local pointers @@ -6302,7 +6303,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1 for i = 1, players do local name, killingBlows, honorableKills, deaths, honorGained, faction, race, rank, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec - if (isTBC) then + if (isTBC or isWOTLK) then name, killingBlows, honorableKills, deaths, honorGained, faction, rank, race, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec = GetBattlefieldScore(i) else name, killingBlows, honorableKills, deaths, honorGained, faction, race, class, classToken, damageDone, healingDone, bgRating, ratingChange, preMatchMMR, mmrChange, talentSpec = GetBattlefieldScore(i)