mirror of
https://github.com/mangosfour/server.git
synced 2025-12-14 07:37:01 +00:00
[8504] Update old spell version to spell 21084 in some playercreate_* cases.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
b8843ec4d6
commit
ac56f62684
6 changed files with 21 additions and 7 deletions
|
|
@ -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_8499_01_mangos_spell_elixir` bit(1) default NULL
|
||||
`required_8504_02_mangos_playercreateinfo_action` bit(1) default NULL
|
||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
|
||||
|
||||
--
|
||||
|
|
@ -9746,7 +9746,7 @@ INSERT INTO `playercreateinfo_action` VALUES
|
|||
(1,1,96,6603,0),
|
||||
(1,1,108,6603,0),
|
||||
(1,2,0,6603,0),
|
||||
(1,2,1,20154,0),
|
||||
(1,2,1,21084,0),
|
||||
(1,2,2,635,0),
|
||||
(1,2,9,59752,0),
|
||||
(1,2,10,159,128),
|
||||
|
|
@ -9833,7 +9833,7 @@ INSERT INTO `playercreateinfo_action` VALUES
|
|||
(3,1,96,6603,0),
|
||||
(3,1,108,6603,0),
|
||||
(3,2,0,6603,0),
|
||||
(3,2,1,20154,0),
|
||||
(3,2,1,21084,0),
|
||||
(3,2,2,635,0),
|
||||
(3,2,3,20594,0),
|
||||
(3,2,4,2481,0),
|
||||
|
|
@ -10295,7 +10295,7 @@ INSERT INTO `playercreateinfo_spell` VALUES
|
|||
(1,2,9078,'Cloth'),
|
||||
(1,2,9116,'Shield'),
|
||||
(1,2,9125,'Generic'),
|
||||
(1,2,20154,'Seal of Righteousness'),
|
||||
(1,2,21084,'Seal of Righteousness'),
|
||||
(1,2,20597,'Sword Specialization'),
|
||||
(1,2,20598,'The Human Spirit'),
|
||||
(1,2,20599,'Diplomacy'),
|
||||
|
|
@ -10882,7 +10882,7 @@ INSERT INTO `playercreateinfo_spell` VALUES
|
|||
(3,2,9078,'Cloth'),
|
||||
(3,2,9116,'Shield'),
|
||||
(3,2,9125,'Generic'),
|
||||
(3,2,20154,'Seal of Righteousness'),
|
||||
(3,2,21084,'Seal of Righteousness'),
|
||||
(3,2,20594,'Stoneform'),
|
||||
(3,2,20595,'Gun Specialization'),
|
||||
(3,2,20596,'Frost Resistance'),
|
||||
|
|
|
|||
5
sql/updates/8504_01_mangos_playercreateinfo_spell.sql
Normal file
5
sql/updates/8504_01_mangos_playercreateinfo_spell.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8499_01_mangos_spell_elixir required_8504_01_mangos_playercreateinfo_spell bit;
|
||||
|
||||
UPDATE `playercreateinfo_spell`
|
||||
SET `spell` = 21084
|
||||
WHERE `spell` = 20154;
|
||||
5
sql/updates/8504_02_mangos_playercreateinfo_action.sql
Normal file
5
sql/updates/8504_02_mangos_playercreateinfo_action.sql
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
ALTER TABLE db_version CHANGE COLUMN required_8504_01_mangos_playercreateinfo_spell required_8504_02_mangos_playercreateinfo_action bit;
|
||||
|
||||
UPDATE `playercreateinfo_action`
|
||||
SET `action` = 21084
|
||||
WHERE `action` = 20154 AND `type` = 0;
|
||||
|
|
@ -107,6 +107,8 @@ pkgdata_DATA = \
|
|||
8488_02_mangos_spell_bonus_data.sql \
|
||||
8498_01_mangos_spell_proc_event.sql \
|
||||
8499_01_mangos_spell_elixir.sql \
|
||||
8504_01_mangos_playercreateinfo_spell.sql \
|
||||
8504_02_mangos_playercreateinfo_action.sql \
|
||||
README
|
||||
|
||||
## Additional files to include when running 'make dist'
|
||||
|
|
@ -194,4 +196,6 @@ EXTRA_DIST = \
|
|||
8488_02_mangos_spell_bonus_data.sql \
|
||||
8498_01_mangos_spell_proc_event.sql \
|
||||
8499_01_mangos_spell_elixir.sql \
|
||||
8504_01_mangos_playercreateinfo_spell.sql \
|
||||
8504_02_mangos_playercreateinfo_action.sql \
|
||||
README
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#ifndef __REVISION_NR_H__
|
||||
#define __REVISION_NR_H__
|
||||
#define REVISION_NR "8503"
|
||||
#define REVISION_NR "8504"
|
||||
#endif // __REVISION_NR_H__
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
#ifndef __REVISION_SQL_H__
|
||||
#define __REVISION_SQL_H__
|
||||
#define REVISION_DB_CHARACTERS "required_8469_01_characters_character_spell"
|
||||
#define REVISION_DB_MANGOS "required_8499_01_mangos_spell_elixir"
|
||||
#define REVISION_DB_MANGOS "required_8504_02_mangos_playercreateinfo_action"
|
||||
#define REVISION_DB_REALMD "required_8332_01_realmd_realmcharacters"
|
||||
#endif // __REVISION_SQL_H__
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue