fix(Core/PlayerQuest): Get base skill value for quest prereqs. (#14393)

This commit is contained in:
Benjamin Jackson
2023-01-28 05:00:18 -05:00
committed by GitHub
parent c8bbea9e1b
commit fafeacbcad

View File

@@ -944,7 +944,7 @@ bool Player::SatisfyQuestSkill(Quest const* qInfo, bool msg) const
return true;
// check skill value
if (GetSkillValue(skill) < qInfo->GetRequiredSkillValue())
if (GetBaseSkillValue(skill) < qInfo->GetRequiredSkillValue())
{
if (msg)
SendCanTakeQuestResponse(INVALIDREASON_DONT_HAVE_REQ);