这是本文档旧的修订版!
creature_template_resistance 表
表结构
Field | Type | Attributes | Key | Null | Default | Extra | Comment |
---|---|---|---|---|---|---|---|
CreatureID | MEDIUMINT | UNSIGNED | PRI | NO | |||
School | TINYINT | UNSIGNED | PRI | NO | |||
Resistance | SMALLINT | SIGNED | YES | Null | |||
VerifiedBuild | SMALLINT | SIGNED | YES | 0 |
字段说明
CreatureID
Creature entry from creature_template.entry.
School
Value must be within this range. If above or under the SQL will fail on creature_template_resistance_chk_1.
Value Name 1 SPELL_SCHOOL_HOLY 2 SPELL_SCHOOL_FIRE 3 SPELL_SCHOOL_NATURE 4 SPELL_SCHOOL_FROST 5 SPELL_SCHOOL_SHADOW 6 SPELL_SCHOOL_ARCANE
Resistance
Resistance value.
VerifiedBuild
This field was used to determine whether a template has been verified from WDB files.
If value is 0 then it has not been parsed yet.
If value is above 0 then it has been parsed with WDB files from that specific client build.
If value is -1 then it is just a place holder until proper data are found on WDBs.
If value is -Client Build then it was parsed with WDB files from that specific client build and manually edited later for some special necessity.