fix(CORE): Low-level quests blue "!" instead of yellow w/ tracker (#1867)
Ensure low-level quests have blue exclamation marks when using tracker.
This commit is contained in:
@@ -16807,19 +16807,29 @@ QuestGiverStatus Player::GetQuestDialogStatus(Object* questgiver)
|
|||||||
{
|
{
|
||||||
if (CanSeeStartQuest(quest))
|
if (CanSeeStartQuest(quest))
|
||||||
{
|
{
|
||||||
if (SatisfyQuestLevel(quest, false))
|
if (SatisfyQuestLevel(quest, false)) {
|
||||||
{
|
bool isLowLevel = (getLevel() > (GetQuestLevel(quest) + sWorld->getIntConfig(CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF)));
|
||||||
if (quest->IsAutoComplete())
|
|
||||||
result2 = DIALOG_STATUS_REWARD_REP;
|
if (quest->IsAutoComplete()) {
|
||||||
else if (getLevel() <= (GetQuestLevel(quest) + sWorld->getIntConfig(CONFIG_QUEST_LOW_LEVEL_HIDE_DIFF)))
|
if (isLowLevel)
|
||||||
{
|
result2 = DIALOG_STATUS_LOW_LEVEL_REWARD_REP;
|
||||||
if (quest->IsDaily())
|
|
||||||
result2 = DIALOG_STATUS_AVAILABLE_REP;
|
|
||||||
else
|
else
|
||||||
result2 = DIALOG_STATUS_AVAILABLE;
|
result2 = DIALOG_STATUS_REWARD_REP;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (quest->IsDaily()) {
|
||||||
|
if (isLowLevel)
|
||||||
|
result2 = DIALOG_STATUS_LOW_LEVEL_AVAILABLE_REP;
|
||||||
|
else
|
||||||
|
result2 = DIALOG_STATUS_AVAILABLE_REP;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
if (isLowLevel)
|
||||||
|
result2 = DIALOG_STATUS_LOW_LEVEL_AVAILABLE;
|
||||||
|
else
|
||||||
|
result2 = DIALOG_STATUS_AVAILABLE;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
|
||||||
result2 = DIALOG_STATUS_LOW_LEVEL_AVAILABLE;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
result2 = DIALOG_STATUS_UNAVAILABLE;
|
result2 = DIALOG_STATUS_UNAVAILABLE;
|
||||||
|
|||||||
Reference in New Issue
Block a user