mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8060] Fix 56314 and ranks.
Signed-off-by: hunuza <hunuza@gmail.com>
This commit is contained in:
parent
113a492e02
commit
7448aaa37e
9 changed files with 86 additions and 58 deletions
|
|
@ -23,7 +23,7 @@ DROP TABLE IF EXISTS `db_version`;
|
|||
CREATE TABLE `db_version` (
|
||||
`version` varchar(120) default NULL,
|
||||
`creature_ai_version` varchar(120) default NULL,
|
||||
`required_8053_01_mangos_command` bit(1) default NULL
|
||||
`required_8060_01_mangos_spell_pet_auras` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -16707,9 +16707,10 @@ UNLOCK TABLES;
|
|||
DROP TABLE IF EXISTS `spell_pet_auras`;
|
||||
CREATE TABLE `spell_pet_auras` (
|
||||
`spell` mediumint(8) unsigned NOT NULL COMMENT 'dummy spell id',
|
||||
`effectId` tinyint(3) unsigned NOT NULL default '0',
|
||||
`pet` mediumint(8) unsigned NOT NULL default '0' COMMENT 'pet id; 0 = all',
|
||||
`aura` mediumint(8) unsigned NOT NULL COMMENT 'pet aura id',
|
||||
PRIMARY KEY (`spell`,`pet`)
|
||||
PRIMARY KEY (`spell`,`effectId`,`pet`)
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|
||||
|
||||
--
|
||||
|
|
@ -16719,40 +16720,50 @@ CREATE TABLE `spell_pet_auras` (
|
|||
LOCK TABLES `spell_pet_auras` WRITE;
|
||||
/*!40000 ALTER TABLE `spell_pet_auras` DISABLE KEYS */;
|
||||
INSERT INTO `spell_pet_auras` VALUES
|
||||
(19028, 0, 25228),
|
||||
(19578, 0, 19579),
|
||||
(20895, 0, 24529),
|
||||
(28757, 0, 28758),
|
||||
(35029, 0, 35060),
|
||||
(35030, 0, 35061),
|
||||
(35691, 0, 35696),
|
||||
(35692, 0, 35696),
|
||||
(35693, 0, 35696),
|
||||
(23785, 416, 23759),
|
||||
(23822, 416, 23826),
|
||||
(23823, 416, 23827),
|
||||
(23824, 416, 23828),
|
||||
(23825, 416, 23829),
|
||||
(23785, 417, 23762),
|
||||
(23822, 417, 23837),
|
||||
(23823, 417, 23838),
|
||||
(23824, 417, 23839),
|
||||
(23825, 417, 23840),
|
||||
(23785, 1860, 23760),
|
||||
(23822, 1860, 23841),
|
||||
(23823, 1860, 23842),
|
||||
(23824, 1860, 23843),
|
||||
(23825, 1860, 23844),
|
||||
(23785, 1863, 23761),
|
||||
(23822, 1863, 23833),
|
||||
(23823, 1863, 23834),
|
||||
(23824, 1863, 23835),
|
||||
(23825, 1863, 23836),
|
||||
(23785, 17252, 35702),
|
||||
(23822, 17252, 35703),
|
||||
(23823, 17252, 35704),
|
||||
(23824, 17252, 35705),
|
||||
(23825, 17252, 35706);
|
||||
(19028, 0, 0, 25228),
|
||||
(19578, 0, 0, 19579),
|
||||
(20895, 0, 0, 24529),
|
||||
(28757, 0, 0, 28758),
|
||||
(35029, 0, 0, 35060),
|
||||
(35030, 0, 0, 35061),
|
||||
(35691, 0, 0, 35696),
|
||||
(35692, 0, 0, 35696),
|
||||
(35693, 0, 0, 35696),
|
||||
(56314, 0, 0, 57447),
|
||||
(56314, 1, 0, 57485),
|
||||
(56315, 0, 0, 57452),
|
||||
(56315, 1, 0, 57484),
|
||||
(56316, 0, 0, 57453),
|
||||
(56316, 1, 0, 57483),
|
||||
(56317, 0, 0, 57457),
|
||||
(56317, 1, 0, 57482),
|
||||
(56318, 0, 0, 57458),
|
||||
(56318, 1, 0, 57475),
|
||||
(23785, 0, 416, 23759),
|
||||
(23822, 0, 416, 23826),
|
||||
(23823, 0, 416, 23827),
|
||||
(23824, 0, 416, 23828),
|
||||
(23825, 0, 416, 23829),
|
||||
(23785, 0, 417, 23762),
|
||||
(23822, 0, 417, 23837),
|
||||
(23823, 0, 417, 23838),
|
||||
(23824, 0, 417, 23839),
|
||||
(23825, 0, 417, 23840),
|
||||
(23785, 0, 1860, 23760),
|
||||
(23822, 0, 1860, 23841),
|
||||
(23823, 0, 1860, 23842),
|
||||
(23824, 0, 1860, 23843),
|
||||
(23825, 0, 1860, 23844),
|
||||
(23785, 0, 1863, 23761),
|
||||
(23822, 0, 1863, 23833),
|
||||
(23823, 0, 1863, 23834),
|
||||
(23824, 0, 1863, 23835),
|
||||
(23825, 0, 1863, 23836),
|
||||
(23785, 0, 17252, 35702),
|
||||
(23822, 0, 17252, 35703),
|
||||
(23823, 0, 17252, 35704),
|
||||
(23824, 0, 17252, 35705),
|
||||
(23825, 0, 17252, 35706);
|
||||
|
||||
/*!40000 ALTER TABLE `spell_pet_auras` ENABLE KEYS */;
|
||||
UNLOCK TABLES;
|
||||
|
|
|
|||
17
sql/updates/8060_01_mangos_spell_pet_auras.sql
Normal file
17
sql/updates/8060_01_mangos_spell_pet_auras.sql
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8053_01_mangos_command required_8060_01_mangos_spell_pet_auras bit;
|
||||
|
||||
ALTER TABLE spell_pet_auras ADD effectId TINYINT( 3 ) UNSIGNED NOT NULL AFTER spell;
|
||||
|
||||
ALTER TABLE spell_pet_auras DROP PRIMARY KEY, ADD PRIMARY KEY(spell,effectId,pet);
|
||||
|
||||
INSERT INTO spell_pet_auras VALUES
|
||||
(56314, 0, 0, 57447),
|
||||
(56314, 1, 0, 57485),
|
||||
(56315, 0, 0, 57452),
|
||||
(56315, 1, 0, 57484),
|
||||
(56316, 0, 0, 57453),
|
||||
(56316, 1, 0, 57483),
|
||||
(56317, 0, 0, 57457),
|
||||
(56317, 1, 0, 57482),
|
||||
(56318, 0, 0, 57458),
|
||||
(56318, 1, 0, 57475);
|
||||
|
|
@ -229,6 +229,7 @@ pkgdata_DATA = \
|
|||
8050_01_mangos_spell_proc_event.sql \
|
||||
8050_02_mangos_spell_bonus_data.sql \
|
||||
8053_01_mangos_command.sql \
|
||||
8060_01_mangos_spell_pet_auras.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -438,4 +439,5 @@ EXTRA_DIST = \
|
|||
8050_01_mangos_spell_proc_event.sql \
|
||||
8050_02_mangos_spell_bonus_data.sql \
|
||||
8053_01_mangos_command.sql \
|
||||
8060_01_mangos_spell_pet_auras.sql \
|
||||
README
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue