aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Northrend
diff options
context:
space:
mode:
authorccrs <ccrs@users.noreply.github.com>2019-06-29 16:01:58 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-13 00:42:18 +0100
commitcadbf42ea4489933f28caf356f8c8d09ca243083 (patch)
treeedd3011eb7d7cb6802685fe4186ae56eaa92331f /src/server/scripts/Northrend
parent996b7c1f0ebb22b424d7406adf88b43143b2ede4 (diff)
Misc: some corrections after recent merges
(cherry picked from commit 626a24822b3c6a5d5b9a4b29861ecf393fd9288b)
Diffstat (limited to 'src/server/scripts/Northrend')
-rw-r--r--src/server/scripts/Northrend/zone_sholazar_basin.cpp10
-rw-r--r--src/server/scripts/Northrend/zone_storm_peaks.cpp5
2 files changed, 15 insertions, 0 deletions
diff --git a/src/server/scripts/Northrend/zone_sholazar_basin.cpp b/src/server/scripts/Northrend/zone_sholazar_basin.cpp
index fd4d463b601..1fbe817b82c 100644
--- a/src/server/scripts/Northrend/zone_sholazar_basin.cpp
+++ b/src/server/scripts/Northrend/zone_sholazar_basin.cpp
@@ -762,6 +762,16 @@ class spell_q12611_deathbolt : public SpellScript
{
PrepareSpellScript(spell_q12611_deathbolt);
+ bool Validate(SpellInfo const* /*spellInfo*/) override
+ {
+ return ValidateSpellInfo(
+ {
+ SPELL_FREYAS_WARD,
+ SPELL_SEVENFOLD_RETRIBUTION,
+ SPELL_DEATHBOLT
+ });
+ }
+
void HandleScriptEffect(SpellEffIndex /* effIndex */)
{
Unit* caster = GetCaster();
diff --git a/src/server/scripts/Northrend/zone_storm_peaks.cpp b/src/server/scripts/Northrend/zone_storm_peaks.cpp
index 30b1438b6fd..e5ec9d5a6ad 100644
--- a/src/server/scripts/Northrend/zone_storm_peaks.cpp
+++ b/src/server/scripts/Northrend/zone_storm_peaks.cpp
@@ -1538,6 +1538,11 @@ class spell_q12823_remove_collapsing_cave_aura : public SpellScript
{
PrepareSpellScript(spell_q12823_remove_collapsing_cave_aura);
+ bool Validate(SpellInfo const* /*spellInfo*/) override
+ {
+ return ValidateSpellInfo({ SPELL_COLLAPSING_CAVE });
+ }
+
void HandleScriptEffect(SpellEffIndex /* effIndex */)
{
GetHitUnit()->RemoveAurasDueToSpell(SPELL_COLLAPSING_CAVE);