gameobject summoner
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f545f540216d3b94c26e4aeda50c8bb8d5c3d74)
This commit is contained in:
@@ -1707,7 +1707,7 @@ namespace Game.Spells
|
||||
uint faction = properties.Faction;
|
||||
if (properties.GetFlags().HasFlag(SummonPropertiesFlags.UseSummonerFaction)) // TODO: Determine priority between faction and flag
|
||||
{
|
||||
Unit summoner = summon.GetSummoner();
|
||||
WorldObject summoner = summon.GetSummoner();
|
||||
if (summoner != null)
|
||||
faction = summoner.GetFaction();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user