From 0f16b4a19598ef6835285201addd8136caa023b8 Mon Sep 17 00:00:00 2001 From: Kitzunu <24550914+Kitzunu@users.noreply.github.com> Date: Sun, 21 Mar 2021 15:32:39 +0100 Subject: chore(c_t): Add c_t_r & c_t_s (#392) * chore(c_t): Add c_t_r & c_t_s * fix table * Update creature_template_resistance.md * Update creature_template_resistance.md * Update creature_template_spell.md --- docs/creature_template_spell.md | 49 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 docs/creature_template_spell.md (limited to 'docs/creature_template_spell.md') diff --git a/docs/creature_template_spell.md b/docs/creature_template_spell.md new file mode 100644 index 0000000..06b5f49 --- /dev/null +++ b/docs/creature_template_spell.md @@ -0,0 +1,49 @@ +# creature_template_spell + +[<-Back-to:World](database-world.md) + +**The \`creature_template_spell\` table** + +**Structure** + +| Field | Type | Attribute | Key | Null | Default | Extra | Comment +:--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- +[CreatureID][1] | mediumint(8) | UNSIGNED | PRI | NO +[Index][2] | tinyint(6) | UNSIGNED | PRI | NO | 0 +[Spell][3] | mediumint(5) | UNSIGNED | | YES | Null +[VerifiedBuild][4] | smallint(5) | SIGNED | | YES | 0 + +[1]: #creatureid +[2]: #index +[3]: #spell +[4]: #verifiedbuild + +**Description of the fields** + +### CreatureID + +Creature entry from [creature_template.entry](creature_template#entry). + +### Index + +Value must be within this range. If above or under the SQL will fail on `creature_template_spell_chk_1`. + +Index 0 - 7. + +Spell position on actionbar for vehicle creatures. + +### Spell + +Spell ID that can be used for Mind Control of a creature. + +### 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. -- cgit