Spell learn spell
Материал из YTDB DataBase
NeatElves (Обсуждение | вклад) |
NeatElves (Обсуждение | вклад) (→entry) |
||
Строка 51: | Строка 51: | ||
<big>'''Описание полей'''</big> | <big>'''Описание полей'''</big> | ||
====entry==== | ====entry==== | ||
- | + | Идентификатор заклинания, которое игрок может выучить у тренера или командой (.learn). | |
+ | |||
====SpellID==== | ====SpellID==== | ||
The entry of the spell that will be automatically learned by the player when the player learns the spell specified in [[#entry|entry]]. | The entry of the spell that will be automatically learned by the player when the player learns the spell specified in [[#entry|entry]]. |
Версия 10:14, 4 апреля 2013
|
К описанию таблиц базы данных mangos.
Таблица `spell_learn_spell`
This table holds information on spells that should be learned at the same time a player learns another spell. For example the few spells that are automatically learned when a player first learns a new profession. All fields in this table use spell IDs from Spell.dbc
NOTE: Spells with spell effects SPELL_EFFECT_LEARN_SPELL should NOT be included in this table.
Структура
Field | Type | Attributes | Null | Key | Default | Comments |
entry | smallint(5) | unsigned | NO | PRI | 0 | |
SpellID | smallint(5) | unsigned | NO | PRI | 0 | |
Active | tinyint(3) | unsigned | NO | 1 |
Описание полей
entry
Идентификатор заклинания, которое игрок может выучить у тренера или командой (.learn).
SpellID
The entry of the spell that will be automatically learned by the player when the player learns the spell specified in entry.
Active
Controls if the spell appears in the players spell book upon learning.
0 - The spell does not appear in the spell book.
1 - The spell does appear in the spell book.