одиночные подземелья
This commit is contained in:
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
|
||||
Reference in New Issue
Block a user