From aba1e4be22d7cf41ffe2512812d2530b7d75b82f Mon Sep 17 00:00:00 2001 From: Ovahlord Date: Mon, 18 Feb 2019 03:47:28 +0100 Subject: [PATCH] Scripts/BoT: fixed hover visual for Halfus' dragons --- sql/updates/world/custom/custom_2019_02_18_00_world.sql | 5 +++++ .../BastionOfTwilight/boss_halfus_wyrmbreaker.cpp | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 sql/updates/world/custom/custom_2019_02_18_00_world.sql diff --git a/sql/updates/world/custom/custom_2019_02_18_00_world.sql b/sql/updates/world/custom/custom_2019_02_18_00_world.sql new file mode 100644 index 00000000000..f993d8b9116 --- /dev/null +++ b/sql/updates/world/custom/custom_2019_02_18_00_world.sql @@ -0,0 +1,5 @@ +UPDATE `creature_template` SET `flags_extra`= 1073741824 | 512, `InhabitType`= 5 WHERE `entry` IN (44828, 46212, 46213, 46214); +UPDATE `creature_template` SET `flags_extra`= 1073741824 | 512, `InhabitType`= 5 WHERE `entry` IN (44829, 46215, 46216, 46217); +UPDATE `creature_template` SET `flags_extra`= 1073741824 | 512, `InhabitType`= 5 WHERE `entry` IN (44826, 46218, 46219, 46220); +UPDATE `creature_template` SET `flags_extra`= 1073741824 | 512, `InhabitType`= 5 WHERE `entry` IN (44653, 46221, 46222, 46223); +UPDATE `creature_template` SET `flags_extra`= 1073741824 | 512, `InhabitType`= 1 WHERE `entry` IN (46224, 46225, 46226); diff --git a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp index dc8cfcfb476..f7a26741bb9 100644 --- a/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp +++ b/src/server/scripts/EasternKingdoms/BastionOfTwilight/boss_halfus_wyrmbreaker.cpp @@ -537,7 +537,6 @@ class npc_halfus_enslaved_dragon : public CreatureScript { me->SetDisableGravity(true); me->SendSetPlayHoverAnim(true); - me->AddUnitMovementFlag(MOVEMENTFLAG_CAN_FLY); me->AddUnitMovementFlag(MOVEMENTFLAG_HOVER); me->SetByteFlag(UNIT_FIELD_BYTES_1, 3, UNIT_BYTE1_FLAG_ALWAYS_STAND | UNIT_BYTE1_FLAG_HOVER); }