[7230] Add spell_chain data for 18220 and ranks.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also add spell_bonus_data
This commit is contained in:
Dietrich 2009-02-05 05:25:58 +03:00 committed by VladimirMangos
parent 6afcf1a1ef
commit 873c3baf2e
5 changed files with 44 additions and 11 deletions

View file

@ -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_7214_02_mangos_mangos_string` bit(1) default NULL `required_7230_02_mangos_spell_bonus_data` 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';
-- --
@ -14876,6 +14876,12 @@ INSERT INTO spell_chain VALUES
(27224,11708,702,7,0), (27224,11708,702,7,0),
(30909,27224,702,8,0), (30909,27224,702,8,0),
(50511,30909,702,9,0), (50511,30909,702,9,0),
/*Dark Pact*/
(18220,0, 18220,1,0),
(18937,18220,18220,2,0),
(18938,18937,18220,3,0),
(27265,18938,18220,4,0),
(59092,27265,18220,5,0),
/*Death Coil*/ /*Death Coil*/
(6789,0,6789,1,0), (6789,0,6789,1,0),
(17925,6789,6789,2,0), (17925,6789,6789,2,0),
@ -17424,7 +17430,11 @@ INSERT INTO `spell_bonus_data` VALUES
('42218', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 5'), ('42218', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 5'),
('47817', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 6'), ('47817', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 6'),
('47818', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 7'), ('47818', '0.952', '0', '0', 'Warlock - Rain of Fire Triggered Rank 7'),
('18220', '0.96', '0', '0', 'Warlock - Dark Pact'), ('18220', '0.96', '0', '0', 'Warlock - Dark Pact Rank 1'),
('18937', '0.96', '0', '0', 'Warlock - Dark Pact Rank 2'),
('18938', '0.96', '0', '0', 'Warlock - Dark Pact Rank 3'),
('27265', '0.96', '0', '0', 'Warlock - Dark Pact Rank 4'),
('59092', '0.96', '0', '0', 'Warlock - Dark Pact Rank 5'),
('6229', '0.3', '0', '0', 'Warlock - Shadow Ward'); ('6229', '0.3', '0', '0', 'Warlock - Shadow Ward');
/*!40000 ALTER TABLE `spell_bonus_data` ENABLE KEYS */; /*!40000 ALTER TABLE `spell_bonus_data` ENABLE KEYS */;
UNLOCK TABLES; UNLOCK TABLES;

View file

@ -0,0 +1,10 @@
ALTER TABLE db_version CHANGE COLUMN required_7214_02_mangos_mangos_string required_7230_01_mangos_spell_chain bit;
DELETE FROM spell_chain WHERE spell_id in (18220,18937,18938,27265,59092);
/*Dark Pact*/
INSERT INTO spell_chain VALUES
(18220,0, 18220,1,0),
(18937,18220,18220,2,0),
(18938,18937,18220,3,0),
(27265,18938,18220,4,0),
(59092,27265,18220,5,0);

View file

@ -0,0 +1,9 @@
ALTER TABLE db_version CHANGE COLUMN required_7230_01_mangos_spell_chain required_7230_02_mangos_spell_bonus_data bit;
DELETE FROM `spell_bonus_data` WHERE `entry` IN (18220,18937,18938,27265,59092);
INSERT INTO `spell_bonus_data` VALUES
('18220', '0.96', '0', '0', 'Warlock - Dark Pact Rank 1'),
('18937', '0.96', '0', '0', 'Warlock - Dark Pact Rank 2'),
('18938', '0.96', '0', '0', 'Warlock - Dark Pact Rank 3'),
('27265', '0.96', '0', '0', 'Warlock - Dark Pact Rank 4'),
('59092', '0.96', '0', '0', 'Warlock - Dark Pact Rank 5');

View file

@ -165,6 +165,8 @@ pkgdata_DATA = \
7209_01_mangos_spell_bonus_data.sql \ 7209_01_mangos_spell_bonus_data.sql \
7214_01_mangos_command.sql \ 7214_01_mangos_command.sql \
7214_02_mangos_mangos_string.sql \ 7214_02_mangos_mangos_string.sql \
7230_01_mangos_spell_chain.sql \
7230_02_mangos_spell_bonus_data.sql \
README README
## Additional files to include when running 'make dist' ## Additional files to include when running 'make dist'
@ -310,4 +312,6 @@ EXTRA_DIST = \
7209_01_mangos_spell_bonus_data.sql \ 7209_01_mangos_spell_bonus_data.sql \
7214_01_mangos_command.sql \ 7214_01_mangos_command.sql \
7214_02_mangos_mangos_string.sql \ 7214_02_mangos_mangos_string.sql \
7230_01_mangos_spell_chain.sql \
7230_02_mangos_spell_bonus_data.sql \
README README

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "7229" #define REVISION_NR "7230"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__