mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 19:37:01 +00:00
[7251] Replace wrong spell 52375 by 47541 in spell chain data.
Also remove new and old spell from character's spellbook. It will added anyway at login as dependent (initial known spell)
This commit is contained in:
parent
5a4358dda9
commit
3c38b4d3e6
6 changed files with 26 additions and 8 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_7207_03_characters_corpse` bit(1) default NULL
|
`required_7251_02_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';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@
|
||||||
DROP TABLE IF EXISTS `db_version`;
|
DROP TABLE IF EXISTS `db_version`;
|
||||||
CREATE TABLE `db_version` (
|
CREATE TABLE `db_version` (
|
||||||
`version` varchar(120) default NULL,
|
`version` varchar(120) default NULL,
|
||||||
`required_7249_01_mangos_spell_proc_event` bit(1) default NULL
|
`required_7251_01_mangos_spell_chain` bit(1) default NULL
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||||
|
|
||||||
--
|
--
|
||||||
|
|
@ -15934,11 +15934,11 @@ INSERT INTO spell_chain VALUES
|
||||||
(49937,49936,43265,3,0),
|
(49937,49936,43265,3,0),
|
||||||
(49938,49937,43265,4,0),
|
(49938,49937,43265,4,0),
|
||||||
/*DeathCoil*/
|
/*DeathCoil*/
|
||||||
(52375,0,52375,1,0),
|
(47541,0,47541,1,0),
|
||||||
(49892,52375,52375,2,0),
|
(49892,47541,47541,2,0),
|
||||||
(49893,49892,52375,3,0),
|
(49893,49892,47541,3,0),
|
||||||
(49894,49893,52375,4,0),
|
(49894,49893,47541,4,0),
|
||||||
(49895,49894,52375,5,0),
|
(49895,49894,47541,5,0),
|
||||||
/*DeathStrike*/
|
/*DeathStrike*/
|
||||||
(49998,0,49998,1,0),
|
(49998,0,49998,1,0),
|
||||||
(49999,49998,49998,2,0),
|
(49999,49998,49998,2,0),
|
||||||
|
|
|
||||||
11
sql/updates/7251_01_mangos_spell_chain.sql
Normal file
11
sql/updates/7251_01_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,11 @@
|
||||||
|
ALTER TABLE db_version CHANGE COLUMN required_7249_01_mangos_spell_proc_event required_7251_01_mangos_spell_chain bit;
|
||||||
|
|
||||||
|
DELETE FROM spell_chain WHERE spell_id in (52375,47541,49892,49893,49894,49895);
|
||||||
|
/*Dark Pact*/
|
||||||
|
INSERT INTO spell_chain VALUES
|
||||||
|
/*DeathCoil*/
|
||||||
|
(47541,0,47541,1,0),
|
||||||
|
(49892,47541,47541,2,0),
|
||||||
|
(49893,49892,47541,3,0),
|
||||||
|
(49894,49893,47541,4,0),
|
||||||
|
(49895,49894,47541,5,0);
|
||||||
3
sql/updates/7251_02_characters_character_spell.sql
Normal file
3
sql/updates/7251_02_characters_character_spell.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
ALTER TABLE character_db_version CHANGE COLUMN required_7207_03_characters_corpse required_7251_02_characters_character_spell bit;
|
||||||
|
|
||||||
|
DELETE FROM `character_spell` WHERE `spell` IN (52375,47541);
|
||||||
|
|
@ -170,6 +170,8 @@ pkgdata_DATA = \
|
||||||
7235_01_mangos_command.sql \
|
7235_01_mangos_command.sql \
|
||||||
7242_01_mangos_spell_bonus_data.sql \
|
7242_01_mangos_spell_bonus_data.sql \
|
||||||
7249_01_mangos_spell_proc_event.sql \
|
7249_01_mangos_spell_proc_event.sql \
|
||||||
|
7251_01_mangos_spell_chain.sql \
|
||||||
|
7251_02_characters_character_spell.sql \
|
||||||
README
|
README
|
||||||
|
|
||||||
## Additional files to include when running 'make dist'
|
## Additional files to include when running 'make dist'
|
||||||
|
|
@ -320,4 +322,6 @@ EXTRA_DIST = \
|
||||||
7235_01_mangos_command.sql \
|
7235_01_mangos_command.sql \
|
||||||
7242_01_mangos_spell_bonus_data.sql \
|
7242_01_mangos_spell_bonus_data.sql \
|
||||||
7249_01_mangos_spell_proc_event.sql \
|
7249_01_mangos_spell_proc_event.sql \
|
||||||
|
7251_01_mangos_spell_chain.sql \
|
||||||
|
7251_02_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 "7250"
|
#define REVISION_NR "7251"
|
||||||
#endif // __REVISION_NR_H__
|
#endif // __REVISION_NR_H__
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue