blob: 8e767002f9c1c5f3b70bf59a4dd932756a3d34e9 (
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
# creature\_classlevelstats
``
**Table Structure**
This table contains the base values for creature health, mana, armor, attack power, ranged attack power, damage, and experience.
<table>
<colgroup>
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
<col width="20%" />
</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>Null</strong></p></td>
<td><p><strong>Default</strong></p></td>
</tr>
<tr class="even">
<td><p><a href="#creature_classlevelstats-level">level</a></p></td>
<td><p>tinyint(3)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>NULL</p></td>
</tr>
<tr class="odd">
<td><p><a href="#creature_classlevelstats-class">class</a></p></td>
<td><p>tinyint(3)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>NULL</p></td>
</tr>
<tr class="even">
<td><p><a href="#creature_classlevelstats-basehp0">basehp0</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>1</p></td>
</tr>
<tr class="odd">
<td><p><a href="#creature_classlevelstats-basehp1">basehp1</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>1</p></td>
</tr>
<tr class="even">
<td><p><a href="#creature_classlevelstats-basehp2">basehp2</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>1</p></td>
</tr>
<tr class="odd">
<td><p><a href="#creature_classlevelstats-basemana">basemana</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>0</p></td>
</tr>
<tr class="even">
<td><p><a href="#creature_classlevelstats-basearmor">basearmor</a></p></td>
<td><p>smallint(5)</p></td>
<td><p>unsigned</p></td>
<td><p>NO</p></td>
<td><p>1</p></td>
</tr>
<tr class="odd">
<td><a href="#creature_classlevelstats-attackpower">attackpower</a></td>
<td>smallint(5)</td>
<td>unsigned</td>
<td>NO</td>
<td>0</td>
</tr>
<tr class="even">
<td><a href="#creature_classlevelstats-rangedattackpower">rangedattackpower</a></td>
<td>smallint(5)</td>
<td>unsigned</td>
<td>NO</td>
<td>0</td>
</tr>
<tr class="odd">
<td><a href="#creature_classlevelstats-damage_base">damage_base</a></td>
<td>float</td>
<td><br />
</td>
<td>NO</td>
<td>0</td>
</tr>
<tr class="even">
<td><a href="#creature_classlevelstats-damage_exp1">damage_exp1</a></td>
<td>float</td>
<td><br />
</td>
<td>NO</td>
<td>0</td>
</tr>
<tr class="odd">
<td><a href="#creature_classlevelstats-damage_exp2">damage_exp2</a></td>
<td>float</td>
<td><br />
</td>
<td>NO</td>
<td>0</td>
</tr>
<tr class="even">
<td><a href="#creature_classlevelstats-comment">comment</a></td>
<td>text</td>
<td><br />
</td>
<td>YES</td>
<td>NULL</td>
</tr>
</tbody>
</table>
**Field Descriptions**
### level
Level of the creature.
### class
Class of the creature. This is a reference to the [unit\_class](http://collab.kpsn.org/display/tc/creature_template#creature_template-unit_class) field in the [creature\_template](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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](http://collab.kpsn.org/display/tc/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).
|