aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAqua Deus <95978183+aquadeus@users.noreply.github.com>2023-08-30 11:43:55 +0200
committerGitHub <noreply@github.com>2023-08-30 11:43:55 +0200
commitdf4bd24f6d11bb2f988316a76227876ef5e1dc04 (patch)
treeee1696e41f9a5dd153216745126a5ff333b4cac6 /src
parent7c0ef292be90340a81f32fc55df15e3489d13d4e (diff)
Core/DB2: Add Assault on the Dark Portal map to be split by faction (#29295)
Diffstat (limited to 'src')
-rw-r--r--src/server/game/DataStores/DB2Structure.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DB2Structure.h b/src/server/game/DataStores/DB2Structure.h
index 8f7f43cdc91..5163e53c669 100644
--- a/src/server/game/DataStores/DB2Structure.h
+++ b/src/server/game/DataStores/DB2Structure.h
@@ -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]); }