mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 15:40:45 +01:00
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)
This commit is contained in:
7
sql/updates/world/3.3.5/2023_04_25_00_world.sql
Normal file
7
sql/updates/world/3.3.5/2023_04_25_00_world.sql
Normal file
@@ -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');
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user