mirror of
https://github.com/mangosfour/server.git
synced 2025-12-17 16:37:00 +00:00
[8397] Remove no longer needed ranks of spell 7386.
Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
ddf54081d0
commit
9fdfd9f487
8 changed files with 19972 additions and 19968 deletions
|
|
@ -21,7 +21,7 @@
|
|||
|
||||
DROP TABLE IF EXISTS `character_db_version`;
|
||||
CREATE TABLE `character_db_version` (
|
||||
`required_8339_02_characters_character_battleground_data` bit(1) default NULL
|
||||
`required_8397_03_characters_character_spell` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Last applied sql update to DB';
|
||||
|
||||
--
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
|
|||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`cache_id` int(10) default '0',
|
||||
`required_8394_01_mangos_spell_proc_event` bit(1) default NULL
|
||||
`required_8397_02_mangos_spell_threat` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -15382,14 +15382,6 @@ INSERT INTO spell_chain VALUES
|
|||
(30356,25258,23922,6,0),
|
||||
(47487,30356,23922,7,0),
|
||||
(47488,47487,23922,8,0),
|
||||
/*SunderArmor*/
|
||||
(7386,0,7386,1,0),
|
||||
(7405,7386,7386,2,0),
|
||||
(8380,7405,7386,3,0),
|
||||
(11596,8380,7386,4,0),
|
||||
(11597,11596,7386,5,0),
|
||||
(25225,11597,7386,6,0),
|
||||
(47467,25225,7386,7,0),
|
||||
/*------------------
|
||||
-- (267) Protection (Paladin)
|
||||
------------------*/
|
||||
|
|
@ -18104,11 +18096,9 @@ INSERT INTO `spell_threat` VALUES
|
|||
(7373,141),
|
||||
(7379,235),
|
||||
(7386,100),
|
||||
(7405,140),
|
||||
(8198,40),
|
||||
(8204,64),
|
||||
(8205,96),
|
||||
(8380,180),
|
||||
(8972,118),
|
||||
(9745,148),
|
||||
(9880,178),
|
||||
|
|
@ -18120,8 +18110,6 @@ INSERT INTO `spell_threat` VALUES
|
|||
(11567,145),
|
||||
(11580,143),
|
||||
(11581,180),
|
||||
(11596,220),
|
||||
(11597,261),
|
||||
(11600,275),
|
||||
(11601,315),
|
||||
(11775,395),
|
||||
|
|
@ -18142,7 +18130,6 @@ INSERT INTO `spell_threat` VALUES
|
|||
(23925,250),
|
||||
(24394,580),
|
||||
(24583,5),
|
||||
(25225,300),
|
||||
(25231,130),
|
||||
(25258,286),
|
||||
(25264,215),
|
||||
|
|
|
|||
3
sql/updates/8397_01_mangos_spell_chain.sql
Normal file
3
sql/updates/8397_01_mangos_spell_chain.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8394_01_mangos_spell_proc_event required_8397_01_mangos_spell_chain bit;
|
||||
|
||||
DELETE FROM spell_chain WHERE first_spell=7386;
|
||||
3
sql/updates/8397_02_mangos_spell_threat.sql
Normal file
3
sql/updates/8397_02_mangos_spell_threat.sql
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8397_01_mangos_spell_chain required_8397_02_mangos_spell_threat bit;
|
||||
|
||||
DELETE FROM spell_threat WHERE entry IN (7405,8380,11596,11597,25225);
|
||||
5
sql/updates/8397_03_characters_character_spell.sql
Normal file
5
sql/updates/8397_03_characters_character_spell.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE character_db_version CHANGE COLUMN required_8339_02_characters_character_battleground_data required_8397_03_characters_character_spell bit;
|
||||
|
||||
UPDATE IGNORE character_spell SET spell=7386 WHERE spell IN (7405,8380,11596,11597,25225,47467);
|
||||
UPDATE character_spell SET active=1 WHERE spell=7386;
|
||||
DELETE FROM character_spell WHERE spell IN (7405,8380,11596,11597,25225,47467);
|
||||
|
|
@ -86,6 +86,9 @@ pkgdata_DATA = \
|
|||
8392_01_mangos_spell_proc_event.sql \
|
||||
8392_02_mangos_spell_chain.sql \
|
||||
8394_01_mangos_spell_proc_event.sql \
|
||||
8397_01_mangos_spell_chain.sql \
|
||||
8397_02_mangos_spell_threat.sql \
|
||||
8397_03_characters_character_spell.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -152,4 +155,7 @@ EXTRA_DIST = \
|
|||
8392_01_mangos_spell_proc_event.sql \
|
||||
8392_02_mangos_spell_chain.sql \
|
||||
8394_01_mangos_spell_proc_event.sql \
|
||||
8397_01_mangos_spell_chain.sql \
|
||||
8397_02_mangos_spell_threat.sql \
|
||||
8397_03_characters_character_spell.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8396"
|
||||
#define REVISION_NR "8397"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue