summaryrefslogtreecommitdiff
path: root/docs/character_spell_cooldown.md
blob: fc5669fcaf7f5f700d431fe2da386bd1342dc2bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# character\_spell\_cooldown

[<-Back-to:Characters](database-characters.md)

**The \`character\_spell\_cooldown\` table**

Holds the remaining cooldowns from either character spells or item spells for each character.

**Structure**

| Field      | Type         | Attributes | Key | Null | Default | Extra | Comment                            |
|------------|--------------|------------|-----|------|---------|-------|------------------------------------|
| [guid][1]  | INT      | UNSIGNED   | PRI | NO   | 0       |       | Global Unique Identifier, Low part |
| [spell][2] | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       | Spell Identifier                   |
| [item][3]  | INT      | UNSIGNED   |     | NO   | 0       |       | Item Identifier                    |
| [time][4]  | INT      | UNSIGNED   |     | NO   | 0       |       |                                    |

[1]: #guid
[2]: #spell
[3]: #item
[4]: #time

**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)