From 1c82f5b3e419b3aa01563e8b7f5a8f82ab1c3237 Mon Sep 17 00:00:00 2001 From: AnonXS Date: Wed, 1 Nov 2023 16:06:53 +0100 Subject: [PATCH] [SD] Add missing Aura Passives to npcs Correct Thrash Aura Passive for Soulflayer 11359 - npc_soulflayer Add missing Thrash for Maws 15571 - boss_maws Add missing Frost Armor for Maleki the Pallid 10438 - boss_maleki_the_pallid --- .../eastern_kingdoms/stratholme/boss_maleki_the_pallid.cpp | 3 +++ .../scripts/eastern_kingdoms/zulgurub/zulgurubScripts.cpp | 2 +- src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/stratholme/boss_maleki_the_pallid.cpp b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/stratholme/boss_maleki_the_pallid.cpp index 98f7bfb96f..cc8c2f6076 100644 --- a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/stratholme/boss_maleki_the_pallid.cpp +++ b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/stratholme/boss_maleki_the_pallid.cpp @@ -25,6 +25,7 @@ EndScriptData */ enum { + SPELL_FROST_ARMOR = 12556, SPELL_FROSTBOLT = 17503, SPELL_DRAIN_LIFE = 17238, SPELL_DRAIN_MANA = 17243, @@ -46,6 +47,8 @@ struct boss_maleki_the_pallidAI : public ScriptedAI m_uiFrostboltTimer = 0; m_uiIceTombTimer = 15000; m_uiDrainLifeTimer = 20000; + + DoCastSpellIfCan(nullptr, SPELL_FROST_ARMOR, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT); } void UpdateAI(const uint32 uiDiff) override diff --git a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurubScripts.cpp b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurubScripts.cpp index a746ffae94..8adab16f5e 100644 --- a/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurubScripts.cpp +++ b/src/game/AI/ScriptDevAI/scripts/eastern_kingdoms/zulgurub/zulgurubScripts.cpp @@ -31,7 +31,7 @@ enum // npc_soulflayer SPELL_SOUL_TAP = 24619, SPELL_LIGHTNING_BREATH = 20543, - SPELL_THRASH = 12787, + SPELL_THRASH = 8876, SPELL_KNOCKDOWN = 20276, SPELL_FEAR = 22678, SPELL_FRENZY = 28371, diff --git a/src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp b/src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp index d52a1526e7..9efeba3de9 100644 --- a/src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp +++ b/src/game/AI/ScriptDevAI/scripts/kalimdor/azshara.cpp @@ -672,6 +672,7 @@ GameObjectAI* GetAI_go_lightning(GameObject* go) enum { + SPELL_THRASH = 8876, SPELL_FRENZY = 19812, SPELL_DARK_WATER = 25743, SPELL_RAMPAGE = 25744, @@ -698,6 +699,8 @@ struct boss_mawsAI : public ScriptedAI uiDarkWaterTimer = 15 * IN_MILLISECONDS; uiRampageTimer = urand(20, 120) * IN_MILLISECONDS; uiDespawnTimer = 2.5 * HOUR * IN_MILLISECONDS; + + DoCastSpellIfCan(nullptr, SPELL_THRASH, CAST_TRIGGERED | CAST_AURA_NOT_PRESENT); } void JustDied(Unit* /*pKiller*/)