Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(Scripts/Ulduar): Fixed "I Could Say That This Cache Was Rare" ach… #10912

Merged
merged 2 commits into from
Mar 12, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions src/server/scripts/Northrend/Ulduar/Ulduar/boss_hodir.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ class boss_hodir : public CreatureScript
bool berserk{ false };
bool bAchievCheese{ true };
bool bAchievGettingCold{ true };
bool bAchievCacheRare{ true };
bool bAchievCoolestFriends{ true };
uint16 addSpawnTimer{ 0 };

Expand All @@ -240,6 +241,7 @@ class boss_hodir : public CreatureScript
berserk = false;
bAchievCheese = true;
bAchievGettingCold = true;
bAchievCacheRare = true;
bAchievCoolestFriends = true;
me->SetSheath(SHEATH_STATE_MELEE);

Expand Down Expand Up @@ -423,6 +425,7 @@ class boss_hodir : public CreatureScript
case EVENT_HARD_MODE_MISSED:
{
Talk(TEXT_HM_MISS);
bAchievCacheRare = false;
if (pInstance)
{
if (GameObject* go = pInstance->instance->GetGameObject(pInstance->GetGuidData(GO_HODIR_CHEST_HARD)))
Expand Down Expand Up @@ -591,6 +594,8 @@ class boss_hodir : public CreatureScript
return (bAchievCheese ? 1 : 0);
case 2:
return (bAchievGettingCold ? 1 : 0);
case 3:
return (bAchievCacheRare ? 1 : 0);
case 4:
return (bAchievCoolestFriends ? 1 : 0);
}
Expand Down