Core/Creatures: Implemented UNIT_NPC_FLAG_GOSSIP as viewer dependent and update npcflags on quest changes

Port From (https://github.com/TrinityCore/TrinityCore/commit/dd15d763cc0529afc9b7f077817645d875608626)
This commit is contained in:
hondacrx
2024-02-24 16:07:23 -05:00
parent 3eca0ad68c
commit fa5e0f0c14
6 changed files with 92 additions and 2 deletions
+2
View File
@@ -3752,6 +3752,8 @@ namespace Game.Spells
Global.ScriptMgr.OnQuestStatusChange(player, quest_id);
Global.ScriptMgr.OnQuestStatusChange(player, quest, oldStatus, QuestStatus.None);
player.UpdateNearbyCreatureNpcFlags();
}
[SpellEffectHandler(SpellEffectName.SendTaxi)]