Core/Entities: Added possibility to inherit StringIds from other entities

Port From (https://github.com/TrinityCore/TrinityCore/commit/88bbd27f8d007dca17bb0d244fcf7e753506734e)
This commit is contained in:
Hondacrx
2024-08-05 15:03:26 -04:00
parent f410597e4c
commit 54e6b02ffc
3 changed files with 22 additions and 0 deletions
@@ -1597,6 +1597,10 @@ namespace Game.Entities
if (summon != null)
{
summon.SetTempSummonType(despawnType);
Creature thisCreature = ToCreature();
if (thisCreature != null)
summon.InheritStringIds(thisCreature);
return summon;
}
}