Core/Auras: Implemented SPELL_AURA_PHASE_ALWAYS_VISIBLE
Port From (https://github.com/TrinityCore/TrinityCore/commit/c9344c145ad1f981492c35d4aad7ca7a60e9f8f2)
This commit is contained in:
@@ -2160,12 +2160,12 @@ namespace Game.Entities
|
||||
GetHostileRefManager().SetOnlineOfflineState(false);
|
||||
CombatStopWithPets();
|
||||
|
||||
PhasingHandler.SetAlwaysVisible(GetPhaseShift(), true);
|
||||
PhasingHandler.SetAlwaysVisible(this, true, false);
|
||||
m_serverSideVisibilityDetect.SetValue(ServerSideVisibilityType.GM, GetSession().GetSecurity());
|
||||
}
|
||||
else
|
||||
{
|
||||
PhasingHandler.SetAlwaysVisible(GetPhaseShift(), false);
|
||||
PhasingHandler.SetAlwaysVisible(this, !HasAuraType(AuraType.PhaseAlwaysVisible), false);
|
||||
|
||||
m_ExtraFlags &= ~PlayerExtraFlags.GMOn;
|
||||
SetFactionForRace(GetRace());
|
||||
|
||||
Reference in New Issue
Block a user