summaryrefslogtreecommitdiff
path: root/docs/character_spell_cooldown.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/character_spell_cooldown.md')
-rw-r--r--docs/character_spell_cooldown.md101
1 files changed, 92 insertions, 9 deletions
diff --git a/docs/character_spell_cooldown.md b/docs/character_spell_cooldown.md
index 8e42bc4..b782afa 100644
--- a/docs/character_spell_cooldown.md
+++ b/docs/character_spell_cooldown.md
@@ -1,9 +1,92 @@
-[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [character_spell_cooldown](character_spell_cooldown)
-
-Column | Type | Description
---- | --- | ---
-Guid | int(10) unsigned |
-Spell | mediumint(8) unsigned |
-Item | int(10) unsigned |
-Time | int(10) unsigned |
-NeedSend | tinyint(3) unsigned |
+# character\_spell\_cooldown
+
+`Back-to:Characters`
+
+**The \`character\_spell\_cooldown\` table**
+
+Holds the remaining cooldowns from either character spells or item spells for each character.
+
+**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="#character_spell_cooldown-guid">guid</a></p></td>
+<td><p>int(10)</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>Global Unique Identifier, Low part</p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#character_spell_cooldown-spell">spell</a></p></td>
+<td><p>mediumint(8)</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>Spell Identifier</p></td>
+</tr>
+<tr class="even">
+<td><p><a href="#character_spell_cooldown-item">item</a></p></td>
+<td><p>int(10)</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>Item Identifier</p></td>
+</tr>
+<tr class="odd">
+<td><p><a href="#character_spell_cooldown-time">time</a></p></td>
+<td><p>int(10)</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**
+
+### guid
+
+The GUID of the character. See characters.guid
+
+### spell
+
+The spell ID. See Spell.dbc column 1
+
+### item
+
+If the spell was casted from an item, the item ID. See item\_template.entry
+
+### time
+
+The time when the spell cooldown will finish, measured in [Unix time](http://en.wikipedia.org/wiki/Unix_time)