From 2db08bb0e05c90c9b9bb6180d931acd45409ba35 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Sun, 30 Aug 2020 13:08:46 +0200 Subject: [PATCH] Scripts/BWD: Magmaw's Ignition fire dummy npcs will now move in circles with their correct radius value and corrected the amount of steps --- .../BlackrockMountain/BlackwingDescent/boss_magmaw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_magmaw.cpp b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_magmaw.cpp index 8766679f8a4..2e5aa0f93cd 100644 --- a/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_magmaw.cpp +++ b/src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingDescent/boss_magmaw.cpp @@ -737,7 +737,7 @@ struct npc_magmaw_blazing_bone_construct : public ScriptedAI { summon->m_Events.AddEventAtOffset([summon]() { - summon->GetMotionMaster()->MoveCirclePath(summon->GetPositionX(), summon->GetPositionY(), summon->GetPositionZ(), 2.5f, bool(urand(0, 1)), 8); + summon->GetMotionMaster()->MoveCirclePath(summon->GetPositionX(), summon->GetPositionY(), summon->GetPositionZ(), 4.f, bool(urand(0, 1)), 7); }, 4s + 500ms); } } @@ -1133,7 +1133,7 @@ class spell_magmaw_shadow_breath_targeting : public SpellScript void HandleDummyEffect(SpellEffIndex /*effIndex*/) { if (Unit* caster = GetCaster()) - caster->CastSpell(GetHitUnit(), SPELL_SHADOW_BREATH, true); + caster->CastSpell(GetHitUnit(), SPELL_SHADOW_BREATH); } void Register() override