From 4e469f7fe00e9d51a5ffdc7188d1ba6017fab1c8 Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Thu, 24 Aug 2023 20:36:58 +0200 Subject: [PATCH] Scripts/VP: removed SetHover script call from Altairus' script to avoid a duplicate application of the hover offset *set the anim tier in database --- sql/updates/world/4.3.4/2023_08_24_00_world.sql | 1 + .../scripts/Kalimdor/VortexPinnacle/boss_altairus.cpp | 7 ++----- 2 files changed, 3 insertions(+), 5 deletions(-) create mode 100644 sql/updates/world/4.3.4/2023_08_24_00_world.sql diff --git a/sql/updates/world/4.3.4/2023_08_24_00_world.sql b/sql/updates/world/4.3.4/2023_08_24_00_world.sql new file mode 100644 index 0000000000..da172a9163 --- /dev/null +++ b/sql/updates/world/4.3.4/2023_08_24_00_world.sql @@ -0,0 +1 @@ +UPDATE `creature_template_addon` SET `AnimTier`= 2 WHERE `entry` IN (43873, 43874); diff --git a/src/server/scripts/Kalimdor/VortexPinnacle/boss_altairus.cpp b/src/server/scripts/Kalimdor/VortexPinnacle/boss_altairus.cpp index 53a09a8c1d..0ca52f62d7 100644 --- a/src/server/scripts/Kalimdor/VortexPinnacle/boss_altairus.cpp +++ b/src/server/scripts/Kalimdor/VortexPinnacle/boss_altairus.cpp @@ -101,15 +101,12 @@ Position const TwisterSpawnPoints[POINT_TWISTER_MAX] = struct boss_altairus : public BossAI { - boss_altairus(Creature* creature) : BossAI(creature, DATA_ALTAIRUS) - { - me->SetHover(true); - } + boss_altairus(Creature* creature) : BossAI(creature, DATA_ALTAIRUS) { } void JustEngagedWith(Unit* who) override { BossAI::JustEngagedWith(who); - instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me); + instance->SendEncounterUnit(ENCOUNTER_FRAME_ENGAGE, me, 1); events.ScheduleEvent(EVENT_CALL_THE_WIND, 6s); events.ScheduleEvent(EVENT_CHILLING_BREATH, 10s, 14s);