fix difficulty ids

This commit is contained in:
andrew6180
2024-07-10 16:56:39 -07:00
parent bcee5fc71a
commit 27c64fd7fb
6 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -2163,8 +2163,8 @@ local iconFrame_OnEnter = function(self)
local diff, diffEngName = combat:GetDifficulty()
local attribute, subattribute = instance:GetDisplay()
--check if is a raid encounter and if is heroic or mythic
if (diff and (diff == 15 or diff == 16) and (attribute == 1 or attribute == 2)) then --might give errors
--check if is a raid encounter and if is mythic or ascended
if (diff and (diff == 2 or diff == 3) and (attribute == 1 or attribute == 2)) then --might give errors
local db = Details.OpenStorage()
if (db) then
---@type details_storage_unitresult, details_encounterkillinfo