mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-25 11:21:58 +01:00
Core/DB2: Add Assault on the Dark Portal map to be split by faction (#29295)
This commit is contained in:
@@ -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]); }
|
||||
|
||||
Reference in New Issue
Block a user