Update Progression Quests right away (#764)

hidden progression quests are now updated right away
This commit is contained in:
Grimfeather
2025-09-24 19:01:31 +02:00
committed by GitHub
parent 3af27e4a20
commit 95a9b486b6
2 changed files with 19 additions and 1 deletions

View File

@@ -323,48 +323,63 @@ void IndividualProgression::checkKillProgression(Player* killer, Creature* kille
{
case RAGNAROS:
UpdateProgressionState(killer, PROGRESSION_MOLTEN_CORE);
UpdateProgressionQuests(killer);
break;
case ONYXIA_40:
UpdateProgressionState(killer, PROGRESSION_ONYXIA);
UpdateProgressionQuests(killer);
break;
case NEFARIAN:
UpdateProgressionState(killer, PROGRESSION_BLACKWING_LAIR);
UpdateProgressionQuests(killer);
break;
case CTHUN:
UpdateProgressionState(killer, PROGRESSION_AQ);
UpdateProgressionQuests(killer);
break;
case KELTHUZAD_40:
UpdateProgressionState(killer, PROGRESSION_NAXX40);
UpdateProgressionQuests(killer);
break;
case MALCHEZAAR:
UpdateProgressionState(killer, PROGRESSION_TBC_TIER_1);
UpdateProgressionQuests(killer);
break;
case KAELTHAS:
UpdateProgressionState(killer, PROGRESSION_TBC_TIER_2);
UpdateProgressionQuests(killer);
break;
case ILLIDAN:
UpdateProgressionState(killer, PROGRESSION_TBC_TIER_3);
UpdateProgressionQuests(killer);
break;
case ZULJIN:
UpdateProgressionState(killer, PROGRESSION_TBC_TIER_4);
UpdateProgressionQuests(killer);
break;
case KILJAEDEN:
UpdateProgressionState(killer, PROGRESSION_TBC_TIER_5);
UpdateProgressionQuests(killer);
break;
case KELTHUZAD:
UpdateProgressionState(killer, PROGRESSION_WOTLK_TIER_1);
UpdateProgressionQuests(killer);
break;
case YOGGSARON:
UpdateProgressionState(killer, PROGRESSION_WOTLK_TIER_2);
UpdateProgressionQuests(killer);
break;
case ANUBARAK:
UpdateProgressionState(killer, PROGRESSION_WOTLK_TIER_3);
UpdateProgressionQuests(killer);
break;
case LICH_KING:
UpdateProgressionState(killer, PROGRESSION_WOTLK_TIER_4);
UpdateProgressionQuests(killer);
break;
case HALION:
UpdateProgressionState(killer, PROGRESSION_WOTLK_TIER_5);
UpdateProgressionQuests(killer);
break;
}
}

View File

@@ -36,7 +36,6 @@ public:
sIndividualProgression->CheckAdjustments(player);
sIndividualProgression->CheckHPAdjustments(player);
sIndividualProgression->checkIPProgression(player);
sIndividualProgression->UpdateProgressionQuests(player);
}
void OnPlayerSetMaxLevel(Player* player, uint32& maxPlayerLevel) override
@@ -294,24 +293,28 @@ public:
if (!sIndividualProgression->disableDefaultProgression)
{
sIndividualProgression->UpdateProgressionState(player, PROGRESSION_PRE_AQ);
sIndividualProgression->UpdateProgressionQuests(player);
}
break;
case BANG_A_GONG:
if (!sIndividualProgression->disableDefaultProgression)
{
sIndividualProgression->UpdateProgressionState(player, PROGRESSION_PRE_AQ);
sIndividualProgression->UpdateProgressionQuests(player);
}
break;
case CHAOS_AND_DESTRUCTION:
if (!sIndividualProgression->disableDefaultProgression)
{
sIndividualProgression->UpdateProgressionState(player, PROGRESSION_AQ_WAR);
sIndividualProgression->UpdateProgressionQuests(player);
}
break;
case INTO_THE_BREACH:
if (!sIndividualProgression->disableDefaultProgression)
{
sIndividualProgression->UpdateProgressionState(player, PROGRESSION_PRE_TBC);
sIndividualProgression->UpdateProgressionQuests(player);
}
break;
case QUEST_MORROWGRAIN: