[10906] Fix Glyph 45806 to trigger from 49184 and ranks instead of unrelated spells.

Also fix attack power coefficient for 49184 and ranks.
This commit is contained in:
Lynx3d 2010-12-22 01:06:19 +01:00
parent 4a7638c80e
commit edfddc06fa
6 changed files with 20 additions and 5 deletions

View file

@ -24,7 +24,7 @@ CREATE TABLE `db_version` (
`version` varchar(120) default NULL, `version` varchar(120) default NULL,
`creature_ai_version` varchar(120) default NULL, `creature_ai_version` varchar(120) default NULL,
`cache_id` int(10) default '0', `cache_id` int(10) default '0',
`required_10883_01_mangos_spell_proc_event` bit(1) default NULL `required_10906_02_mangos_spell_bonus_data` bit(1) default NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes';
-- --
@ -14402,7 +14402,7 @@ INSERT INTO `spell_bonus_data` VALUES
(47633, 0, 0, 0.15, 0, 'Death Knight - Death Coil Heal'), (47633, 0, 0, 0.15, 0, 'Death Knight - Death Coil Heal'),
(48743, 0, 0, 0, 0, 'Death Knight - Death Pact'), (48743, 0, 0, 0, 0, 'Death Knight - Death Pact'),
(55095, 0, 0, 0, 0.06325,'Death Knight - Frost Fever'), (55095, 0, 0, 0, 0.06325,'Death Knight - Frost Fever'),
(49184, 0, 0, 0.1, 0, 'Death Knight - Howling Blast'), (49184, 0, 0, 0.2, 0, 'Death Knight - Howling Blast'),
(45477, 0, 0, 0.1, 0, 'Death Knight - Icy Touch'), (45477, 0, 0, 0.1, 0, 'Death Knight - Icy Touch'),
(56903, 0, 0, 0, 0, 'Death Knight - Lichflame'), (56903, 0, 0, 0, 0, 'Death Knight - Lichflame'),
(50842, 0, 0, 0.04, 0, 'Death Knight - Pestilence'), (50842, 0, 0, 0.04, 0, 'Death Knight - Pestilence'),
@ -14497,6 +14497,7 @@ INSERT INTO `spell_bonus_data` VALUES
(379, 0, 0, 0, 0, 'Shaman - Earth Shield Triggered'), (379, 0, 0, 0, 0, 'Shaman - Earth Shield Triggered'),
(8042, 0.3858, 0, 0, 0, 'Shaman - Earth Shock'), (8042, 0.3858, 0, 0, 0, 'Shaman - Earth Shock'),
(8050, 0.2142, 0.1, 0, 0, 'Shaman - Flame Shock'), (8050, 0.2142, 0.1, 0, 0, 'Shaman - Flame Shock'),
(10444, 0, 0, 0, 0, 'Shaman - Flametongue Attack'),
(8026, 0.1, 0, 0, 0, 'Shaman - Flametongue Weapon Proc'), (8026, 0.1, 0, 0, 0, 'Shaman - Flametongue Weapon Proc'),
(8056, 0.3858, 0, 0, 0, 'Shaman - Frost Shock'), (8056, 0.3858, 0, 0, 0, 'Shaman - Frost Shock'),
(8034, 0.1, 0, 0, 0, 'Shaman - Frostbrand Attack Rank 1'), (8034, 0.1, 0, 0, 0, 'Shaman - Frostbrand Attack Rank 1'),
@ -14507,7 +14508,6 @@ INSERT INTO `spell_bonus_data` VALUES
(8188, 0.1, 0, 0, 0, 'Shaman - Magma Totam Passive'), (8188, 0.1, 0, 0, 0, 'Shaman - Magma Totam Passive'),
(61295, 0.4, 0.18, 0, 0, 'Shaman - Riptide'), (61295, 0.4, 0.18, 0, 0, 'Shaman - Riptide'),
(3606, 0.1667, 0, 0, 0, 'Shaman - Searing Totem Attack'), (3606, 0.1667, 0, 0, 0, 'Shaman - Searing Totem Attack'),
(10444, 0, 0, 0, 0, 'Shaman - Flametongue Attack'),
/* Warlock */ /* Warlock */
(17962, 0, 0, 0, 0, 'Warlock - Conflagrate'), (17962, 0, 0, 0, 0, 'Warlock - Conflagrate'),
(172, 0, 0.2, 0, 0, 'Warlock - Corruption'), (172, 0, 0.2, 0, 0, 'Warlock - Corruption'),
@ -17414,6 +17414,7 @@ INSERT INTO `spell_proc_event` VALUES
(63251, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45), (63251, 0x7F, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 45),
(63280, 0x00, 11, 0x20000000, 0x20000000, 0x20000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (63280, 0x00, 11, 0x20000000, 0x20000000, 0x20000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(63320, 0x00, 5, 0x00040000, 0x00040000, 0x00040000, 0x00000000, 0x00000000, 0x00000000, 0x00008000, 0x00008000, 0x00008000, 0x00004000, 0x00000001, 0.000000, 0.000000, 0), (63320, 0x00, 5, 0x00040000, 0x00040000, 0x00040000, 0x00000000, 0x00000000, 0x00000000, 0x00008000, 0x00008000, 0x00008000, 0x00004000, 0x00000001, 0.000000, 0.000000, 0),
(63335, 0x00, 15, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),
(63373, 0x00, 11, 0x80000000, 0x80000000, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0), (63373, 0x00, 11, 0x80000000, 0x80000000, 0x80000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0x00000000, 0.000000, 0.000000, 0),
(63534, 0x00, 6, 0x00000040, 0x00000040, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0), (63534, 0x00, 6, 0x00000040, 0x00000040, 0x00000040, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00004000, 0x00000000, 0.000000, 0.000000, 0),
(64952, 0x00, 7, 0x00000000, 0x00000000, 0x00000000, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (64952, 0x00, 7, 0x00000000, 0x00000000, 0x00000000, 0x00000440, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0),

View file

@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_10883_01_mangos_spell_proc_event required_10906_01_mangos_spell_proc_event bit;
DELETE FROM spell_proc_event WHERE entry=63335;
INSERT INTO spell_proc_event VALUES
(63335, 0x00, 15, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0);

View file

@ -0,0 +1,5 @@
ALTER TABLE db_version CHANGE COLUMN required_10906_01_mangos_spell_proc_event required_10906_02_mangos_spell_bonus_data bit;
DELETE FROM spell_bonus_data WHERE entry=49184;
INSERT INTO spell_bonus_data VALUES
(49184, 0, 0, 0.2, 0, 'Death Knight - Howling Blast');

View file

@ -136,6 +136,8 @@ pkgdata_DATA = \
10867_01_mangos_npc_trainer_template.sql \ 10867_01_mangos_npc_trainer_template.sql \
10867_02_mangos_creature_template.sql \ 10867_02_mangos_creature_template.sql \
10883_01_mangos_spell_proc_event.sql \ 10883_01_mangos_spell_proc_event.sql \
10906_01_mangos_spell_proc_event.sql \
10906_02_mangos_spell_bonus_data.sql \
README README
## Additional files to include when running 'make dist' ## Additional files to include when running 'make dist'
@ -252,4 +254,6 @@ EXTRA_DIST = \
10867_01_mangos_npc_trainer_template.sql \ 10867_01_mangos_npc_trainer_template.sql \
10867_02_mangos_creature_template.sql \ 10867_02_mangos_creature_template.sql \
10883_01_mangos_spell_proc_event.sql \ 10883_01_mangos_spell_proc_event.sql \
10906_01_mangos_spell_proc_event.sql \
10906_02_mangos_spell_bonus_data.sql \
README README

View file

@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__ #ifndef __REVISION_NR_H__
#define __REVISION_NR_H__ #define __REVISION_NR_H__
#define REVISION_NR "10905" #define REVISION_NR "10906"
#endif // __REVISION_NR_H__ #endif // __REVISION_NR_H__

View file

@ -1,6 +1,6 @@
#ifndef __REVISION_SQL_H__ #ifndef __REVISION_SQL_H__
#define __REVISION_SQL_H__ #define __REVISION_SQL_H__
#define REVISION_DB_CHARACTERS "required_10862_01_characters_mail" #define REVISION_DB_CHARACTERS "required_10862_01_characters_mail"
#define REVISION_DB_MANGOS "required_10883_01_mangos_spell_proc_event" #define REVISION_DB_MANGOS "required_10906_02_mangos_spell_bonus_data"
#define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version" #define REVISION_DB_REALMD "required_10008_01_realmd_realmd_db_version"
#endif // __REVISION_SQL_H__ #endif // __REVISION_SQL_H__