mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Creature: Implemented CREATURE_STATIC_FLAG_IGNORE_COMBAT
This commit is contained in:
@@ -1278,7 +1278,7 @@ Unit* Creature::SelectVictim()
|
||||
|
||||
void Creature::InitializeReactState()
|
||||
{
|
||||
if (IsTotem() || IsTrigger() || IsCritter() || IsSpiritService())
|
||||
if (IsTotem() || IsTrigger() || IsCritter() || IsSpiritService() || _staticFlags.HasFlag(CREATURE_STATIC_FLAG_IGNORE_COMBAT))
|
||||
SetReactState(REACT_PASSIVE);
|
||||
/*
|
||||
else if (IsCivilian())
|
||||
|
||||
Reference in New Issue
Block a user