одиночные подземелья

This commit is contained in:
2026-07-26 22:48:10 +04:00
parent e3b8d2649e
commit 887ab7879b
3 changed files with 28 additions and 0 deletions
Binary file not shown.
@@ -9,6 +9,7 @@
AchievementFactions.lua
MoonWellClient.lua
SoloLFGCompat.lua
EncounterJournal\EncounterJournalItemCache.lua
EncounterJournal\EncounterJournalCompat.lua
EncounterJournal\SharedXML\SoundKitConstants.lua
@@ -0,0 +1,27 @@
local SOLO_RANDOM_DUNGEONS = {
[1258] = true,
[1259] = true,
[1260] = true,
[1261] = true,
[1262] = true,
}
local GetStockTexCoordsForRole = GetTexCoordsForRole
function GetTexCoordsForRole(role)
if role == "UNKNOWN" then
local proposalExists, _, dungeonID = GetLFGProposal()
if proposalExists and SOLO_RANDOM_DUNGEONS[dungeonID] then
local _, tank, healer = GetLFGRoles()
if tank then
role = "TANK"
elseif healer then
role = "HEALER"
else
role = "DAMAGER"
end
end
end
return GetStockTexCoordsForRole(role)
end