Creature template: различия между версиями
Перейти к навигации
Перейти к поиску
User1 (обсуждение | вклад) Нет описания правки |
User1 (обсуждение | вклад) Нет описания правки |
||
| Строка 1: | Строка 1: | ||
Наши кастомы в таблице | Наши кастомы в таблице | ||
===== UnitFlags ===== | |||
UNIT_FLAG_NONE = 0x00000000, | |||
UNIT_FLAG_SERVER_CONTROLLED = 0x00000001, // set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner | |||
UNIT_FLAG_NON_ATTACKABLE = 0x00000002, // not attackable | |||
UNIT_FLAG_REMOVE_CLIENT_CONTROL = 0x00000004, // This is a legacy flag used to disable movement player's movement while controlling other units, SMSG_CLIENT_CONTROL replaces this functionality clientside now. CONFUSED and FLEEING flags have the same effect on client movement asDISABLE_MOVE_CONTROL in addition to preventing spell casts/autoattack (they all allow climbing steeper hills and emotes while moving) | |||
UNIT_FLAG_PVP_ATTACKABLE = 0x00000008, // allow apply pvp rules to attackable state in addition to faction dependent state | |||
UNIT_FLAG_RENAME = 0x00000010, | |||
UNIT_FLAG_PREPARATION = 0x00000020, // don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA | |||
UNIT_FLAG_UNK_6 = 0x00000040, | |||
UNIT_FLAG_NOT_ATTACKABLE_1 = 0x00000080, // ?? (UNIT_FLAG_PVP_ATTACKABLE | UNIT_FLAG_NOT_ATTACKABLE_1) is NON_PVP_ATTACKABLE | |||
UNIT_FLAG_IMMUNE_TO_PC = 0x00000100, // disables combat/assistance with PlayerCharacters (PC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget | |||
UNIT_FLAG_IMMUNE_TO_NPC = 0x00000200, // disables combat/assistance with NonPlayerCharacters (NPC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget | |||
UNIT_FLAG_LOOTING = 0x00000400, // loot animation | |||
UNIT_FLAG_PET_IN_COMBAT = 0x00000800, // in combat?, 2.0.8 | |||
UNIT_FLAG_PVP = 0x00001000, // changed in 3.0.3 | |||
UNIT_FLAG_SILENCED = 0x00002000, // silenced, 2.1.1 | |||
UNIT_FLAG_CANNOT_SWIM = 0x00004000, // 2.0.8 | |||
UNIT_FLAG_SWIMMING = 0x00008000, // shows swim animation in water and will not fall to the bottom | |||
UNIT_FLAG_NON_ATTACKABLE_2 = 0x00010000, // removes attackable icon, if on yourself, cannot assist self but can cast TARGET_SELF spells - added by SPELL_AURA_MOD_UNATTACKABLE | |||
UNIT_FLAG_PACIFIED = 0x00020000, // 3.0.3 ok | |||
UNIT_FLAG_STUNNED = 0x00040000, // 3.0.3 ok | |||
UNIT_FLAG_IN_COMBAT = 0x00080000, | |||
UNIT_FLAG_TAXI_FLIGHT = 0x00100000, // disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag | |||
UNIT_FLAG_DISARMED = 0x00200000, // 3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip. | |||
UNIT_FLAG_CONFUSED = 0x00400000, | |||
UNIT_FLAG_FLEEING = 0x00800000, | |||
UNIT_FLAG_PLAYER_CONTROLLED = 0x01000000, // used in spell Eyes of the Beast for pet... let attack by controlled creature | |||
UNIT_FLAG_NOT_SELECTABLE = 0x02000000, | |||
UNIT_FLAG_SKINNABLE = 0x04000000, | |||
UNIT_FLAG_MOUNT = 0x08000000, | |||
UNIT_FLAG_PREVENT_KNEELING_WHEN_LOOTING = 0x10000000, | |||
UNIT_FLAG_PREVENT_EMOTES = 0x20000000, // used in Feing Death spell | |||
UNIT_FLAG_SHEATHE = 0x40000000, | |||
UNIT_FLAG_IMMUNE = 0x80000000 // Immune to damage | |||
===== UnitFlags2 ===== | |||
UNIT_FLAG2_NONE = 0x00000000, | |||
UNIT_FLAG2_FEIGN_DEATH = 0x00000001, | |||
UNIT_FLAG2_HIDE_BODY = 0x00000002, // Hide Body DESCRIPTION Hide unit model (show only player equip) | |||
UNIT_FLAG2_IGNORE_REPUTATION = 0x00000004, | |||
UNIT_FLAG2_COMPREHEND_LANG = 0x00000008, | |||
UNIT_FLAG2_MIRROR_IMAGE = 0x00000010, | |||
UNIT_FLAG2_INSTANTLY_APPEAR_MODEL = 0x00000020, // Unit model instantly appears when summoned (does not fade in) | |||
UNIT_FLAG2_FORCE_MOVEMENT = 0x00000040, | |||
UNIT_FLAG2_DISARM_OFFHAND = 0x00000080, | |||
UNIT_FLAG2_DISABLE_PRED_STATS = 0x00000100, // Player has disabled predicted stats (Used by raid frames) | |||
UNIT_FLAG2_ALLOW_CHANGING_TALENTS = 0x00000200, // Allows changing talents outside rest area | |||
UNIT_FLAG2_DISARM_RANGED = 0x00000400, // this does not disable ranged weapon display (maybe additional flag needed?) | |||
UNIT_FLAG2_REGENERATE_POWER = 0x00000800, | |||
UNIT_FLAG2_RESTRICT_PARTY_INTERACTION = 0x00001000, // Restrict interaction to party or raid | |||
UNIT_FLAG2_PREVENT_SPELL_CLICK = 0x00002000, // Prevent spellclick | |||
UNIT_FLAG2_ALLOW_ENEMY_INTERACT = 0x00004000, | |||
UNIT_FLAG2_DISABLE_TURN = 0x00008000, | |||
UNIT_FLAG2_UNK2 = 0x00010000, | |||
UNIT_FLAG2_PLAY_DEATH_ANIM = 0x00020000, // Plays special death animation upon death | |||
UNIT_FLAG2_ALLOW_CHEAT_SPELLS = 0x00040000, | |||
UNIT_FLAG2_SUPPRESS_HIGHLIGHT_WHEN_TARGETED_OR_MOUSED_OVER = 0x00080000, | |||
UNIT_FLAG2_ALLOW_RAID_TARGET_SPELLS = 0x00100000, // Allow interact raid target spells, exaple 73325 | |||
UNIT_FLAG2_LARGE_AOI = 0x00200000, | |||
UNIT_FLAG2_GIGANTIC_AOI = 0x00400000, | |||
UNIT_FLAG2_NO_ACTIONS = 0x00800000, | |||
UNIT_FLAG2_SWIM_PREVENT = 0x01000000, | |||
UNIT_FLAG2_HIDE_IN_COMBAT_LOG = 0x02000000, | |||
UNIT_FLAG2_PREVENT_SELECT_NPC = 0x04000000, | |||
UNOT_FLAG2_IGNORE_SPELL_MIN_RANGE_RESTRICTIONS = 0x08000000, | |||
UNIT_FLAG2_INFINITE_AOI = 0x40000000, | |||
===== UnitFlags3 ===== | |||
UNIT_FLAG3_NONE = 0x00000000, | |||
UNIT_FLAG3_PASSIVE_AI = 0x00000001, | |||
UNIT_FLAG3_UNCONSCIOUS_ON_DEATH = 0x00000002, // TITLE Unconscious on Death DESCRIPTION Shows "Unconscious" in unit tooltip instead of "Dead" | |||
UNIT_FLAG3_ALLOW_MOUNTED_COMBAT = 0x00000004, // TITLE Allow mounted combat | |||
UNIT_FLAG3_GARRISON_PET = 0x00000008, // TITLE Garrison pet DESCRIPTION Special garrison pet creatures that display one of favorite player battle pets - this flag allows querying name and turns off default battle pet behavior | |||
UNIT_FLAG3_UI_CAN_GET_POSITION = 0x00000010, // TITLE UI Can Get Position DESCRIPTION Allows lua functions like UnitPosition to always get the position even for npcs or non-grouped players | |||
UNIT_FLAG3_AI_OBSTACLE = 0x00000020, | |||
UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE = 0x00000040, | |||
UNIT_FLAG3_SUPPRESS_ALL_NPC_FEEDBACK = 0x00000080, // TITLE Suppress all NPC feedback DESCRIPTION Skips playing sounds on left clicking npc for all npcs as long as npc with this flag is visible | |||
UNIT_FLAG3_IGNORE_COMBAT = 0x00000100, // TITLE Ignore Combat DESCRIPTION Same as SPELL_AURA_IGNORE_COMBAT | |||
UNIT_FLAG3_SUPPRESS_NPC_FEEDBACK = 0x00000200, // TITLE Suppress NPC feedback DESCRIPTION Skips playing sounds on left clicking npc | |||
UNIT_FLAG3_UNK10 = 0x00000400, | |||
UNIT_FLAG3_UNK11 = 0x00000800, | |||
UNIT_FLAG3_UNK12 = 0x00001000, | |||
UNIT_FLAG3_FAKE_DEAD = 0x00002000, // TITLE Show as dead | |||
UNIT_FLAG3_NO_FACING_ON_INTERACT_AND_FAST_FACING_CHASE = 0x00004000, // Causes the creature to both not change facing on interaction and speeds up smooth facing changes while attacking (clientside) | |||
UNIT_FLAG3_UNTARGETABLE_FROM_UI = 0x00008000, // TITLE Untargetable from UI DESCRIPTION Cannot be targeted from lua functions StartAttack, TargetUnit, PetAttack | |||
UNIT_FLAG3_NO_FACING_ON_INTERACT_WHILE_FAKE_DEAD = 0x00010000, // Prevents facing changes while interacting if creature has flag UNIT_FLAG3_FAKE_DEAD | |||
UNIT_FLAG3_ALREADY_SKINNED = 0x00020000, | |||
UNIT_FLAG3_SUPPRESS_ALL_NPC_SOUNDS = 0x00040000, // TITLE Suppress all NPC sounds DESCRIPTION Skips playing sounds on beginning and end of npc interaction for all npcs as long as npc with this flag is visible | |||
UNIT_FLAG3_SUPPRESS_NPC_SOUNDS = 0x00080000, // TITLE Suppress NPC sounds DESCRIPTION Skips playing sounds on beginning and end of npc interaction | |||
UNIT_FLAG3_UNK20 = 0x00100000, | |||
UNIT_FLAG3_UNK21 = 0x00200000, | |||
UNIT_FLAG3_DONT_FADE_OUT = 0x00400000, | |||
UNIT_FLAG3_UNK23 = 0x00800000, | |||
UNIT_FLAG3_FORCE_HIDE_NAMEPLATE = 0x01000000, | |||
UNIT_FLAG3_UNK25 = 0x02000000, | |||
UNIT_FLAG3_UNK26 = 0x04000000, | |||
UNIT_FLAG3_UNK27 = 0x08000000, | |||
UNIT_FLAG3_UNK28 = 0x10000000, | |||
UNIT_FLAG3_UNK29 = 0x20000000, | |||
UNIT_FLAG3_UNK30 = 0x40000000, | |||
UNIT_FLAG3_UNK31 = 0x80000000, | |||
===== NPCFlags ===== | |||
UNIT_NPC_FLAG_NONE = 0x00000000, | |||
UNIT_NPC_FLAG_GOSSIP = 0x00000001, // 0 100% | |||
UNIT_NPC_FLAG_QUESTGIVER = 0x00000002, // 1 100% | |||
UNIT_NPC_FLAG_UNK1 = 0x00000004, // 2 | |||
UNIT_NPC_FLAG_UNK2 = 0x00000008, // 3 | |||
UNIT_NPC_FLAG_TRAINER = 0x00000010, // 4 100% | |||
UNIT_NPC_FLAG_TRAINER_CLASS = 0x00000020, // 5 100% | |||
UNIT_NPC_FLAG_TRAINER_PROFESSION = 0x00000040, // 6 100% | |||
UNIT_NPC_FLAG_VENDOR = 0x00000080, // 7 100% | |||
UNIT_NPC_FLAG_VENDOR_AMMO = 0x00000100, // 8 100%, general goods vendor | |||
UNIT_NPC_FLAG_VENDOR_FOOD = 0x00000200, // 9 100% | |||
UNIT_NPC_FLAG_VENDOR_POISON = 0x00000400, // 10 guessed | |||
UNIT_NPC_FLAG_VENDOR_REAGENT = 0x00000800, // 11 100% | |||
UNIT_NPC_FLAG_REPAIR = 0x00001000, // 12 100% | |||
UNIT_NPC_FLAG_FLIGHTMASTER = 0x00002000, // 13 100% | |||
UNIT_NPC_FLAG_SPIRITHEALER = 0x00004000, // 14 guessed | |||
UNIT_NPC_FLAG_SPIRITGUIDE = 0x00008000, // 15 guessed | |||
UNIT_NPC_FLAG_INNKEEPER = 0x00010000, // 16 100% | |||
UNIT_NPC_FLAG_BANKER = 0x00020000, // 17 100% | |||
UNIT_NPC_FLAG_PETITIONER = 0x00040000, // 18 100% 0xC0000 = guild petitions, 0x40000 = arena team petitions | |||
UNIT_NPC_FLAG_TABARDDESIGNER = 0x00080000, // 19 100% | |||
UNIT_NPC_FLAG_BATTLEMASTER = 0x00100000, // 20 100% | |||
UNIT_NPC_FLAG_AUCTIONEER = 0x00200000, // 21 100% | |||
UNIT_NPC_FLAG_STABLEMASTER = 0x00400000, // 22 100% | |||
UNIT_NPC_FLAG_GUILD_BANKER = 0x00800000, // 23 cause client to send 997 opcode | |||
UNIT_NPC_FLAG_SPELLCLICK = 0x01000000, // 24 cause client to send 1015 opcode (spell click) | |||
UNIT_NPC_FLAG_PLAYER_VEHICLE = 0x02000000, // 25 players with mounts that have vehicle data should have it set | |||
UNIT_NPC_FLAG_MAILBOX = 0x04000000, // 26 NPC will act like a mailbox (opens mailbox with right-click) | |||
UNIT_NPC_FLAG_REFORGER = 0x08000000, // 27 reforging | |||
UNIT_NPC_FLAG_ARTIFACT_POWER_RESPEC = 0x08000000, // 27 artifact powers reset | |||
UNIT_NPC_FLAG_TRANSMOGRIFIER = 0x10000000, // 28 transmogrification | |||
UNIT_NPC_FLAG_VAULTKEEPER = 0x20000000, // 29 void storage | |||
UNIT_NPC_FLAG_WILD_BATTLE_PET = 0x40000000, // 30 wild battle pet | |||
UNIT_NPC_FLAG_BLACK_MARKET = 0x80000000, // 31 black market | |||
===== NPCFlags2 ===== | |||
UNIT_NPC_FLAG2_NONE = 0x00000000, | |||
UNIT_NPC_FLAG2_ITEM_UPGRADE_MASTER = 0x00000001, | |||
UNIT_NPC_FLAG2_GARRISON_ARCHITECT = 0x00000002, | |||
UNIT_NPC_FLAG2_AI_OBSTACLE = 0x00000004, // AIObstacleMgr::Register | |||
UNIT_NPC_FLAG2_STEERING = 0x00000008, // CGUnit_C::EnableSteering | |||
UNIT_NPC_FLAG2_SHIPMENT_CRAFTER = 0x00000010, | |||
UNIT_NPC_FLAG2_GARRISON_MISSION_NPC = 0x00000020, | |||
UNIT_NPC_FLAG2_TRADESKILL_NPC = 0x00000040, | |||
UNIT_NPC_FLAG2_BLACK_MARKET_VIEW = 0x00000080, | |||
UNIT_NPC_FLAG2_RECRUITER = 0x00000100, | |||
UNIT_NPC_FLAG2_GARRISON_TALENT_NPC = 0x00000200, | |||
UNIT_NPC_FLAG2_CONTRIBUTION_COLLECTOR = 0x00000400, | |||
UNIT_NPC_FLAG2_FAST_STEERING_AVOIDS_OBSTACLES = 0x00002000, ///< Used by npc in island exepedition and battleground | |||
UNIT_NPC_FLAG2_AZERITE_RESPEC = 0x00004000, | |||
UNIT_NPC_FLAG2_ISLANDS_QUEUE = 0x00008000, | |||
UNIT_NPC_FLAG2_SUPPRESS_NPC_SOUNDS_EXCEPT_END_OF_INTERACTION = 0x00010000, | |||
UNIT_NPC_FLAG2_BARBER = 0x00040000, | |||
UNIT_NPC_FLAG2_PERSONAL_TABARD_DESIGNER = 0x00200000, | |||
===== IsSummonNotTakeSummonersLevel ===== | ===== IsSummonNotTakeSummonersLevel ===== | ||
Суммон не будет брать уровень от суммонера и будет выставляться из темплейтов. Значение 0 или 1 | Суммон не будет брать уровень от суммонера и будет выставляться из темплейтов. Значение 0 или 1 | ||
===== SummonPersonalVisibleType ===== | ===== SummonPersonalVisibleType ===== | ||
Персональная видимость при суммоне со спелла | Персональная видимость при суммоне со спелла | ||
0 - не устанавливать перс видимость , 1 - персональная видимость для суммонера, 2 - персональная видимость для суммонера и его группы/рейда | |||
0 - не устанавливать перс видимость , 1 - персональная видимость для суммонера, 2 - персональная видимость для суммонера и его группы/рейда | |||
===== flags_extra ===== | ===== flags_extra ===== | ||
CREATURE_FLAG_EXTRA_EVENT_LOOT = 2048 // Генерирует специальный ивентовый илвл в луте нпц. Настраивается ТОЛЬКО в ядре. | CREATURE_FLAG_EXTRA_EVENT_LOOT = 2048 // Генерирует специальный ивентовый илвл в луте нпц. Настраивается ТОЛЬКО в ядре. | ||
CREATURE_FLAG_EXTRA_EVENT_NPC = 4096 // Добавляет скалирование хп от кол-ва атакующих, персональный лут(без кд, кд устанавливать отдельно. например путем classification = 3 или CREATURE_FLAG_EXTRA_INSTANCE_BIND) | |||
CREATURE_FLAG_EXTRA_EVENT_NPC = 4096 // Добавляет скалирование хп от кол-ва атакующих, персональный лут(без кд, кд устанавливать отдельно. например путем classification = 3 или CREATURE_FLAG_EXTRA_INSTANCE_BIND) | CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK = 8192, // Creature will immune all knockback effects | ||
CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK = 8192, // Creature will immune all knockback effects | |||
===== flags_extra2 ===== | ===== flags_extra2 ===== | ||
CREATURE_FLAG_EXTRA2_SET_ROOT = 0x00000001, // Creature is rooted | |||
CREATURE_FLAG_EXTRA2_SET_PASSIVE = 0x00000002, // Creature is passive | |||
=== inhabitType === | === inhabitType === | ||
INHABIT_GROUND = 1, | INHABIT_GROUND = 1, | ||
INHABIT_WATER = 2, | INHABIT_WATER = 2, | ||
Версия от 10:12, 24 декабря 2024
Наши кастомы в таблице
UnitFlags
UNIT_FLAG_NONE = 0x00000000, UNIT_FLAG_SERVER_CONTROLLED = 0x00000001, // set only when unit movement is controlled by server - by SPLINE/MONSTER_MOVE packets, together with UNIT_FLAG_STUNNED; only set to units controlled by client; client function CGUnit_C::IsClientControlled returns false when set for owner UNIT_FLAG_NON_ATTACKABLE = 0x00000002, // not attackable UNIT_FLAG_REMOVE_CLIENT_CONTROL = 0x00000004, // This is a legacy flag used to disable movement player's movement while controlling other units, SMSG_CLIENT_CONTROL replaces this functionality clientside now. CONFUSED and FLEEING flags have the same effect on client movement asDISABLE_MOVE_CONTROL in addition to preventing spell casts/autoattack (they all allow climbing steeper hills and emotes while moving) UNIT_FLAG_PVP_ATTACKABLE = 0x00000008, // allow apply pvp rules to attackable state in addition to faction dependent state UNIT_FLAG_RENAME = 0x00000010, UNIT_FLAG_PREPARATION = 0x00000020, // don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_COST_WITH_AURA UNIT_FLAG_UNK_6 = 0x00000040, UNIT_FLAG_NOT_ATTACKABLE_1 = 0x00000080, // ?? (UNIT_FLAG_PVP_ATTACKABLE | UNIT_FLAG_NOT_ATTACKABLE_1) is NON_PVP_ATTACKABLE UNIT_FLAG_IMMUNE_TO_PC = 0x00000100, // disables combat/assistance with PlayerCharacters (PC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget UNIT_FLAG_IMMUNE_TO_NPC = 0x00000200, // disables combat/assistance with NonPlayerCharacters (NPC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget UNIT_FLAG_LOOTING = 0x00000400, // loot animation UNIT_FLAG_PET_IN_COMBAT = 0x00000800, // in combat?, 2.0.8 UNIT_FLAG_PVP = 0x00001000, // changed in 3.0.3 UNIT_FLAG_SILENCED = 0x00002000, // silenced, 2.1.1 UNIT_FLAG_CANNOT_SWIM = 0x00004000, // 2.0.8 UNIT_FLAG_SWIMMING = 0x00008000, // shows swim animation in water and will not fall to the bottom UNIT_FLAG_NON_ATTACKABLE_2 = 0x00010000, // removes attackable icon, if on yourself, cannot assist self but can cast TARGET_SELF spells - added by SPELL_AURA_MOD_UNATTACKABLE UNIT_FLAG_PACIFIED = 0x00020000, // 3.0.3 ok UNIT_FLAG_STUNNED = 0x00040000, // 3.0.3 ok UNIT_FLAG_IN_COMBAT = 0x00080000, UNIT_FLAG_TAXI_FLIGHT = 0x00100000, // disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag UNIT_FLAG_DISARMED = 0x00200000, // 3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip. UNIT_FLAG_CONFUSED = 0x00400000, UNIT_FLAG_FLEEING = 0x00800000, UNIT_FLAG_PLAYER_CONTROLLED = 0x01000000, // used in spell Eyes of the Beast for pet... let attack by controlled creature UNIT_FLAG_NOT_SELECTABLE = 0x02000000, UNIT_FLAG_SKINNABLE = 0x04000000, UNIT_FLAG_MOUNT = 0x08000000, UNIT_FLAG_PREVENT_KNEELING_WHEN_LOOTING = 0x10000000, UNIT_FLAG_PREVENT_EMOTES = 0x20000000, // used in Feing Death spell UNIT_FLAG_SHEATHE = 0x40000000, UNIT_FLAG_IMMUNE = 0x80000000 // Immune to damage
UnitFlags2
UNIT_FLAG2_NONE = 0x00000000, UNIT_FLAG2_FEIGN_DEATH = 0x00000001, UNIT_FLAG2_HIDE_BODY = 0x00000002, // Hide Body DESCRIPTION Hide unit model (show only player equip) UNIT_FLAG2_IGNORE_REPUTATION = 0x00000004, UNIT_FLAG2_COMPREHEND_LANG = 0x00000008, UNIT_FLAG2_MIRROR_IMAGE = 0x00000010, UNIT_FLAG2_INSTANTLY_APPEAR_MODEL = 0x00000020, // Unit model instantly appears when summoned (does not fade in) UNIT_FLAG2_FORCE_MOVEMENT = 0x00000040, UNIT_FLAG2_DISARM_OFFHAND = 0x00000080, UNIT_FLAG2_DISABLE_PRED_STATS = 0x00000100, // Player has disabled predicted stats (Used by raid frames) UNIT_FLAG2_ALLOW_CHANGING_TALENTS = 0x00000200, // Allows changing talents outside rest area UNIT_FLAG2_DISARM_RANGED = 0x00000400, // this does not disable ranged weapon display (maybe additional flag needed?) UNIT_FLAG2_REGENERATE_POWER = 0x00000800, UNIT_FLAG2_RESTRICT_PARTY_INTERACTION = 0x00001000, // Restrict interaction to party or raid UNIT_FLAG2_PREVENT_SPELL_CLICK = 0x00002000, // Prevent spellclick UNIT_FLAG2_ALLOW_ENEMY_INTERACT = 0x00004000, UNIT_FLAG2_DISABLE_TURN = 0x00008000, UNIT_FLAG2_UNK2 = 0x00010000, UNIT_FLAG2_PLAY_DEATH_ANIM = 0x00020000, // Plays special death animation upon death UNIT_FLAG2_ALLOW_CHEAT_SPELLS = 0x00040000, UNIT_FLAG2_SUPPRESS_HIGHLIGHT_WHEN_TARGETED_OR_MOUSED_OVER = 0x00080000, UNIT_FLAG2_ALLOW_RAID_TARGET_SPELLS = 0x00100000, // Allow interact raid target spells, exaple 73325 UNIT_FLAG2_LARGE_AOI = 0x00200000, UNIT_FLAG2_GIGANTIC_AOI = 0x00400000, UNIT_FLAG2_NO_ACTIONS = 0x00800000, UNIT_FLAG2_SWIM_PREVENT = 0x01000000, UNIT_FLAG2_HIDE_IN_COMBAT_LOG = 0x02000000, UNIT_FLAG2_PREVENT_SELECT_NPC = 0x04000000, UNOT_FLAG2_IGNORE_SPELL_MIN_RANGE_RESTRICTIONS = 0x08000000, UNIT_FLAG2_INFINITE_AOI = 0x40000000,
UnitFlags3
UNIT_FLAG3_NONE = 0x00000000, UNIT_FLAG3_PASSIVE_AI = 0x00000001, UNIT_FLAG3_UNCONSCIOUS_ON_DEATH = 0x00000002, // TITLE Unconscious on Death DESCRIPTION Shows "Unconscious" in unit tooltip instead of "Dead" UNIT_FLAG3_ALLOW_MOUNTED_COMBAT = 0x00000004, // TITLE Allow mounted combat UNIT_FLAG3_GARRISON_PET = 0x00000008, // TITLE Garrison pet DESCRIPTION Special garrison pet creatures that display one of favorite player battle pets - this flag allows querying name and turns off default battle pet behavior UNIT_FLAG3_UI_CAN_GET_POSITION = 0x00000010, // TITLE UI Can Get Position DESCRIPTION Allows lua functions like UnitPosition to always get the position even for npcs or non-grouped players UNIT_FLAG3_AI_OBSTACLE = 0x00000020, UNIT_FLAG3_ALTERNATIVE_DEFAULT_LANGUAGE = 0x00000040, UNIT_FLAG3_SUPPRESS_ALL_NPC_FEEDBACK = 0x00000080, // TITLE Suppress all NPC feedback DESCRIPTION Skips playing sounds on left clicking npc for all npcs as long as npc with this flag is visible UNIT_FLAG3_IGNORE_COMBAT = 0x00000100, // TITLE Ignore Combat DESCRIPTION Same as SPELL_AURA_IGNORE_COMBAT UNIT_FLAG3_SUPPRESS_NPC_FEEDBACK = 0x00000200, // TITLE Suppress NPC feedback DESCRIPTION Skips playing sounds on left clicking npc UNIT_FLAG3_UNK10 = 0x00000400, UNIT_FLAG3_UNK11 = 0x00000800, UNIT_FLAG3_UNK12 = 0x00001000, UNIT_FLAG3_FAKE_DEAD = 0x00002000, // TITLE Show as dead UNIT_FLAG3_NO_FACING_ON_INTERACT_AND_FAST_FACING_CHASE = 0x00004000, // Causes the creature to both not change facing on interaction and speeds up smooth facing changes while attacking (clientside) UNIT_FLAG3_UNTARGETABLE_FROM_UI = 0x00008000, // TITLE Untargetable from UI DESCRIPTION Cannot be targeted from lua functions StartAttack, TargetUnit, PetAttack UNIT_FLAG3_NO_FACING_ON_INTERACT_WHILE_FAKE_DEAD = 0x00010000, // Prevents facing changes while interacting if creature has flag UNIT_FLAG3_FAKE_DEAD UNIT_FLAG3_ALREADY_SKINNED = 0x00020000, UNIT_FLAG3_SUPPRESS_ALL_NPC_SOUNDS = 0x00040000, // TITLE Suppress all NPC sounds DESCRIPTION Skips playing sounds on beginning and end of npc interaction for all npcs as long as npc with this flag is visible UNIT_FLAG3_SUPPRESS_NPC_SOUNDS = 0x00080000, // TITLE Suppress NPC sounds DESCRIPTION Skips playing sounds on beginning and end of npc interaction UNIT_FLAG3_UNK20 = 0x00100000, UNIT_FLAG3_UNK21 = 0x00200000, UNIT_FLAG3_DONT_FADE_OUT = 0x00400000, UNIT_FLAG3_UNK23 = 0x00800000, UNIT_FLAG3_FORCE_HIDE_NAMEPLATE = 0x01000000, UNIT_FLAG3_UNK25 = 0x02000000, UNIT_FLAG3_UNK26 = 0x04000000, UNIT_FLAG3_UNK27 = 0x08000000, UNIT_FLAG3_UNK28 = 0x10000000, UNIT_FLAG3_UNK29 = 0x20000000, UNIT_FLAG3_UNK30 = 0x40000000, UNIT_FLAG3_UNK31 = 0x80000000,
NPCFlags
UNIT_NPC_FLAG_NONE = 0x00000000, UNIT_NPC_FLAG_GOSSIP = 0x00000001, // 0 100% UNIT_NPC_FLAG_QUESTGIVER = 0x00000002, // 1 100% UNIT_NPC_FLAG_UNK1 = 0x00000004, // 2 UNIT_NPC_FLAG_UNK2 = 0x00000008, // 3 UNIT_NPC_FLAG_TRAINER = 0x00000010, // 4 100% UNIT_NPC_FLAG_TRAINER_CLASS = 0x00000020, // 5 100% UNIT_NPC_FLAG_TRAINER_PROFESSION = 0x00000040, // 6 100% UNIT_NPC_FLAG_VENDOR = 0x00000080, // 7 100% UNIT_NPC_FLAG_VENDOR_AMMO = 0x00000100, // 8 100%, general goods vendor UNIT_NPC_FLAG_VENDOR_FOOD = 0x00000200, // 9 100% UNIT_NPC_FLAG_VENDOR_POISON = 0x00000400, // 10 guessed UNIT_NPC_FLAG_VENDOR_REAGENT = 0x00000800, // 11 100% UNIT_NPC_FLAG_REPAIR = 0x00001000, // 12 100% UNIT_NPC_FLAG_FLIGHTMASTER = 0x00002000, // 13 100% UNIT_NPC_FLAG_SPIRITHEALER = 0x00004000, // 14 guessed UNIT_NPC_FLAG_SPIRITGUIDE = 0x00008000, // 15 guessed UNIT_NPC_FLAG_INNKEEPER = 0x00010000, // 16 100% UNIT_NPC_FLAG_BANKER = 0x00020000, // 17 100% UNIT_NPC_FLAG_PETITIONER = 0x00040000, // 18 100% 0xC0000 = guild petitions, 0x40000 = arena team petitions UNIT_NPC_FLAG_TABARDDESIGNER = 0x00080000, // 19 100% UNIT_NPC_FLAG_BATTLEMASTER = 0x00100000, // 20 100% UNIT_NPC_FLAG_AUCTIONEER = 0x00200000, // 21 100% UNIT_NPC_FLAG_STABLEMASTER = 0x00400000, // 22 100% UNIT_NPC_FLAG_GUILD_BANKER = 0x00800000, // 23 cause client to send 997 opcode UNIT_NPC_FLAG_SPELLCLICK = 0x01000000, // 24 cause client to send 1015 opcode (spell click) UNIT_NPC_FLAG_PLAYER_VEHICLE = 0x02000000, // 25 players with mounts that have vehicle data should have it set UNIT_NPC_FLAG_MAILBOX = 0x04000000, // 26 NPC will act like a mailbox (opens mailbox with right-click) UNIT_NPC_FLAG_REFORGER = 0x08000000, // 27 reforging UNIT_NPC_FLAG_ARTIFACT_POWER_RESPEC = 0x08000000, // 27 artifact powers reset UNIT_NPC_FLAG_TRANSMOGRIFIER = 0x10000000, // 28 transmogrification UNIT_NPC_FLAG_VAULTKEEPER = 0x20000000, // 29 void storage UNIT_NPC_FLAG_WILD_BATTLE_PET = 0x40000000, // 30 wild battle pet UNIT_NPC_FLAG_BLACK_MARKET = 0x80000000, // 31 black market
NPCFlags2
UNIT_NPC_FLAG2_NONE = 0x00000000, UNIT_NPC_FLAG2_ITEM_UPGRADE_MASTER = 0x00000001, UNIT_NPC_FLAG2_GARRISON_ARCHITECT = 0x00000002, UNIT_NPC_FLAG2_AI_OBSTACLE = 0x00000004, // AIObstacleMgr::Register UNIT_NPC_FLAG2_STEERING = 0x00000008, // CGUnit_C::EnableSteering UNIT_NPC_FLAG2_SHIPMENT_CRAFTER = 0x00000010, UNIT_NPC_FLAG2_GARRISON_MISSION_NPC = 0x00000020, UNIT_NPC_FLAG2_TRADESKILL_NPC = 0x00000040, UNIT_NPC_FLAG2_BLACK_MARKET_VIEW = 0x00000080, UNIT_NPC_FLAG2_RECRUITER = 0x00000100, UNIT_NPC_FLAG2_GARRISON_TALENT_NPC = 0x00000200, UNIT_NPC_FLAG2_CONTRIBUTION_COLLECTOR = 0x00000400, UNIT_NPC_FLAG2_FAST_STEERING_AVOIDS_OBSTACLES = 0x00002000, ///< Used by npc in island exepedition and battleground UNIT_NPC_FLAG2_AZERITE_RESPEC = 0x00004000, UNIT_NPC_FLAG2_ISLANDS_QUEUE = 0x00008000, UNIT_NPC_FLAG2_SUPPRESS_NPC_SOUNDS_EXCEPT_END_OF_INTERACTION = 0x00010000, UNIT_NPC_FLAG2_BARBER = 0x00040000, UNIT_NPC_FLAG2_PERSONAL_TABARD_DESIGNER = 0x00200000,
IsSummonNotTakeSummonersLevel
Суммон не будет брать уровень от суммонера и будет выставляться из темплейтов. Значение 0 или 1
SummonPersonalVisibleType
Персональная видимость при суммоне со спелла 0 - не устанавливать перс видимость , 1 - персональная видимость для суммонера, 2 - персональная видимость для суммонера и его группы/рейда
flags_extra
CREATURE_FLAG_EXTRA_EVENT_LOOT = 2048 // Генерирует специальный ивентовый илвл в луте нпц. Настраивается ТОЛЬКО в ядре. CREATURE_FLAG_EXTRA_EVENT_NPC = 4096 // Добавляет скалирование хп от кол-ва атакующих, персональный лут(без кд, кд устанавливать отдельно. например путем classification = 3 или CREATURE_FLAG_EXTRA_INSTANCE_BIND) CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK = 8192, // Creature will immune all knockback effects
flags_extra2
CREATURE_FLAG_EXTRA2_SET_ROOT = 0x00000001, // Creature is rooted CREATURE_FLAG_EXTRA2_SET_PASSIVE = 0x00000002, // Creature is passive
inhabitType
INHABIT_GROUND = 1, INHABIT_WATER = 2, INHABIT_AIR = 4, INHABIT_WATERWALK = 8,
INHABIT_MAX, INHABIT_ANYWHERE = INHABIT_GROUND | INHABIT_WATER | INHABIT_AIR
flags_extra2
CREATURE_FLAG_EXTRA2_SET_ROOT = 0x00000001, // Creature is rooted CREATURE_FLAG_EXTRA2_SET_PASSIVE = 0x00000002, // Creature is passive CREATURE_FLAG_EXTRA2_AUTOREPLACEABLE = 0x00000004, // Creature is auto replaceable by phase switch CREATURE_FLAG_EXTRA2_SUMMON_CAN_SCALE_DAMAGE = 0x00000008, // Creature is auto replaceable by phase switch