mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 09:17:36 +01:00
*Move MoveFollow owner from MoveTargetedHome to enterevademode.
--HG-- branch : trunk
This commit is contained in:
@@ -3275,7 +3275,7 @@ void Spell::EffectSummonType(uint32 i)
|
||||
|
||||
summon->SetFlag(UNIT_FIELD_FLAGS, UNIT_FLAG_NON_ATTACKABLE);
|
||||
|
||||
summon->GetMotionMaster()->MoveTargetedHome();
|
||||
summon->AI()->EnterEvadeMode();
|
||||
|
||||
std::string name = m_originalCaster->GetName();
|
||||
name.append(petTypeSuffix[3]);
|
||||
@@ -6423,7 +6423,7 @@ void Spell::SummonGuardian(uint32 entry, SummonPropertiesEntry const *properties
|
||||
|
||||
summon->SetUInt32Value(UNIT_CREATED_BY_SPELL, m_spellInfo->Id);
|
||||
|
||||
summon->GetMotionMaster()->MoveTargetedHome();
|
||||
summon->AI()->EnterEvadeMode();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user