mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
feat(Core/Player): Split Dungeon Finder quest rates (#9788)
This commit is contained in:
@@ -15379,9 +15379,9 @@ uint16 Player::GetMaxSkillValueForLevel() const
|
||||
return result;
|
||||
}
|
||||
|
||||
float Player::GetQuestRate()
|
||||
float Player::GetQuestRate(bool isDFQuest)
|
||||
{
|
||||
float result = sWorld->getRate(RATE_XP_QUEST);
|
||||
float result = isDFQuest ? sWorld->getRate(RATE_XP_QUEST_DF) : sWorld->getRate(RATE_XP_QUEST);
|
||||
|
||||
sScriptMgr->OnGetQuestRate(this, result);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user