From 5327dde2a8009a0edb4aa50bb66cb774a985dba1 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sat, 12 Sep 2020 00:13:32 +0200 Subject: [PATCH] Scripts/BWD: several fixups for Maloriak's encounter * Consuming Flames will now increase the periodic damage when taking damage * Scorching Blast will now be cast on correct targets * remove a wrongly assigned spell script name that was causing runtime errors log messages --- sql/updates/world/4.3.4/2020_09_12_00_world.sql | 2 ++ .../BlackrockMountain/BlackwingDescent/boss_maloriak.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/4.3.4/2020_09_12_00_world.sql diff --git a/sql/updates/world/4.3.4/2020_09_12_00_world.sql b/sql/updates/world/4.3.4/2020_09_12_00_world.sql new file mode 100644 index 00000000000..17d60c00197 --- /dev/null +++ b/sql/updates/world/4.3.4/2020_09_12_00_world.sql @@ -0,0 +1,2 @@ +DELETE FROM `spell_script_names` WHERE `spell_id`= 77928; +UPDATE `spell_proc` SET `ProcFlags`= 0, `SpellTypeMask`= 1 WHERE `SpellId` IN (77786, 92971, 92972, 92973); diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_maloriak.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_maloriak.cpp index 81a30134229..581dfa22fd7 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_maloriak.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_maloriak.cpp @@ -518,7 +518,7 @@ struct boss_maloriak : public BossAI events.Repeat(14s + 500ms); break; case EVENT_SCORCHING_BLAST: - DoCastSelf(SPELL_SCORCHING_BLAST); + DoCastVictim(SPELL_SCORCHING_BLAST); events.Repeat(17s); break; case EVENT_BITING_CHILL: