mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Units: Named UNIT_FLAG2_UNTARGETABLE_BY_CLIENT and renamed CREATURE_DIFFICULTYFLAGS_5_CANNOT_SWITCH_TARGETS to CREATURE_DIFFICULTYFLAGS_5_UNTARGETABLE_BY_CLIENT (#27637)
This commit is contained in:
@@ -178,7 +178,7 @@ enum CreatureDifficultyFlags4
|
||||
|
||||
enum CreatureDifficultyFlags5
|
||||
{
|
||||
CREATURE_DIFFICULTYFLAGS_5_CANNOT_SWITCH_TARGETS = 0x00000001, // UnitFlags2 0x4000000
|
||||
CREATURE_DIFFICULTYFLAGS_5_UNTARGETABLE_BY_CLIENT = 0x00000001, // UNIT_FLAG2_UNTARGETABLE_BY_CLIENT
|
||||
CREATURE_DIFFICULTYFLAGS_5_UNK1 = 0x00000002,
|
||||
CREATURE_DIFFICULTYFLAGS_5_UFLAG2_UNK30 = 0x00000004, // UnitFlags2 0x10000000
|
||||
CREATURE_DIFFICULTYFLAGS_5_UNK2 = 0x00000008,
|
||||
|
||||
@@ -175,6 +175,7 @@ enum UnitFlags2 : uint32
|
||||
UNIT_FLAG2_PLAY_DEATH_ANIM = 0x00020000, // Plays special death animation upon death
|
||||
UNIT_FLAG2_ALLOW_CHEAT_SPELLS = 0x00040000, // Allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL
|
||||
UNIT_FLAG2_NO_ACTIONS = 0x00800000,
|
||||
UNIT_FLAG2_UNTARGETABLE_BY_CLIENT = 0x04000000 // Unit cannot be targeted by client (even in GM mode)
|
||||
};
|
||||
|
||||
// Value masks for UNIT_FIELD_FLAGS_3
|
||||
|
||||
Reference in New Issue
Block a user