Core/Spells: Implemented summoning a personal gameobject effect
Port From (https://github.com/TrinityCore/TrinityCore/commit/e601c6d1f9b9743e92e9562abd9f2d24d9aaf175)
This commit is contained in:
@@ -1147,6 +1147,11 @@ namespace Game.Entities
|
||||
}
|
||||
}
|
||||
|
||||
GameObject go = obj.ToGameObject();
|
||||
if ( go != null)
|
||||
if (go.IsVisibleByUnitOnly() && GetGUID() != go.GetVisibleByUnitOnly())
|
||||
return false;
|
||||
|
||||
if (viewpoint == null)
|
||||
viewpoint = this;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user