summaryrefslogtreecommitdiff
path: root/docs/player_xp_for_level.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/player_xp_for_level.md')
-rw-r--r--docs/player_xp_for_level.md65
1 files changed, 19 insertions, 46 deletions
diff --git a/docs/player_xp_for_level.md b/docs/player_xp_for_level.md
index f64e9a2..9dc585e 100644
--- a/docs/player_xp_for_level.md
+++ b/docs/player_xp_for_level.md
@@ -8,59 +8,32 @@ Includes information on how much experience needed for next level. Comes from sn
**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="#lvl">lvl</a></p></td>
-<td><p>int(3)</p></td>
-<td><p>unsigned</p></td>
-<td><p>PRI</p></td>
-<td><p>NO</p></td>
-<td><p>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-<tr class="odd">
-<td><p><a href="#xp_for_next_level">xp_for_next_level</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>NULL</p></td>
-<td><p> </p></td>
-<td><p> </p></td>
-</tr>
-</tbody>
-</table>
+| Field | Type | Attributes | Key | Null | Default | Extra | Comment |
+|-----------------|------------|------------|-----|------|---------|-------|---------|
+| [Level][1] | tinyint(3) | unsigned | PRI | NO | NULL | | |
+| [Experience][2] | int(10) | unsigned | | NO | NULL | | |
+
+[1]: #level
+[2]: #experience
**Description of the fields**
This table sets the exp point needed to upgrade the player's level.
-### lvl
+### Level
The player's level.
-### xp\_for\_next\_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 |