Core/Pooling: Quest pooling rewrite
Port From (https://github.com/TrinityCore/TrinityCore/commit/51fbda4223442635a35d3225c0797d0151ea7051)
This commit is contained in:
@@ -312,6 +312,14 @@ namespace Game
|
||||
return 0;
|
||||
}
|
||||
|
||||
public static bool IsTakingQuestEnabled(uint questId)
|
||||
{
|
||||
if (!Global.QuestPoolMgr.IsQuestActive(questId))
|
||||
return false;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public uint MoneyValue(Player player)
|
||||
{
|
||||
QuestMoneyRewardRecord money = CliDB.QuestMoneyRewardStorage.LookupByKey(player.GetQuestLevel(this));
|
||||
|
||||
Reference in New Issue
Block a user