aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGildor <gildor55@gmail.com>2023-04-25 08:35:38 +0200
committerGitHub <noreply@github.com>2023-04-25 08:35:38 +0200
commit431a59eae1f4df429ca2ee982ffca0dc8a97d2c8 (patch)
tree2edd0a350f7dfeadced35ed9e7b8c777160e7ed6
parentfdc2f5fd9e75af06e28abaa83d4b6cd7c4a8ef06 (diff)
Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl) (#28933)
* Scripts/Trial Of The Crusader: Fix application of spell Surge of Adrenaline (Icehowl)
-rw-r--r--sql/updates/world/3.3.5/2023_04_25_00_world.sql7
-rw-r--r--src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp2
2 files changed, 8 insertions, 1 deletions
diff --git a/sql/updates/world/3.3.5/2023_04_25_00_world.sql b/sql/updates/world/3.3.5/2023_04_25_00_world.sql
new file mode 100644
index 00000000000..bc794f330b1
--- /dev/null
+++ b/sql/updates/world/3.3.5/2023_04_25_00_world.sql
@@ -0,0 +1,7 @@
+--
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_icehowl_massive_crash';
+INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
+(66683,'spell_icehowl_massive_crash'),
+(67660,'spell_icehowl_massive_crash'),
+(67661,'spell_icehowl_massive_crash'),
+(67662,'spell_icehowl_massive_crash');
diff --git a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
index 005f3db756b..88f10a4eece 100644
--- a/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
+++ b/src/server/scripts/Northrend/CrusadersColiseum/TrialOfTheCrusader/boss_northrend_beasts.cpp
@@ -1341,7 +1341,7 @@ class spell_icehowl_massive_crash : public AuraScript
void HandleSpeed(AuraEffect const* /*aurEff*/, AuraEffectHandleModes /*mode*/)
{
if (Player* target = GetTarget()->ToPlayer())
- if (target->GetRaidDifficulty() == RAID_DIFFICULTY_10MAN_HEROIC || target->GetRaidDifficulty() == RAID_DIFFICULTY_25MAN_HEROIC)
+ if (target->GetRaidDifficulty() == RAID_DIFFICULTY_10MAN_NORMAL || target->GetRaidDifficulty() == RAID_DIFFICULTY_25MAN_NORMAL)
target->CastSpell(target, SPELL_SURGE_OF_ADRENALINE, true);
}