Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Add CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH

Back-to:World

...

FlagNameComments
10x0000 0001UNIT_FLAG_SERVER_CONTROLLED
20x0000 0002UNIT_FLAG_NON_ATTACKABLE
40x0000 0004UNIT_FLAG_REMOVE_CLIENT_CONTROL
80x0000 0008UNIT_FLAG_PLAYER_CONTROLLEDcontrolled by player, use _IMMUNE_TO_PC instead of _IMMUNE_TO_NPC
160x0000 0010UNIT_FLAG_RENAME
320x0000 0020UNIT_FLAG_PREPARATIONDon't take reagents for spells with SPELL_ATTR_EX5_NO_REAGENT_WHILE_PREP
640x0000 0040UNIT_FLAG_UNK_6not sure what it does, but it is needed to cast nontriggered spells in smart_scripts
1280x0000 0080UNIT_FLAG_NOT_ATTACKABLE_1UNIT_FLAG_PVP_ATTACKABLE| UNIT_FLAG_NOT_ATTACKABLE_1 is NON_PVP_ATTACKABLE
2560x0000 0100UNIT_FLAG_IMMUNE_TO_PCdisables combat/assistance with PlayerCharacters (PC)
5120x0000 0200UNIT_FLAG_IMMUNE_TO_NPCdisables combat/assistance with NonPlayerCharacters (NPC)
10240x0000 0400UNIT_FLAG_LOOTINGLoot animation
20480x0000 0800UNIT_FLAG_PET_IN_COMBATIn combat? 2.0.8
40960x0000 1000UNIT_FLAG_PVPChanged in 3.0.3
81920x0000 2000UNIT_FLAG_SILENCEDCan't cast spells
163840x0000 4000UNIT_FLAG_CANNOT_SWIM2.0.8
327680x0000 8000UNIT_FLAG_SWIMMINGshows swim animation in water
655360x0001 0000UNIT_FLAG_NON_ATTACKABLE_2removes attackable icon, if on yourself, cannot assist self but can cast TARGET_SELF spells - added by SPELL_AURA_MOD_UNATTACKABLE
1310720x0002 0000UNIT_FLAG_PACIFIEDCreature will not attack
2621440x0004 0000UNIT_FLAG_STUNNED3.0.3 ok
5242880x0008 0000UNIT_FLAG_IN_COMBAT('AffectingCombat' from UnitFlags.cs in WPP)
10485760x0010 0000UNIT_FLAG_TAXI_FLIGHTDisable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag
20971520x0020 0000UNIT_FLAG_DISARMED3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip.
41943040x0040 0000UNIT_FLAG_CONFUSEDConfused.
83886080x0080 0000UNIT_FLAG_FLEEING('Feared' from UnitFlags.cs in WPP)
167772160x0100 0000UNIT_FLAG_POSSESSEDunder direct client control by a player (possess or vehicle)
335544320x0200 0000UNIT_FLAG_NOT_SELECTABLECan't be selected by mouse or with /target {name} command.
671088640x0400 0000UNIT_FLAG_SKINNABLESkinnable
1342177280x0800 0000UNIT_FLAG_MOUNTThe client seems to handle it perfectly. Also used when making custom mounts.
2684354560x1000 0000UNIT_FLAG_UNK_28(PreventKneelingWhenLooting from UnitFlags.cs in WPP)
5368709120x2000 0000UNIT_FLAG_PREVENT_EMOTES_FROM_CHAT_TEXTPrevent automatically playing emotes from parsing chat text, for example "lol" in /say, ending message with ? or !, or using /yell
10737418240x4000 0000UNIT_FLAG_SHEATHE
21474836480x8000 0000UNIT_FLAG_IMMUNEImmune to damage

...

FlagNameComments
10x0000 0001UNIT_FLAG2_FEIGN_DEATH
20x0000 0002UNIT_FLAG2_HIDE_BODYHide unit model (show only player equip)
40x0000 0004UNIT_FLAG2_IGNORE_REPUTATION
80x0000 0008UNIT_FLAG2_COMPREHEND_LANG
160x0000 0010UNIT_FLAG2_MIRROR_IMAGE
320x0000 0020UNIT_FLAG2_DO_NOT_FADE_INUnit model instantly appears when summoned (does not fade in)
640x0000 0040UNIT_FLAG2_FORCE_MOVEMENT
1280x0000 0080UNIT_FLAG2_DISARM_OFFHAND
2560x0000 0100UNIT_FLAG2_DISABLE_PRED_STATSPlayer has disabled predicted stats (Used by raid frames)
10240x0000 0400UNIT_FLAG2_DISARM_RANGEDthis does not disable ranged weapon display (maybe additional flag needed?)
20480x0000 0800UNIT_FLAG2_REGENERATE_POWER
40960x0000 1000UNIT_FLAG2_RESTRICT_PARTY_INTERACTIONRestrict interaction to party or raid
81920x0000 2000UNIT_FLAG2_PREVENT_SPELL_CLICKPrevent spellclick
163840x0000 4000UNIT_FLAG2_ALLOW_ENEMY_INTERACT
327680x0000 8000UNIT_FLAG2_CANNOT_TURN
655360x0001 0000UNIT_FLAG2_UNK2
1310720x0002 0000UNIT_FLAG2_PLAY_DEATH_ANIMPlays special death animation upon death
2621440x0004 0000UNIT_FLAG2_ALLOW_CHEAT_SPELLS

allows casting spells with AttributesEx7 & SPELL_ATTR7_IS_CHEAT_SPELL

...

FlagNameComments
10x0000 0001CREATURE_TYPE_FLAG_TAMEABLEMakes the mob tameable (must also be a beast and have family set)
20x0000 0002CREATURE_TYPE_FLAG_VISIBLE_TO_GHOSTSCreature is also visible for not alive player. Allows gossip interaction if npcflag allows?
40x0000 0004CREATURE_TYPE_FLAG_BOSS_MOBChanges creature's visible level to "??" in the creature's portrait - Immune Knockback.
80x0000 0008CREATURE_TYPE_FLAG_DO_NOT_PLAY_WOUND_PARRY_ANIMATIONDoes not play wound animation on parry.
160x0000 0010CREATURE_TYPE_FLAG_NO_FACTION_TOOLTIP
320x0000 0020CREATURE_TYPE_FLAG_MORE_AUDIBLESound related
640x0000 0040CREATURE_TYPE_FLAG_SPELL_ATTACKABLE
1280x0000 0080CREATURE_TYPE_FLAG_INTERACT_WHILE_DEADPlayer can interact with the creature if creature is dead (not if player is dead)
2560x0000 0100CREATURE_TYPE_FLAG_SKIN_WITH_HERBALISMMakes mob herbable
5120x0000 0200CREATURE_TYPE_FLAG_SKIN_WITH_MININGMakes mob minable
10240x0000 0400CREATURE_TYPE_FLAG_NO_DEATH_MESSAGEDeath event will not show up in combat log
20480x0000 0800CREATURE_TYPE_FLAG_ALLOW_MOUNTED_COMBATCreature can remain mounted when entering combat
40960x0000 1000CREATURE_TYPE_FLAG_CAN_ASSISTCan aid any player in combat if in range?
81920x0000 2000CREATURE_TYPE_FLAG_NO_PET_BAR
163840x0000 4000CREATURE_TYPE_FLAG_MASK_UID
327680x0000 8000CREATURE_TYPE_FLAG_SKIN_WITH_ENGINEERINGMakes mob lootable by engineer
655360x0001 0000CREATURE_TYPE_FLAG_EXOTIC_PETTamable as an exotic pet. Normal tamable flag must also be set.
1310720x0002 0000CREATURE_TYPE_FLAG_USE_MODEL_COLLISION_SIZECollision related. (always using default collision box?)
2621440x0004 0000CREATURE_TYPE_FLAG_ALLOW_INTERACTION_WHILE_IN_COMBAT
5242880x0008 0000CREATURE_TYPE_FLAG_COLLIDE_WITH_MISSILES

Projectiles can collide with this creature - interacts with TARGET_DEST_TRAJ

10485760x0010 0000CREATURE_TYPE_FLAG_NO_NAME_PLATE
20971520x0020 0000CREATURE_TYPE_FLAG_DO_NOT_PLAY_MOUNTED_ANIMATIONS
41943040x0040 0000CREATURE_TYPE_FLAG_IS_LINK_ALL
83886080x0080 0000CREATURE_TYPE_FLAG_INTERACT_ONLY_WITH_CREATOR

Can only interact with its creator.

167772160x0100 0000CREATURE_TYPE_FLAG_DO_NOT_PLAY_UNIT_EVENT_SOUNDS


335544320x0200 0000CREATURE_TYPE_FLAG_HAS_NO_SHADOW_BLOB


671088640x0400 0000CREATURE_TYPE_FLAG_TREAT_AS_RAID_UNIT


1342177280x0800 0000CREATURE_TYPE_FLAG_FORCE_GOSSIPAllows the creature to display a single gossip option.
2684354560x1000 0000CREATURE_TYPE_FLAG_DO_NOT_SHEATHE
5368709120x2000 0000CREATURE_TYPE_FLAG_DO_NOT_TARGET_ON_INTERACTION
10737418240x4000 0000CREATURE_TYPE_FLAG_DO_NOT_RENDER_OBJECT_NAME
21474836480x8000 0000CREATURE_TYPE_FLAG_UNIT_IS_QUEST_BOSS

...

FlagType
1CREATURE_FLAG_EXTRA_INSTANCE_BIND0x00000001creature kill binds instance to killer and killer's group
2CREATURE_FLAG_EXTRA_CIVILIAN0x00000002creature does not aggro (ignore faction/reputation hostility)
4CREATURE_FLAG_EXTRA_NO_PARRY0x00000004creature does not parry
8CREATURE_FLAG_EXTRA_NO_PARRY_HASTEN0x00000008creature does not counter-attack at parry
16CREATURE_FLAG_EXTRA_NO_BLOCK0x00000010creature does not block
32CREATURE_FLAG_EXTRA_NO_CRUSHING_BLOWS0x00000020creature can't do crush attacks
64CREATURE_FLAG_EXTRA_NO_XP0x00000040creature kill does not provide XP
128CREATURE_FLAG_EXTRA_TRIGGER0x00000080creature is trigger-NPC (invisible to players only)
256CREATURE_FLAG_EXTRA_NO_TAUNT0x00000100creature is immune to taunt auras and 'attack me' effects
512CREATURE_FLAG_EXTRA_NO_MOVE_FLAGS_UPDATE0x00000200creature won't update movement flags
1024CREATURE_FLAG_EXTRA_GHOST_VISIBILITY 0x00000400creature will only be visible to dead players
2048CREATURE_FLAG_EXTRA_USE_OFFHAND_ATTACK0x00000800creature will use offhand attacks
4096CREATURE_FLAG_EXTRA_NO_SELL_VENDOR 0x00001000players can't sell items to this vendor
8192CREATURE_FLAG_EXTRA_IGNORE_COMBAT0x00002000creature is not allowed to enter combat
16384CREATURE_FLAG_EXTRA_WORLDEVENT0x00004000custom flag for world events (left room for merging)
32768CREATURE_FLAG_EXTRA_GUARD0x00008000creature is a guard (Will ignore feign death and vanish)
65536CREATURE_FLAG_EXTRA_IGNORE_FEIGN_DEATH0x00010000creature ignores feign death
131072CREATURE_FLAG_EXTRA_NO_CRIT0x00020000creature does not do critical strikes
262144CREATURE_FLAG_EXTRA_NO_SKILL_GAINS0x00040000creature won't increase weapon skills
524288CREATURE_FLAG_EXTRA_OBEYS_TAUNT_DIMINISHING_RETURNS0x00080000Taunt is subject to diminishing returns on this creature
1048576CREATURE_FLAG_EXTRA_ALL_DIMINISH0x00100000creature is subject to all diminishing returns as players are
2097152CREATURE_FLAG_EXTRA_NO_PLAYER_DAMAGE_REQ0x00200000

NPCs can help with killing this creature and player will still be credited if he tags the creature

268435456CREATURE_FLAG_EXTRA_DUNGEON_BOSS0x10000000

Creature is a dungeon boss. This flag is generically set by core during runtime. Setting this in database will give you startup error.

536870912CREATURE_FLAG_EXTRA_IGNORE_PATHFINDING0x20000000Creature will ignore pathfinding. This is like disabling Mmaps, only for one creature.
1073741824CREATURE_FLAG_EXTRA_IMMUNITY_KNOCKBACK0x40000000creature will immune all knockback effects

...