DBC里面的值 数据库里面的值 Spell.dbc(35列) ->SpellCategories.dbc(5列) Creature_template->mechanic_immune_mask
MECHANIC_NONE = 0,
MECHANIC_CHARM = 1, = 1 MECHANIC_CHARM 魅惑
MECHANIC_DISORIENTED = 2, = 2 MECHANIC_CONFUSED 混乱
MECHANIC_DISARM = 3, = 4 MECHANIC_DISARM 缴械
MECHANIC_DISTRACT = 4, = 8 MECHANIC_DISTRACT 狂暴
MECHANIC_FEAR = 5, = 16 MECHANIC_FEAR 恐惧
MECHANIC_GRIP = 6, = 32 MECHANIC_FUMBLE
MECHANIC_ROOT = 7, = 64 MECHANIC_ROOT 根须缠绕
MECHANIC_PACIFY = 8, = 128 MECHANIC_PACIFY 宁静 //0 spells use this mechanic(目前没有使用的)
MECHANIC_SILENCE = 9, = 256 MECHANIC_SILENCE 沉默
MECHANIC_SLEEP = 10, = 512 MECHANIC_SLEEP 睡眠
MECHANIC_SNARE = 11, = 1024 MECHANIC_SNARE 诱惑
MECHANIC_STUN = 12, = 2048 MECHANIC_STUN 晕眩
MECHANIC_FREEZE = 13, = 4096 MECHANIC_FREEZE 冰冻
MECHANIC_KNOCKOUT = 14, = 8192 MECHANIC_KNOCKOUT 击倒
MECHANIC_BLEED = 15, = 16384 MECHANIC_BLEED 流血
MECHANIC_BANDAGE = 16, = 32768 MECHANIC_BANDAGE 绷带
MECHANIC_POLYMORPH = 17, = 65536 MECHANIC_POLYMORPH 晶体*
MECHANIC_BANISH = 18, = 131072 MECHANIC_BANISH 放逐
MECHANIC_SHIELD = 19, = 262144 MECHANIC_SHIELD 格挡
MECHANIC_SHACKLE = 20, = 524288 MECHANIC_SHACKLE 束缚
MECHANIC_MOUNT = 21, = 1048576 MECHANIC_MOUNT 骑乘
MECHANIC_INFECTED = 22, = 2097152 MECHANIC_PERSUADE 说服
MECHANIC_TURN = 23, = 4194304 MECHANIC_TURN 旋转
MECHANIC_HORROR = 24, = 8388608 MECHANIC_HORROR 恐惧
MECHANIC_INVULNERABILITY = 25, = 16777216 MECHANIC_INVULNERABILITY 无敌
MECHANIC_INTERRUPT = 26, = 33554432 MECHANIC_INTERRUPT 打断
MECHANIC_DAZE = 27, = 67108864 MECHANIC_DAZE 晕眩
MECHANIC_DISCOVERY = 28, = 134217728 MECHANIC_DISCOVERY 发觉*
MECHANIC_IMMUNE_SHIELD = 29, // Divine (Blessing) Shield/Protection and Ice Block
MECHANIC_SAPPED = 30,
MECHANIC_ENRAGED = 31
|