mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[8505] Set character spell 16857 active.
Applies to some characters upgraded from 2.x. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
ac56f62684
commit
744c6eaac0
5 changed files with 8 additions and 3 deletions
|
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
DROP TABLE IF EXISTS `character_db_version`;
|
DROP TABLE IF EXISTS `character_db_version`;
|
||||||
CREATE TABLE `character_db_version` (
|
CREATE TABLE `character_db_version` (
|
||||||
`required_8469_01_characters_character_spell` bit(1) default NULL
|
`required_8505_01_characters_character_spell` bit(1) default NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
3
sql/updates/8505_01_characters_character_spell.sql
Normal file
3
sql/updates/8505_01_characters_character_spell.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE character_db_version CHANGE COLUMN required_8469_01_characters_character_spell required_8505_01_characters_character_spell bit;
|
||||||
|
|
||||||
|
UPDATE character_spell SET active=1 WHERE spell=16857;
|
||||||
|
|
@ -109,6 +109,7 @@ pkgdata_DATA = \
|
||||||
8499_01_mangos_spell_elixir.sql \
|
8499_01_mangos_spell_elixir.sql \
|
||||||
8504_01_mangos_playercreateinfo_spell.sql \
|
8504_01_mangos_playercreateinfo_spell.sql \
|
||||||
8504_02_mangos_playercreateinfo_action.sql \
|
8504_02_mangos_playercreateinfo_action.sql \
|
||||||
|
8505_01_characters_character_spell.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -198,4 +199,5 @@ EXTRA_DIST = \
|
||||||
8499_01_mangos_spell_elixir.sql \
|
8499_01_mangos_spell_elixir.sql \
|
||||||
8504_01_mangos_playercreateinfo_spell.sql \
|
8504_01_mangos_playercreateinfo_spell.sql \
|
||||||
8504_02_mangos_playercreateinfo_action.sql \
|
8504_02_mangos_playercreateinfo_action.sql \
|
||||||
|
8505_01_characters_character_spell.sql \
|
||||||
README
|
README
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
#ifndef __REVISION_NR_H__
|
#ifndef __REVISION_NR_H__
|
||||||
#define __REVISION_NR_H__
|
#define __REVISION_NR_H__
|
||||||
#define REVISION_NR "8504"
|
#define REVISION_NR "8505"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#ifndef __REVISION_SQL_H__
|
#ifndef __REVISION_SQL_H__
|
||||||
#define __REVISION_SQL_H__
|
#define __REVISION_SQL_H__
|
||||||
#define REVISION_DB_CHARACTERS "required_8469_01_characters_character_spell"
|
#define REVISION_DB_CHARACTERS "required_8505_01_characters_character_spell"
|
||||||
#define REVISION_DB_MANGOS "required_8504_02_mangos_playercreateinfo_action"
|
#define REVISION_DB_MANGOS "required_8504_02_mangos_playercreateinfo_action"
|
||||||
#define REVISION_DB_REALMD "required_8332_01_realmd_realmcharacters"
|
#define REVISION_DB_REALMD "required_8332_01_realmd_realmcharacters"
|
||||||
#endif // __REVISION_SQL_H__
|
#endif // __REVISION_SQL_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue