mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-14 01:19:08 +00:00
Fix: Updated to work with newer commits of AzerothCore
This commit is contained in:
@@ -136,7 +136,7 @@ questGiverMap QuestGiversValue::Calculate()
|
||||
|
||||
std::vector<GuidPosition> ActiveQuestGiversValue::Calculate()
|
||||
{
|
||||
questGiverMap qGivers = GAI_VALUE2(questGiverMap, "quest givers", bot->getLevel());
|
||||
questGiverMap qGivers = GAI_VALUE2(questGiverMap, "quest givers", bot->GetLevel());
|
||||
|
||||
std::vector<GuidPosition> retQuestGivers;
|
||||
|
||||
@@ -406,7 +406,7 @@ uint32 DialogStatusValue::getDialogStatus(Player* bot, int32 questgiver, uint32
|
||||
{
|
||||
dialogStatusNew = DIALOG_STATUS_REWARD_REP;
|
||||
}
|
||||
else if (lowLevelDiff < 0 || bot->getLevel() <= bot->GetQuestLevel(pQuest) + uint32(lowLevelDiff))
|
||||
else if (lowLevelDiff < 0 || bot->GetLevel() <= bot->GetQuestLevel(pQuest) + uint32(lowLevelDiff))
|
||||
{
|
||||
dialogStatusNew = DIALOG_STATUS_AVAILABLE;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user