mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-15 23:20:36 +01:00
Core/Auras: Implement SpellAuraInterruptFlags2::EnteringInstance (#28942)
This commit is contained in:
@@ -457,6 +457,9 @@ bool Map::AddPlayerToMap(Player* player, bool initPlayer /*= true*/)
|
||||
player->UpdateObjectVisibility(false);
|
||||
PhasingHandler::SendToPlayer(player);
|
||||
|
||||
if (Instanceable())
|
||||
player->RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags2::EnteringInstance);
|
||||
|
||||
if (player->IsAlive())
|
||||
ConvertCorpseToBones(player->GetGUID());
|
||||
|
||||
|
||||
@@ -127,7 +127,7 @@ enum class SpellAuraInterruptFlags2 : uint32
|
||||
StartOfEncounter = 0x00000100, // NYI
|
||||
EndOfEncounter = 0x00000200, // NYI
|
||||
Disconnect = 0x00000400, // NYI
|
||||
EnteringInstance = 0x00000800, // NYI
|
||||
EnteringInstance = 0x00000800, // Implemented in Map::AddPlayerToMap
|
||||
DuelEnd = 0x00001000, // NYI
|
||||
LeaveArenaOrBattleground = 0x00002000, // Implemented in Battleground::RemovePlayerAtLeave
|
||||
ChangeTalent = 0x00004000,
|
||||
|
||||
Reference in New Issue
Block a user