diff options
author | Shauren <shauren.trinity@gmail.com> | 2021-03-21 12:05:32 +0100 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-03-21 12:05:32 +0100 |
commit | 9b5a46ca2bb3a4632cb9914e0899df611a47d935 (patch) | |
tree | 71e62e799d6a9786b5990b5a8223651de0abf0e4 /src/server/game/Handlers/NPCHandler.cpp | |
parent | 6db27c58b97a028026e0159109fbf20f6132e6b5 (diff) |
Core/Auras: Defined and implemented many new interrupt flags
Diffstat (limited to 'src/server/game/Handlers/NPCHandler.cpp')
-rw-r--r-- | src/server/game/Handlers/NPCHandler.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/server/game/Handlers/NPCHandler.cpp b/src/server/game/Handlers/NPCHandler.cpp index 4ef08588c07..b3522d1a18d 100644 --- a/src/server/game/Handlers/NPCHandler.cpp +++ b/src/server/game/Handlers/NPCHandler.cpp @@ -163,10 +163,7 @@ void WorldSession::HandleGossipHelloOpcode(WorldPackets::NPC::Hello& packet) if (FactionTemplateEntry const* factionTemplateEntry = sFactionTemplateStore.LookupEntry(unit->GetFaction())) _player->GetReputationMgr().SetVisible(factionTemplateEntry); - GetPlayer()->RemoveAurasWithInterruptFlags(AURA_INTERRUPT_FLAG_TALK); - // remove fake death - //if (GetPlayer()->HasUnitState(UNIT_STATE_DIED)) - // GetPlayer()->RemoveAurasByType(SPELL_AURA_FEIGN_DEATH); + GetPlayer()->RemoveAurasWithInterruptFlags(SpellAuraInterruptFlags::Interacting); // Stop the npc if moving unit->PauseMovement(sWorld->getIntConfig(CONFIG_CREATURE_STOP_FOR_PLAYER)); |