aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Zandalar
diff options
context:
space:
mode:
authorTeleqraph <nyrdeveloper@gmail.com>2023-10-22 11:24:48 +0200
committerGitHub <noreply@github.com>2023-10-22 11:24:48 +0200
commit9eceff2bc243946998c006418229dbb639e898d6 (patch)
treef800e44d9d2d7bb7caf388cb690194ed3bfac3e2 /src/server/scripts/Zandalar
parent3d3979f1cabf59321fbafcde1f0d1e600d29e974 (diff)
Core/Map: Implement several difficulty getters (#29370)
Co-authored-by: ModoX <moardox@gmail.com>
Diffstat (limited to 'src/server/scripts/Zandalar')
-rw-r--r--src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp2
-rw-r--r--src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp
index 9368195d55e..496f2139fe4 100644
--- a/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp
+++ b/src/server/scripts/Zandalar/Underrot/boss_cragmaw_the_infested.cpp
@@ -148,7 +148,7 @@ struct boss_cragmaw_the_infested : public BossAI
if (Creature* fetidMaggot = ObjectAccessor::GetCreature(*me, _fetidMaggotGuid))
fetidMaggot->DespawnOrUnsummon();
- if (IsHeroic() || GetDifficulty() == DIFFICULTY_MYTHIC || GetDifficulty() == DIFFICULTY_MYTHIC_KEYSTONE)
+ if (IsHeroicOrHigher())
DoCast(SPELL_POWER_ENERGIZE_TANTRUM);
}
diff --git a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp
index 25dfd5be650..531d5b78c75 100644
--- a/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp
+++ b/src/server/scripts/Zandalar/Underrot/boss_elder_leaxa.cpp
@@ -92,7 +92,7 @@ struct boss_elder_leaxa : public BossAI
Talk(SAY_AGGRO);
me->SetAIAnimKitId(0);
events.ScheduleEvent(EVENT_BLOOD_BOLT, 1s);
- if (IsHeroic() || GetDifficulty() == DIFFICULTY_MYTHIC || GetDifficulty() == DIFFICULTY_MYTHIC_KEYSTONE)
+ if (IsHeroicOrHigher())
events.ScheduleEvent(EVENT_SANGUINE_FEAST, 8s);
events.ScheduleEvent(EVENT_CREEPING_ROT, 12s);
events.ScheduleEvent(EVENT_BLOOD_MIRROR, 17s);