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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);