Core/Creature: Added possibility to give creatures multiple gossip menu ids and control them via conditions
Port From (https://github.com/TrinityCore/TrinityCore/commit/36044a9470e9c39a71916e908ab6cf4f95677793)
This commit is contained in:
@@ -68,7 +68,7 @@ namespace Game
|
||||
if (creature.GetAI().OnGossipHello(_player))
|
||||
return;
|
||||
|
||||
GetPlayer().PrepareGossipMenu(creature, creature.GetGossipMenuId(), true);
|
||||
GetPlayer().PrepareGossipMenu(creature, _player.GetGossipMenuForSource(creature), true);
|
||||
GetPlayer().SendPreparedGossip(creature);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user