mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +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;
|
return true;
|
||||||
|
|
||||||
// check skill value
|
// check skill value
|
||||||
if (GetSkillValue(skill) < qInfo->GetRequiredSkillValue())
|
if (GetBaseSkillValue(skill) < qInfo->GetRequiredSkillValue())
|
||||||
{
|
{
|
||||||
if (msg)
|
if (msg)
|
||||||
SendCanTakeQuestResponse(INVALIDREASON_DONT_HAVE_REQ);
|
SendCanTakeQuestResponse(INVALIDREASON_DONT_HAVE_REQ);
|
||||||
|
|||||||
Reference in New Issue
Block a user