Spell learn spell
Материал из YTDB DataBase
NeatElves (Обсуждение | вклад) (→entry) |
NeatElves (Обсуждение | вклад) (→SpellID) |
||
Строка 54: | Строка 54: | ||
====SpellID==== | ====SpellID==== | ||
- | + | Идентификатор заклинания, которое будет выучено автоматически, как только игрок выучит заклинание, указанное в [[#entry|entry]]. | |
+ | |||
====Active==== | ====Active==== | ||
Controls if the spell appears in the players spell book upon learning. | Controls if the spell appears in the players spell book upon learning. | ||
<br />0 - The spell does not appear in the spell book. | <br />0 - The spell does not appear in the spell book. | ||
<br />1 - The spell does appear in the spell book. | <br />1 - The spell does appear in the spell book. |
Версия 10:16, 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
Идентификатор заклинания, которое будет выучено автоматически, как только игрок выучит заклинание, указанное в 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.