QUEST_OBJECTIVE_UNK_1127

This commit is contained in:
luis
2026-11-08 04:19:40 -03:00
parent 0c6438685b
commit b233b85411
2 changed files with 9 additions and 3 deletions
+3
View File
@@ -5073,6 +5073,9 @@ void ObjectMgr::LoadQuests()
if (!sAreaTriggerDataStore->GetAreaTriggerTemplate({ uint32(obj.ObjectID), false }) && !sAreaTriggerDataStore->GetAreaTriggerTemplate({ uint32(obj.ObjectID), true }))
TC_LOG_ERROR("sql.sql", "Quest {} objective {} has non existing areatrigger id {}", qinfo->GetQuestId(), obj.ID, obj.ObjectID);
break;
case QUEST_OBJECTIVE_UNK_1127:
// Retail-only objective variant with no extra compile-time validation.
break;
case QUEST_OBJECTIVE_MONEY:
case QUEST_OBJECTIVE_WINPVPPETBATTLES:
case QUEST_OBJECTIVE_PROGRESS_BAR:
+6 -3
View File
@@ -245,10 +245,13 @@ void WorldQuestMgr::RebuildActiveSet(time_t now)
void WorldQuestMgr::OnDailyReset()
{
// The daily reset already cleared completion state (Player::DailyReset). Re-evaluate the rotation
// first so the packet sent here already describes the new cycle.
// first so the packet sent here already describes the new cycle. Rebuild even when no individual
// world-state value flipped: this resynchronizes every active quest's cycle window and republishes
// the full list to clients, which is what makes the daily rotation take effect realm-wide instead
// of only touching the subset whose activation value happened to change.
time_t const now = GameTime::GetGameTime();
if (RefreshWorldStateValues(now))
RebuildActiveSet(now);
RefreshWorldStateValues(now);
RebuildActiveSet(now);
BroadcastActiveWorldQuests();
}