Skip to content

creature_classlevelstats

This table contains the base values for creatures' health, mana and armor.

Structure ​

FieldTypeAttributesKeyNullDefaultExtraComment
leveltinyintunsignedPRINO
classtinyintunsignedPRINO
basehp0intunsignedNO1
basehp1intunsignedNO1
basehp2intunsignedNO1
basemanaintunsignedNO1
basearmorintunsignedNO1
attackpowersmallintunsignedNO0
rangedattackpowersmallintunsignedNO0
damage_basefloatNO0
damage_exp1floatNO0
damage_exp2floatNO0
commentmediumtextYESNULL

 

Description of fields ​

level ​

Level of the creature.
 

class ​

Class of the creature (referenced to creature_template.unit_class)
 

basehp0 ​

Base health for the creature if creature_template.exp value is set to 0 (this value is multiplied by creature_template.HealthModifier 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.HealthModifier 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.HealthModifier to determine the creature's final health).
 

basemana ​

Base mana for the creature (this value is multiplied by creature_template.ManaModifier to determine the creature's final mana.
 

basearmor ​

Base armor for the creature (this value is multiplied by creature_template.ArmorModifier to determine the creature's final armor.
 

attackpower ​

adds to melee base damage by: (attackpower / 14) * (BaseAttackTime / 1000)
 

rangedattackpower ​

adds to ranged base damage by: (rangedattackpower / 14) * (RangeAttackTime / 1000)
 

damage_base ​

Base damage for the creature if creature_template.exp value is set to 0 (this value is multiplied by creature_template.DamageModifier to determine the creature's final base damage).
 

damage_exp1 ​

Base damage for the creature if creature_template.exp value is set to 1 (this value is multiplied by creature_template.DamageModifier to determine the creature's final base damage).
 

damage_exp2 ​

Base damage for the creature if creature_template.exp value is set to 2 (this value is multiplied by creature_template.DamageModifier to determine the creature's final base damage).
 

comment ​

This field is for any comment you want to make about the requirements. It is arbitrary text.