当前位置:首页>>魔兽单机>>正文
魔兽单机5.4.8数据库creature_template对应的unit_flags说明
2017-06-30 12:59:35 作者:wowaii 来源:网络 浏览次数:0
要想在魔兽单机私服548版本里面对一些生物或则BOSS进行属性调整。那么unit_flags的设置必不可少。这里简单的记录一些unit_flags的属性。。

方便作为大家的参考使用

creature_template 对应的 unit_flags 说明
    
UNIT_FLAG_SERVER_CONTROLLED     = 1,           // 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        = 2,           // not attackable   无法攻击
UNIT_FLAG_DISABLE_MOVE          = 4,           //禁止移动
UNIT_FLAG_PVP_ATTACKABLE        = 8,           //可以PVP攻击 allow apply pvp rules to attackable state in addition to faction dependent state
UNIT_FLAG_RENAME                = 16,          //重命名
UNIT_FLAG_PREPARATION           = 32,           // don't take reagents for spells with SPELL_ATTR5_NO_REAGENT_WHILE_PREP
UNIT_FLAG_UNK_6                 = 64,
UNIT_FLAG_NOT_ATTACKABLE_1      = 128,           //无法攻击 ?? (UNIT_FLAG_PVP_ATTACKABLE | UNIT_FLAG_NOT_ATTACKABLE_1) is NON_PVP_ATTACKABLE
UNIT_FLAG_IMMUNE_TO_PC          = 256,           // disables combat/assistance with PlayerCharacters (PC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget
UNIT_FLAG_IMMUNE_TO_NPC         = 512,           // disables combat/assistance with NonPlayerCharacters (NPC) - see Unit::_IsValidAttackTarget, Unit::_IsValidAssistTarget
UNIT_FLAG_LOOTING               = 1024,           //动态掉落 loot animation
UNIT_FLAG_PET_IN_COMBAT         = 2048,           //宠物在战斗中 in combat?, 2.0.8
UNIT_FLAG_PVP                   = 4096,           //PVP changed in 3.0.3
UNIT_FLAG_SILENCED              = 8192,           // silenced, 2.1.1
UNIT_FLAG_UNK_14                = 16384,           // 2.0.8
UNIT_FLAG_UNK_15                = 32768,
UNIT_FLAG_UNK_16                = 65536,
UNIT_FLAG_PACIFIED              = 131072,           // 3.0.3 ok
UNIT_FLAG_STUNNED               = 262144,           // 3.0.3 ok
UNIT_FLAG_IN_COMBAT             = 524288,
UNIT_FLAG_TAXI_FLIGHT           = 1048576,           // disable casting at client side spell not allowed by taxi flight (mounted?), probably used with 0x4 flag
UNIT_FLAG_DISARMED              = 2097152,           // 3.0.3, disable melee spells casting..., "Required melee weapon" added to melee spells tooltip.
UNIT_FLAG_CONFUSED              = 4194304,           //混乱状态
UNIT_FLAG_FLEEING               = 8388608,
UNIT_FLAG_PLAYER_CONTROLLED     = 16777216,           //玩家控制 used in spell Eyes of the Beast for pet... let attack by controlled creature
UNIT_FLAG_NOT_SELECTABLE        = 33554432,           //不能被玩家选择
UNIT_FLAG_SKINNABLE             = 67108864,           //可以被剥皮
UNIT_FLAG_MOUNT                 = 134217728,
UNIT_FLAG_UNK_28                = 268435456,
UNIT_FLAG_UNK_29                = 536870912,           // used in Feing Death spell
UNIT_FLAG_SHEATHE               = 1073741824,
UNIT_FLAG_UNK_31                = -2147483648


相关报道:

[关闭] [返回顶部]


  返回首页 | 最新资讯 | 资源下载 | 魔兽图片 | 单机文档 | 技术攻略 | 玩家视频
备案号:蜀ICP备2024062380号-1
免责声明:本网站为热爱怀旧WOW的玩家们建立的魔兽世界资料网站,仅供交流和学习使用,非盈利和商用.如有侵权之处,请联系我们,我们会在24小时内确认删除侵权内容,谢谢合作。
Copyright © 2024 - 2024 WOWAII.COM Corporation, All Rights Reserved

机器人国度