summaryrefslogtreecommitdiff
path: root/docs/spelldifficulty_dbc.md
diff options
context:
space:
mode:
authorFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
committerFrancescoBorzi <borzifrancesco@gmail.com>2019-02-25 19:24:20 +0100
commita35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 (patch)
tree91e0cde00f6f27b730b0df3f4338fcf99fa8447a /docs/spelldifficulty_dbc.md
parentd8d1823802ded97300fa57405d80b16736603489 (diff)
downloadwiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.gz
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.tar.bz2
wiki-a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3.zip
Import DB wiki from TC 335
Diffstat (limited to 'docs/spelldifficulty_dbc.md')
-rw-r--r--docs/spelldifficulty_dbc.md115
1 files changed, 106 insertions, 9 deletions
diff --git a/docs/spelldifficulty_dbc.md b/docs/spelldifficulty_dbc.md
index 825a080..789be33 100644
--- a/docs/spelldifficulty_dbc.md
+++ b/docs/spelldifficulty_dbc.md
@@ -1,9 +1,106 @@
-[Database Structure](Database-Structure) > [World-Database](World-Database) > [spelldifficulty_dbc](spelldifficulty_dbc)
-
-Column | Type | Description
---- | --- | ---
-Id | int(11) unsigned |
-Spellid0 | int(11) unsigned |
-Spellid1 | int(11) unsigned |
-Spellid2 | int(11) unsigned |
-Spellid3 | int(11) unsigned |
+# spelldifficulty\_dbc
+
+`Back-to:World`
+
+**The \`spelldifficulty\_dbc\` table**
+
+This table contains spell data regarding cpp scripts. The id is called in the script, and depending on what version of the dungeon/raid the characters are in, the proper spell ID will be casted by the creature.
+
+**Structure**
+
+<table>
+<colgroup>
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+<col width="12%" />
+</colgroup>
+<tbody>
+<tr class="odd">
+<td><p><strong>Field</strong></p></td>
+<td><p><strong>Type</strong></p></td>
+<td><p><strong>Attributes</strong></p></td>
+<td><p><strong>Key</strong></p></td>
+<td><p><strong>Null</strong></p></td>
+<td><p><strong>Default</strong></p></td>
+<td><p><strong>Extra</strong></p></td>
+<td><p><strong>Comment</strong></p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#spelldifficulty_dbc-id">id</a></p></td>
+<td><p>int(11)</p></td>
+<td><p>unsigned</p></td>
+<td><p>PRI</p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#spelldifficulty_dbc-spellid0">spellid0</a></p></td>
+<td><p>int(11)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#spelldifficulty_dbc-spellid1">spellid1</a></p></td>
+<td><p>int(11)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#spelldifficulty_dbc-spellid2">spellid2</a></p></td>
+<td><p>int(11)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#spelldifficulty_dbc-spellid3">spellid3</a></p></td>
+<td><p>int(11)</p></td>
+<td><p>unsigned</p></td>
+<td><p> </p></td>
+<td><p>NO</p></td>
+<td><p>0</p></td>
+<td><p> </p></td>
+<td><p> </p></td>
+</tr>
+</tbody>
+</table>
+
+**Description of the fields**
+
+### id
+
+id referenced in the cpp script for the creature AI.
+
+### spellid0
+
+Spell ID to be used in normal dungeon (or normal 10men raid).
+
+### spellid1
+
+Spell ID to be used in heroic dungeon (or normal 25men raid).
+
+### spellid2
+
+Spell ID to be used in heroic 10men raid.
+
+### spellid3
+
+Spell ID to be used in heroic 25men raid.