mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Scripts/BoT: fixed hover visual for Halfus' dragons
This commit is contained in:
5
sql/updates/world/custom/custom_2019_02_18_00_world.sql
Normal file
5
sql/updates/world/custom/custom_2019_02_18_00_world.sql
Normal file
@@ -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);
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user