Versiones comparadas

Clave

  • Se ha añadido esta línea.
  • Se ha eliminado esta línea.
  • El formato se ha cambiado.

Back-to:World

Panel

The `access_requirement` table

This table contains the access requirements to enter an instance.

Panel

Structure

...

Field

...

Type

...

Attributes

...

Key

...

Null

...

Default

...

Extra

...

Comment

...

mapId

...

mediumint (8)

...

unsigned

...

PRI

...

NO

...

NULL

...

difficulty

...

tinyint(3)

...

unsigned

...

PRI

...

NO

...

0

...

level_min

...

tinyint(3)

...

unsigned

...

NO

...

0

...

level_max

...

tinyint(3)

...

unsigned

...

NO

...

0

...

item

...

mediumint(8)

...

unsigned

...

NO

...

0

...

item2

...

mediumint(8)

...

unsigned

...

NO

...

0

...

quest_done_A

...

mediumint(8)

...

unsigned

...

NO

...

0

...

quest_done_H

...

mediumint(8)

...

unsigned

...

NO

...

0

...

completed_achievement

...

mediumint(8)

...

unsigned

...

NO

...

0

...

quest_failed_text

...

text

...

signed

...

YES

...

NULL

...

comment

...

text

...

signed

...

YES

...

NULL

Panel

Description of the fields

mapId

This is the access_id field from the instance_template table. It is an arbitrary number that merely links the requirements to an instance_template, or areatrigger_teleport

difficulty

5 man dungeons - 0 for normal, 1 for heroic, 2 for epic (not used yet)

10 man dungeons - 0 for normal, 2 for heroic

25 man dungeons - 1 for normal, 3 for heroic

level_min

The minimum level that you must be in order to enter the instance.

level_max

The maximum level that you can be in order to enter the instance.

item

An item that you must have in your inventory to enter the instance. This item can not be in the bank.

item2

A second item that you must have in your inventory. This item can not be in the bank.

quest_done_A

A quest that you must have completed. This field is only for alliance.

quest_done_H

A quest that you must have completed. This field is only for horde.

completed_achievement

An achievement that must be completed by the player to enter an instance.

quest_failed_text

The text that is shown if you try and enter the instance without having completed the quest.

comment

...

Moved to new wiki: https://trinitycore.info/en/database/master/world/access_requirement