Skip to content

Commit f893ee3

Browse files
committed
feat: Add missing map data for BT
1 parent ec54d78 commit f893ee3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/mod_zone_difficulty_handler.cpp

+6-3
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ void ZoneDifficulty::LoadMapDifficultySettings()
8787
EncounterCounter[544] = 1; // Magtheridon's Lair
8888
EncounterCounter[532] = 12; // Karazhan
8989

90+
// Category 11
91+
EncounterCounter[564] = 9; // Black Temple
92+
9093
// Icons
9194
sZoneDifficulty->ItemIcons[ITEMTYPE_MISC] = "|TInterface\\icons\\inv_misc_cape_17:15|t |TInterface\\icons\\inv_misc_gem_topaz_02:15|t |TInterface\\icons\\inv_jewelry_ring_51naxxramas:15|t ";
9295
sZoneDifficulty->ItemIcons[ITEMTYPE_CLOTH] = "|TInterface\\icons\\inv_chest_cloth_42:15|t ";
@@ -986,6 +989,9 @@ bool ZoneDifficulty::HasCompletedFullTier(uint32 category, uint32 playerGuid)
986989
case TYPE_RAID_T4:
987990
MapList = { 532, 544, 565};
988991
break;
992+
case TYPE_RAID_T6:
993+
MapList = { 564 };
994+
break;
989995
default:
990996
LOG_ERROR("module", "MOD-ZONE-DIFFICULTY: Category without data requested in ZoneDifficulty::HasCompletedFullTier {}", category);
991997
return false;
@@ -1002,11 +1008,8 @@ bool ZoneDifficulty::HasCompletedFullTier(uint32 category, uint32 playerGuid)
10021008
}
10031009
for (uint8 i = 0; i < sZoneDifficulty->EncounterCounter[mapId]; ++i)
10041010
{
1005-
//LOG_INFO("module", "MOD-ZONE-DIFFCULTY: Checking HasCompletedFullTier for BossId {}: {}.", i, sZoneDifficulty->Logs[playerGuid][mapId][i]);
10061011
if (!sZoneDifficulty->Logs[playerGuid][mapId][i])
1007-
{
10081012
return false;
1009-
}
10101013
}
10111014
}
10121015
return true;

0 commit comments

Comments
 (0)