Spell area

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

(Различия между версиями)
Перейти к: навигация, поиск
(spell)
(area)
Строка 88: Строка 88:
====area====
====area====
-
Reference to [[AreaTable.dbc]]. Player must be in this area.
+
Зависимость от [[AreaTable.dbc]]. Игрок должен находится в этой области.
====quest_start====
====quest_start====

Версия 13:03, 5 февраля 2010

Содержание

Back to world database list of tables.


The `spell_area` table

Эта таблица содержит информацию о том, какие заклинания применяются к НПС / игрокам в некоторых районах(area).

Structure

Field Type Null Key Default Extra
spell mediumint(8) unsigned NO PRI 0
area mediumint(8) unsigned NO PRI 0
quest_start mediumint(8) unsigned NO PRI 0
quest_start_active tinyint(1) unsigned NO PRI 0
quest_end mediumint(8) unsigned NO 0
aura_spell mediumint(8) NO PRI 0
racemask mediumint(8) unsigned NO PRI 0
gender tinyint(1) unsigned NO PRI 2
autocast tinyint(1) unsigned NO 0


Description of the fields

spell

Номер заклинания, которое будет применено. Зависит от Spell.dbc.

area

Зависимость от AreaTable.dbc. Игрок должен находится в этой области.

quest_start

Reference to quest_template. This quest must be available or active and must not be completed. Exact behaviour depends on quest_start_active.

quest_start_active

Boolean value. If set to 0 the quest quest_start must be available and not activ. If set to 1 the quest quest_start must be available or active in players' log.

quest_end

Reference to quest_template. This quest must not be completed.

aura_spell

Reference to Spell.dbc. Player must have this aura to activate the spell. Negativ values stand for "not has aura" requirement.

racemask

Only these races are target of the spell.

Race

These values are 2^ID taken from ChrRaces.dbc

ЗначениеНазвание
1Человек
2Орк
4Дворф
8Ночной эльф
16Нежить
32Таурен
64Гном
128Тролль
256Гоблин Файл:Icon-cata.gif
512Кровавый эльф Файл:Icon-bc.gif
1024Дреней Файл:Icon-bc.gif
2097152Ворген Файл:Icon-cata.gif
Группы
0, 1791 (2099199 Файл:Icon-cata.gif) Все расы
690 (946 Файл:Icon-cata.gif) Только орда
1101 (2098253 Файл:Icon-cata.gif) Только альянс

Examples

0,1791 = All Races

(2 + 16 + 32 + 128 + 512) = 690 = only Horde

(1 + 4 + 8 + 64 + 1024) = 1101 = only Alliance

gender

Only this gender is target of the spell.

  • 0: Male
  • 1: Female
  • 2: Both

autocast

Boolean value.

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