mirror of
https://github.com/ZhengPeiRu21/mod-individual-progression
synced 2025-11-29 15:38:19 +08:00
Update Progression Quests right away (#764)
hidden progression quests are now updated right away
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user