Skip to content

Commit

Permalink
[8931] Fixed typo om spell_bonus_data for spell 172
Browse files Browse the repository at this point in the history
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
  • Loading branch information
Syn authored and VladimirMangos committed Dec 6, 2009
1 parent 81b4744 commit 1713d50
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions sql/mangos.sql
Expand Up @@ -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_8930_01_mangos_spell_proc_event` bit(1) default NULL
`required_8931_01_mangos_spell_bonus_data` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';

--
Expand Down Expand Up @@ -14148,7 +14148,7 @@ INSERT INTO `spell_bonus_data` VALUES
(3606, 0.1667, 0, 0, 'Shaman - Searing Totem Attack'),
/* Warlock */
(17962, 0, 0, 0, 'Warlock - Conflagrate'),
(172, 0, 0.3, 0, 'Warlock - Corruption'),
(172, 0, 0.2, 0, 'Warlock - Corruption'),
(980, 0, 0.1, 0, 'Warlock - Curse of Agony'),
(603, 0, 2, 0, 'Warlock - Curse of Doom'),
(18220, 0.96, 0, 0, 'Warlock - Dark Pact'),
Expand Down
5 changes: 5 additions & 0 deletions sql/updates/8931_01_mangos_spell_bonus_data.sql
@@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_8930_01_mangos_spell_proc_event required_8931_01_mangos_spell_bonus_data bit;

DELETE FROM spell_bonus_data WHERE entry = 172;
INSERT INTO spell_bonus_data (entry, direct_bonus, dot_bonus, ap_bonus, comments) VALUES
(172, 0, 0.2, 0, 'Warlock - Corruption');
2 changes: 2 additions & 0 deletions sql/updates/Makefile.am
Expand Up @@ -192,6 +192,7 @@ pkgdata_DATA = \
8923_01_mangos_gossip.sql \
8929_01_mangos_gossip_scripts.sql \
8930_01_mangos_spell_proc_event.sql \
8931_01_mangos_spell_bonus_data.sql \
README

## Additional files to include when running 'make dist'
Expand Down Expand Up @@ -364,4 +365,5 @@ EXTRA_DIST = \
8923_01_mangos_gossip.sql \
8929_01_mangos_gossip_scripts.sql \
8930_01_mangos_spell_proc_event.sql \
8931_01_mangos_spell_bonus_data.sql \
README
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "8930"
#define REVISION_NR "8931"
#endif // __REVISION_NR_H__
2 changes: 1 addition & 1 deletion src/shared/revision_sql.h
@@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_8874_01_characters_character_skills"
#define REVISION_DB_MANGOS "required_8930_01_mangos_spell_proc_event"
#define REVISION_DB_MANGOS "required_8931_01_mangos_spell_bonus_data"
#define REVISION_DB_REALMD "required_8728_01_realmd_account"
#endif // __REVISION_SQL_H__

0 comments on commit 1713d50

Please sign in to comment.