summaryrefslogtreecommitdiff
path: root/docs/creature_template_spell.md
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2021-03-21 15:32:39 +0100
committerGitHub <noreply@github.com>2021-03-21 15:32:39 +0100
commit0f16b4a19598ef6835285201addd8136caa023b8 (patch)
tree5a4f4fcc2b21c8acd91aed1f810f0dd45b7d815a /docs/creature_template_spell.md
parente8a656a7055eae106ca54a7e12c2ae694d134c71 (diff)
downloadwiki-0f16b4a19598ef6835285201addd8136caa023b8.tar.gz
wiki-0f16b4a19598ef6835285201addd8136caa023b8.tar.bz2
wiki-0f16b4a19598ef6835285201addd8136caa023b8.zip
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
Diffstat (limited to 'docs/creature_template_spell.md')
-rw-r--r--docs/creature_template_spell.md49
1 files changed, 49 insertions, 0 deletions
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.