blob: b6000d2f7d90d51ad1a9020b502297caa9da0fbc (
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
|
# player\_xp\_for\_level
[<-Back-to:World](database-world.md)
**The \`player\_xp\_for\_level\` table**
Includes information on how much experience needed for next level. Comes from sniffs.
**Structure**
| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
|-----------------|------------|------------|-----|------|---------|-------|---------|
| [Level][1] | TINYINT | UNSIGNED | PRI | NO | NULL | | |
| [Experience][2] | INT | UNSIGNED | | NO | NULL | | |
[1]: #level
[2]: #experience
**Description of the fields**
This table sets the exp point needed to upgrade the player's level.
### Level
The player's level.
### Experience
The experience needed to upgrade from the value in "lvl" field to "lvl" +1.
### Example
| Level | Experience |
|-------|------------|
| 1 | 400 |
| 2 | 900 |
| 3 | 1400 |
| 4 | 2100 |
| 5 | 2800 |
|