summaryrefslogtreecommitdiff
path: root/docs/creature_classlevelstats.md
blob: 683adad1c676c14097c505c6afa555353c1f354a (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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# creature\_classlevelstats

**Table Structure**

This table contains the base values for creature health, mana, armor, attack power, ranged attack power, damage, and experience.

| Field                  | Type        | Attributes | Null | Default | Extra | Comment |
|------------------------|-------------|------------|------|---------|-------|---------|
| [level][1]             | tinyint(3)  | unsigned   | NO   |         |       |         |
| [class][2]             | tinyint(3)  | unsigned   | NO   |         |       |         |
| [basehp0][3]           | smallint(5) | unsigned   | NO   |         |       |         |
| [basehp1][4]           | smallint(5) | unsigned   | NO   |         |       |         |
| [basehp2][5]           | smallint(5) | unsigned   | NO   |         |       |         |
| [basemana][6]          | smallint(5) | unsigned   | NO   |         |       |         |
| [basearmor][7]         | smallint(5) | unsigned   | NO   |         |       |         |
| [attackpower][8]       | smallint(5) | unsigned   | NO   |         |       |         |
| [rangedattackpower][9] | smallint(5) | unsigned   | NO   |         |       |         |
| [damage_base][10]      | float       |            | NO   |         |       |         |
| [damage_exp1][11]      | float       |            | NO   |         |       |         |
| [damage_exp2][12]      | float       |            | NO   |         |       |         |
| [comment][13]          | text        |            | YES  | NULL    |       |         |

[1]: #level
[2]: #class
[3]: #basehp0
[4]: #basehp1
[5]: #basehp2
[6]: #basemana
[7]: #basearmor
[8]: #attackpower
[9]: #rangedattackpower
[10]: #damage_base
[11]: #damage_exp1
[12]: #damage_exp2
[13]: #comment

**Field Descriptions**

### level

Level of the creature.

### class

Class of the creature. This is a reference to the [unit\_class](creature_template#creature_template-unit_class) field in the [creature\_template](creature_template) table.

### basehp0

Base health for the creature if creature\_template.exp value is set to 0. This value is multiplied by [creature\_template.Health\_mod](creature_template#creature_template-Health_mod)  to determine the creature's final health.

### basehp1

Base health for the creature if creature\_template.exp value is set to 1. This value is multiplied by [creature\_template.Health\_mod](creature_template#creature_template-Health_mod)  to determine the creature's final health.

### basehp2

Base health for the creature if creature\_template.exp value is set to 2. This value is multiplied by [creature\_template.Health\_mod](creature_template#creature_template-Health_mod)  to determine the creature's final health.

### basemana

Base mana for the creature. This value is multiplied by  [creature\_template.Mana\_mod](creature_template#creature_template-Mana_mod) to determine the creature's final mana.

### basearmor

Base armor for the creature. This value is multiplied by creature\_template.Armor\_mod to determine the creature's final armor.

### attackpower

Base attack power for the creature. This value is multiplied by [creature\_template.attackpower](creature_template#creature_template-attackpower) to determine the creature's final attack power.

### rangedattackpower

Base ranged attack power for the creature. It is currently unknown what this value is multiplied by to determine the creature's final attack power. Maybe it works the same as attack power and multiplies by [creature\_template.attackpower](creature_template#creature_template-attackpower)?

### damage\_base

This field is used for unknown. (Might be the base dmg if exp1 and exp2 is set to 0).

### damage\_exp1

Min damage. This will increase/decrease by creature\_template.damagemodifier.

### damage\_exp2

Max damage This will increase/decrease by creature\_template.damagemodifier.

### comment

A comment describing the purpose of the record (entry).