Core/Quests: Fixed questgiver icons
Port From (https://github.com/TrinityCore/TrinityCore/commit/5f3a2d2abf296d1eaf9788244100c91de8b7a619)
This commit is contained in:
@@ -318,6 +318,15 @@ namespace Game
|
||||
return 0;
|
||||
}
|
||||
|
||||
public QuestTagType? GetQuestTag()
|
||||
{
|
||||
QuestInfoRecord questInfo = CliDB.QuestInfoStorage.LookupByKey(QuestInfoID);
|
||||
if (questInfo != null)
|
||||
return (QuestTagType)questInfo.Type;
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
public void BuildQuestRewards(QuestRewards rewards, Player player)
|
||||
{
|
||||
rewards.ChoiceItemCount = GetRewChoiceItemsCount();
|
||||
|
||||
Reference in New Issue
Block a user