From 9798ccd8c5a105396cb9bd97a930670ca0073ef0 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Sat, 7 Jan 2023 20:18:04 +0100 Subject: [PATCH] =?UTF-8?q?fix(Scripts/Hellfire=20Ramparts):=20Nazan=20sho?= =?UTF-8?q?uld=20walk=20on=20the=20surface=20afte=E2=80=A6=20(#14539)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Scripts/Hellfire Ramparts): Nazan should walk on the surface after descending. Nazan should keep using Fireball after descending. Nazan should chase its victims properly after descending. Fixes #14468 --- .../updates/pending_db_world/rev_1673086888979134900.sql | 2 ++ .../HellfireRamparts/boss_vazruden_the_herald.cpp | 6 +++++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 data/sql/updates/pending_db_world/rev_1673086888979134900.sql diff --git a/data/sql/updates/pending_db_world/rev_1673086888979134900.sql b/data/sql/updates/pending_db_world/rev_1673086888979134900.sql new file mode 100644 index 000000000..41fe57b87 --- /dev/null +++ b/data/sql/updates/pending_db_world/rev_1673086888979134900.sql @@ -0,0 +1,2 @@ +-- +UPDATE `creature_template` SET `flags_extra`=`flags_extra`|0x00000200 WHERE `entry` IN (17536,18432); diff --git a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp index 24e0d42a8..6a8c48374 100644 --- a/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp +++ b/src/server/scripts/Outland/HellfireCitadel/HellfireRamparts/boss_vazruden_the_herald.cpp @@ -196,6 +196,8 @@ public: { Talk(EMOTE_NAZAN); events.Reset(); + me->SetReactState(REACT_PASSIVE); + me->InterruptNonMeleeSpells(true); me->GetMotionMaster()->MovePoint(POINT_MIDDLE, -1406.5f, 1746.5f, 81.2f, false); } } @@ -206,8 +208,10 @@ public: { me->SetCanFly(false); me->SetDisableGravity(false); - events.ScheduleEvent(EVENT_RESTORE_COMBAT, 0); + me->SetReactState(REACT_AGGRESSIVE); + events.ScheduleEvent(EVENT_RESTORE_COMBAT, 1); events.ScheduleEvent(EVENT_SPELL_CONE_OF_FIRE, 5000); + events.ScheduleEvent(EVENT_SPELL_FIREBALL, 6000); if (IsHeroic()) events.ScheduleEvent(EVENT_SPELL_BELLOWING_ROAR, 10000); }