用户工具

站点工具


数据库:world数据库:battleground_template

battleground_template 表


<-返回:World 数据库

Contains information about the different battlegrounds, like how many players are needed to start, how many can be inside the same one, and the locations where each side starts.

表结构

FieldTypeAttributesKeyNullDefaultExtraComment
IDMEDIUMINTUNSIGNEDPRINO0
MinPlayersPerTeamSMALLINTUNSIGNED NO0
MaxPlayersPerTeamSMALLINTUNSIGNED NO0
MinLvlTINYINTUNSIGNED NO0
MaxLvlTINYINTUNSIGNED NO0
AllianceStartLocMEDIUMINTUNSIGNED NO
AllianceStartOFLOATSIGNED NO
HordeStartLocMEDIUMINTUNSIGNED NO
HordeStartOFLOATSIGNED NO
StartMaxDistFLOATSIGNED NO0
WeightTINYINTUNSIGNED NO1
ScriptNamechar(64) NO
Commentchar(38) NO

字段说明


id

The battleground ID.

IDType
1Alterac Valley
2Warsong Gulch
3Arathi Basin
4Nagrand Arena
5Blade's Edge Arena
6All Arena
7Eye of the Storm
8Ruins of Lordaeron
9Strand of the Ancients
10Dalaran Sewers
11The Ring of Valor
30Isle of Conquest
32Random battleground

MinPlayersPerTeam

Controls the minimum number of players that need to join the battleground on each faction side for the battleground to start. For the battleground to start, all characters (between min and max player values) must be in the same tier. Tiers are set up in ranges of 10 levels except for level 80. So the first tier is 10-19, the next are 20-29, 30-39, 40-49, 50-59, 60-69, 70-79 and finally 80. If characters of different tiers all join the queue, they will join their respective tier's queue and wait for more players of their tier to join the queue. Characters in different tiers can never join the same battleground.

MaxPlayersPerTeam

Controls how many players from each team can join the battleground.

NOTE2: If left to be 0, trinity will use the default DBC value.

MinLvl

The minimum level that players need to be in order to join the battleground.

NOTE: If left to be 0, trinity will use the default DBC value.

MaxLvl

The maximum level that players can be to enter the battleground.

NOTE: If left to be 0, trinity will use the default DBC value.

AllianceStartLoc

The location where the alliance players get teleported to when the battleground first starts. See WorldSafeLocs.dbc

AllianceStartO

The orientation of the alliance players upon teleport into the battleground. North is 0, south is Pi (3.14159).

HordeStartLoc

The location where the horde players get teleported to when the battleground first starts. See WorldSafeLocs.dbc

HordeStartO

The orientation of the horde players upon teleport into the battleground. North is 0, south is Pi (3.14159).

Weight

Determines what battleground(s) will be more frequently chosen when using Random Battleground. For example: If you want AV to be less often chosen, give 2 and for all other give 3.

Example

IDMinPlayersPerTeamMinPlayersPerTeamMinLvlMaxLvlAllianceStartLocAllianceStartOHordeStartLocHordeStartOStartMaxDistWeightScriptNameComment
1204051806113.163126100.7155041001 Alterac Valley (battleground)
251010807693.141597700.151581751 Warsong Gulch (battleground)
381520808903.915718890.813671751 Arathi Basin (battleground)
405108092909363.1415901 Nagrand Arena / Ring of Trials (arena)
505108093909403.1415901 Blades's Edge Arena (arena)
数据库/world数据库/battleground_template.txt · 最后更改: 2023/09/24 14:16 由 admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki