summaryrefslogtreecommitdiff
path: root/docs/pool_template.md
blob: 84ea6f734603709720a0085105720985716238b4 (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
# pool\_template

[<-Back-to:World](database-world.md)

**The \`pool\_template\` table**

Each unique pool is defined in this table.

**Structure**

| Field            | Type         | Attributes | Key | Null | Default | Extra | Comment                               |
|------------------|--------------|------------|-----|------|---------|-------|---------------------------------------|
| [entry][1]       | MEDIUMINT | UNSIGNED   | PRI | NO   | 0       |       | Pool entry                            |
| [max_limit][2]   | INT      | UNSIGNED   |     | NO   | 0       |       | Max number of objects (0) is no limit |
| [description][3] | VARCHAR(255) | SIGNED     |     | YES  | NULL    |       |                                       |

[1]: #entry
[2]: #max_limit
[3]: #description

**Description of the fields**

### entry

The pool ID. This is an arbitrary number that is only used to link the gameobjects, creatures or quests in this pool.

### max\_limit

This is the maximum number of objects that should be spawned in this pool.
0 is no limit.

### description

Field describes the basic information about what the pool refers to. Example: Snarlflare (14272)