mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
[7324] Spells deleted from characters in 3.0.2+
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
a3bb9cdb48
commit
2046aee715
5 changed files with 32 additions and 2 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
DROP TABLE IF EXISTS `character_db_version`;
|
||||
CREATE TABLE `character_db_version` (
|
||||
`required_7314_01_characters_guild_rank` bit(1) default NULL
|
||||
`required_7324_02_characters_character_aura` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||
|
||||
--
|
||||
|
|
|
|||
13
sql/updates/7324_01_characters_character_spell.sql
Normal file
13
sql/updates/7324_01_characters_character_spell.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ALTER TABLE character_db_version CHANGE COLUMN required_7314_01_characters_guild_rank required_7324_01_characters_character_spell bit;
|
||||
|
||||
/* remove some deleted spells or ranks from characters */
|
||||
/* Mana Tap no longer Blood Elf Racial */
|
||||
DELETE FROM `character_spell` WHERE `spell` = '28734';
|
||||
/* Hamstring is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_spell` WHERE `spell` IN ('7373', '7372', '25212');
|
||||
/* Intercept is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_spell` WHERE `spell` IN ('20616', '20617', '25272', '25275');
|
||||
/* Overpower is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_spell` WHERE `spell` IN ('7887', '11584', '11585');
|
||||
/* Shield Bash is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_spell` WHERE `spell` IN ('1671', '1672', '29704');
|
||||
13
sql/updates/7324_02_characters_character_aura.sql
Normal file
13
sql/updates/7324_02_characters_character_aura.sql
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
ALTER TABLE character_db_version CHANGE COLUMN required_7324_01_characters_character_spell required_7324_02_characters_character_aura bit;
|
||||
|
||||
/* remove some deleted spells or ranks from characters auras */
|
||||
/* Mana Tap no longer Blood Elf Racial */
|
||||
DELETE FROM `character_aura` WHERE `spell` = '28734';
|
||||
/* Hamstring is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_aura` WHERE `spell` IN ('7373', '7372', '25212');
|
||||
/* Intercept is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_aura` WHERE `spell` IN ('20616', '20617', '25272', '25275');
|
||||
/* Overpower is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_aura` WHERE `spell` IN ('7887', '11584', '11585');
|
||||
/* Shield Bash is only one rank now, need to delete these zzOLDRank spells */
|
||||
DELETE FROM `character_aura` WHERE `spell` IN ('1671', '1672', '29704');
|
||||
|
|
@ -183,6 +183,8 @@ pkgdata_DATA = \
|
|||
7307_01_characters_arena_team_member.sql \
|
||||
7312_01_mangos_mangos_string.sql \
|
||||
7314_01_characters_guild_rank.sql \
|
||||
7324_01_characters_character_spell.sql \
|
||||
7324_02_characters_character_aura.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -346,4 +348,6 @@ EXTRA_DIST = \
|
|||
7307_01_characters_arena_team_member.sql \
|
||||
7312_01_mangos_mangos_string.sql \
|
||||
7314_01_characters_guild_rank.sql \
|
||||
7324_01_characters_character_spell.sql \
|
||||
7324_02_characters_character_aura.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "7323"
|
||||
#define REVISION_NR "7324"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue