Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.
Comentarios: Reformatted the page and rewrote a few bits, This page needs documentation; a lot of it was pure guesswork based on the information already present.


...

Panel
titleTable Structure

This table contains the base values for

...

creature health, mana

...

, armor, attack power, ranged attack power, damage, and experience.

Field

Type

Attributes

...

Key

Null

Default

...

Extra

...

Comment

level

tinyint(3)

unsigned

...

NO

NULL

...

...

 

class

tinyint(3)

unsigned

...

 

NO

NULL

...

 

...

basehp0

smallint(5)

unsigned

...

 

NO

1

...

 

...

 

basehp1

smallint(5)

unsigned

...

NO

1

...

...

 

basehp2

smallint(5)

unsigned

...

 

NO

1

...

 

...

basemana

smallint(5)

unsigned

...

 

NO

0

...

 

...

 

basearmor

smallint(5)

unsigned

...

NO

1

...

 

...

 

attackpowersmallint(5)unsigned

...

NO0

...

rangedattackpowersmallint(5)unsigned

...

NO0

...

...

 NO0

...

...

...

NO0

...

...

NO0

...

...

 YESNULL

...

Panel

...

titleField 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. This value is multiplied by 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?

damage_base

It is unknown what this field is used for.

damage_exp1

It is unknown what this field is used for.

damage_exp2

It is unknown what this field is used for.

comment

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