Core/DB2: Add Assault on the Dark Portal map to be split by faction (#29295)

This commit is contained in:
Aqua Deus
2023-08-30 11:43:55 +02:00
committed by GitHub
parent 7c0ef292be
commit df4bd24f6d

View File

@@ -2738,7 +2738,13 @@ struct MapEntry
bool IsDynamicDifficultyMap() const { return GetFlags().HasFlag(MapFlags::DynamicDifficulty); }
bool IsFlexLocking() const { return GetFlags().HasFlag(MapFlags::FlexibleRaidLocking); }
bool IsGarrison() const { return GetFlags().HasFlag(MapFlags::Garrison); }
bool IsSplitByFaction() const { return ID == 609 || ID == 2175 || ID == 2570; }
bool IsSplitByFaction() const
{
return ID == 609 || // Acherus (DeathKnight Start)
ID == 1265 || // Assault on the Dark Portal (WoD Intro)
ID == 2175 || // Exiles Reach - NPE
ID == 2570; // Forbidden Reach (Dracthyr/Evoker Start)
}
EnumFlag<MapFlags> GetFlags() const { return static_cast<MapFlags>(Flags[0]); }
EnumFlag<MapFlags2> GetFlags2() const { return static_cast<MapFlags2>(Flags[1]); }