Core/Movement: backported cleanup for determining follow movement on appearing instead of calling evade modes right away
This commit is contained in:
1 parent
a246b5a342
commit
eaa635ab32
3 files changed
+51
-5
No files matched your search
@@ -1929,8 +1929,6 @@ void Spell::EffectSummonType(SpellEffIndex effIndex)
|
||||
summon->SetUInt32Value(UNIT_NPC_FLAGS, summon->GetCreatureTemplate()->npcflag);
|
||||
|
||||
summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_IMMUNE_TO_PC | UNIT_FLAG_IMMUNE_TO_NPC);
|
||||
|
||||
summon->AI()->EnterEvadeMode();
|
||||
break;
|
||||
}
|
||||
default:
|
||||
@@ -5383,8 +5381,6 @@ void Spell::SummonGuardian(uint32 i, uint32 entry, SummonPropertiesEntry const*
|
||||
summon->SetDisplayId(1126); // modelid1
|
||||
}
|
||||
|
||||
summon->AI()->EnterEvadeMode();
|
||||
|
||||
ExecuteLogEffectSummonObject(i, summon);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user