mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
fix(Core/PlayerQuest): Get base skill value for quest prereqs. (#14393)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user