mirror of
https://github.com/mangosfour/server.git
synced 2025-12-18 01:37:01 +00:00
[9367] Fixes for [9366] for restore server startup and other.
* Add expected sql update order guards to sql updates
* Update size of spell id field in spell_bonus_data.
Note: You need apply new sql updates versions or just re-aplly
one more time new sql update version if apply already old.
This commit is contained in:
parent
4c18b32279
commit
0b6bc42c3f
4 changed files with 11 additions and 3 deletions
|
|
@ -14100,7 +14100,7 @@ UNLOCK TABLES;
|
|||
|
||||
DROP TABLE IF EXISTS `spell_bonus_data`;
|
||||
CREATE TABLE `spell_bonus_data` (
|
||||
`entry` smallint(5) unsigned NOT NULL,
|
||||
`spell` mediumint(8) unsigned NOT NULL,
|
||||
`direct_bonus` float NOT NULL default '0',
|
||||
`dot_bonus` float NOT NULL default '0',
|
||||
`ap_bonus` float NOT NULL default '0',
|
||||
|
|
@ -18653,7 +18653,7 @@ INSERT INTO `spell_proc_event` VALUES
|
|||
(64976, 0x00000000, 4, 0x00000001, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(65661, 0x00000000, 15, 0x00400011, 0x00020004, 0x00000000, 0x00000010, 0x00000001, 0.000000, 100.000000,0),
|
||||
(64127, 0x00000000, 6, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(67353, 0x00000000, 7, 0x00008000, 0x00100500, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
|
||||
(67667, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
|
||||
(67672, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 50),
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9331_01_mangos_quest_template required_9366_01_mangos_spell_bonus_data bit;
|
||||
|
||||
ALTER TABLE spell_bonus_data
|
||||
CHANGE COLUMN entry entry mediumint(8) unsigned NOT NULL;
|
||||
|
||||
|
||||
DELETE FROM spell_bonus_data WHERE entry = 71824;
|
||||
INSERT INTO spell_bonus_data VALUES
|
||||
(71824,0,0,0,'Item - Shaman T9 Elemental 4P Bonus');
|
||||
|
|
@ -1,3 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_9366_01_mangos_spell_bonus_data required_9366_02_mangos_spell_proc_event bit;
|
||||
|
||||
DELETE FROM `spell_proc_event` WHERE `entry` = 67228;
|
||||
INSERT INTO `spell_proc_event` VALUES
|
||||
(67228, 0x00000004, 11, 0x00000000, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "9366"
|
||||
#define REVISION_NR "9367"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue