Core/Quests: Don't send SMSG_QUEST_GIVER_QUEST_COMPLETE for tracking quests
Port From (https://github.com/TrinityCore/TrinityCore/commit/57f297b4e72c7a2639fa5a8f123cc6bbb3943be3)
This commit is contained in:
@@ -3132,6 +3132,9 @@ namespace Game.Entities
|
|||||||
moneyReward = (uint)(GetQuestMoneyReward(quest) + (int)(quest.GetRewMoneyMaxLevel() * WorldConfig.GetFloatValue(WorldCfg.RateDropMoney)));
|
moneyReward = (uint)(GetQuestMoneyReward(quest) + (int)(quest.GetRewMoneyMaxLevel() * WorldConfig.GetFloatValue(WorldCfg.RateDropMoney)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (quest.HasFlag(QuestFlags.TrackingEvent))
|
||||||
|
return;
|
||||||
|
|
||||||
QuestGiverQuestComplete packet = new();
|
QuestGiverQuestComplete packet = new();
|
||||||
|
|
||||||
packet.QuestID = questId;
|
packet.QuestID = questId;
|
||||||
|
|||||||
Reference in New Issue
Block a user