Skip to content

Commit

Permalink
Frop unexpected custom rank data for 26016, 26021.
Browse files Browse the repository at this point in the history
This make spell rank use first rank data.

(based on commit d604ca1)
  • Loading branch information
VladimirMangos committed Jun 8, 2010
1 parent 495c25c commit bb1184b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 1 addition & 3 deletions sql/mangos.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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_126_10044_02_mangos_spell_proc_event` bit(1) default NULL
`required_127_10045_01_mangos_spell_proc_event` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';

--
Expand Down Expand Up @@ -14923,8 +14923,6 @@ INSERT INTO `spell_proc_event` VALUES
(25050, 0x04, 0, 0x0000000000000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(25669, 0x00, 0, 0x0000000000000000, 0x00000000, 0x00000000, 1.000000, 0.000000, 0),
(25899, 0x00, 0, 0x0000000000000000, 0x00000000, 0x00000040, 0.000000, 0.000000, 0),
(26016, 0x00, 0, 0x0000000000000000, 0x00000000, 0x00000000, 2.000000, 0.000000, 0),
(26021, 0x00, 0, 0x0000000000000000, 0x00000000, 0x00000000, 2.000000, 0.000000, 0),
(26107, 0x00, 7, 0x0000008000800000, 0x00000000, 0x00000074, 0.000000, 0.000000, 0),
(26119, 0x00, 10, 0x0000000090100003, 0x00000000, 0x00010000, 0.000000, 0.000000, 0),
(26128, 0x00, 0, 0x0000000000000000, 0x00000000, 0x00000008, 0.000000, 0.000000, 0),
Expand Down
3 changes: 3 additions & 0 deletions sql/updates/127_10045_01_mangos_spell_proc_event.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ALTER TABLE db_version CHANGE COLUMN required_126_10044_02_mangos_spell_proc_event required_127_10045_01_mangos_spell_proc_event bit;

DELETE FROM `spell_proc_event` WHERE `entry` IN (26016, 26021);
2 changes: 2 additions & 0 deletions sql/updates/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ pkgdata_DATA = \
125_xxxxx_01_mangos_spell_affect.sql \
126_10044_01_mangos_spell_chain.sql \
126_10044_02_mangos_spell_proc_event.sql \
127_10045_01_mangos_spell_proc_event.sql \
README

## Additional files to include when running 'make dist'
Expand Down Expand Up @@ -355,4 +356,5 @@ EXTRA_DIST = \
125_xxxxx_01_mangos_spell_affect.sql \
126_10044_01_mangos_spell_chain.sql \
126_10044_02_mangos_spell_proc_event.sql \
127_10045_01_mangos_spell_proc_event.sql \
README
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_114_9849_01_characters_saved_variables"
#define REVISION_DB_MANGOS "required_126_10044_02_mangos_spell_proc_event"
#define REVISION_DB_MANGOS "required_127_10045_01_mangos_spell_proc_event"
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
#endif // __REVISION_SQL_H__

2 comments on commit bb1184b

@ExC0tiC
Copy link

@ExC0tiC ExC0tiC commented on bb1184b Jun 8, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

*Drop ?)

@VladimirMangos
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

^^ i like do typos...

Please sign in to comment.