Instance template

Материал из YTDB DataBase

(Различия между версиями)
Перейти к: навигация, поиск
Строка 41: Строка 41:
|-
|-
|[[#levelMax|levelMax]]
|[[#levelMax|levelMax]]
-
|int(10) unsigned
 
-
|NO
 
-
|
 
-
|0
 
-
|
 
-
|-
 
-
|[[#maxPlayers|maxPlayers]]
 
-
|int(10) unsigned
 
-
|NO
 
-
|
 
-
|0
 
-
|
 
-
|-
 
-
|[[#reset_delay|reset_delay]]
 
|int(10) unsigned
|int(10) unsigned
|NO
|NO
Строка 79: Строка 65:
====levelMax====
====levelMax====
The maximum level required to be able to be summoned by the meeting stone for this instance.
The maximum level required to be able to be summoned by the meeting stone for this instance.
-
====maxPlayers====
 
-
The maximum number of players that can enter as a group/raid in the instance.
 
-
====reset_delay====
 
-
The number of days between each global reset for the map. If zero, the value is taken from DBC files. The resulting value is multiplied by the Rate.InstanceResetTime config.
 
-
 
====script====
====script====
The name of the instance script that the instance will use and apply (if any).
The name of the instance script that the instance will use and apply (if any).

Версия 09:32, 1 мая 2010

Содержание

Back to world database list of tables.


The `instance_template` table

This table has all the templates for every instance. When a group enters an instance, a new copy of that instance is made from the values in these fields.


Structure

Field Type Null Key Default Extra
map int(10) unsigned NO PRI
parent int(11) unsigned NO
levelMin int(10) unsigned NO 0
levelMax int(10) unsigned NO 0
script varchar(255) NO


Description of the fields

map

The map ID of the instance. See Map.dbc

parent

If the instance is a subinstance of another instance, this field has the parent instance's map ID.

levelMin

The minimum level required to enter the instance.

levelMax

The maximum level required to be able to be summoned by the meeting stone for this instance.

script

The name of the instance script that the instance will use and apply (if any).

Личные инструменты