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 | TINYINT | UNSIGNED | NO | |||
class | TINYINT | UNSIGNED | NO | |||
basehp0 | SMALLINT | UNSIGNED | NO | |||
basehp1 | SMALLINT | UNSIGNED | NO | |||
basehp2 | SMALLINT | UNSIGNED | NO | |||
basemana | SMALLINT | UNSIGNED | NO | |||
basearmor | SMALLINT | UNSIGNED | NO | |||
attackpower | SMALLINT | UNSIGNED | NO | |||
rangedattackpower | SMALLINT | UNSIGNED | NO | |||
damage_base | FLOAT | NO | ||||
damage_exp1 | FLOAT | NO | ||||
damage_exp2 | FLOAT | NO | ||||
comment | text | YES | NULL |
Field Descriptions
level
Level of the creature.
class
Class of the creature. This is a reference to the unit_class field in the 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 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 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 to determine the creature's final health.
basemana
Base mana for the creature. This value is multiplied by 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.
rangedattackpower
Base ranged attack power for the creature.
damage_base
Modifier used to calculate the damage output of a creature. This field is used if a creature's exp is set to 0. See DamageModifier for more information.
damage_exp1
Modifier used to calculate the damage output of a creature. This field is used if a creature's exp is set to 1. See DamageModifier for more information.
damage_exp2
Modifier used to calculate the damage output of a creature. This field is used if a creature's exp is set to 2. See DamageModifier for more information.
comment
A comment describing the purpose of the record (entry).