From fdfd9c647a1fbf7e61559f20c9e3ec5467010a47 Mon Sep 17 00:00:00 2001 From: DiSlord Date: Thu, 29 Jan 2009 02:49:40 +0300 Subject: [PATCH] [7199] Fix some spell bonus coefficients Add some proc triger data Signed-off-by: DiSlord --- sql/mangos.sql | 28 ++++++++--- .../7199_01_mangos_spell_bonus_data.sql | 11 +++++ .../7199_02_mangos_spell_proc_event.sql | 49 +++++++++++++++++++ sql/updates/Makefile.am | 4 ++ src/shared/revision_nr.h | 2 +- 5 files changed, 86 insertions(+), 8 deletions(-) create mode 100644 sql/updates/7199_01_mangos_spell_bonus_data.sql create mode 100644 sql/updates/7199_02_mangos_spell_proc_event.sql diff --git a/sql/mangos.sql b/sql/mangos.sql index 63b7456a1..453debf44 100644 --- a/sql/mangos.sql +++ b/sql/mangos.sql @@ -22,7 +22,7 @@ DROP TABLE IF EXISTS `db_version`; CREATE TABLE `db_version` ( `version` varchar(120) default NULL, - `required_7196_02_mangos_spell_bonus_data` bit(1) default NULL + `required_7199_02_mangos_spell_proc_event` bit(1) default NULL ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Used DB version notes'; -- @@ -16436,6 +16436,7 @@ INSERT INTO `spell_proc_event` VALUES (13046, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (13047, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (13048, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), +(13163, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0), (13165, 0x00000000, 9, 0x00000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (13754, 0x00000000, 8, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (13867, 0x00000000, 8, 0x00000010, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), @@ -16879,6 +16880,8 @@ INSERT INTO `spell_proc_event` VALUES (44396, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000400, 0.000000, 0.000000, 0), (44401, 0x00000000, 3, 0x00200000, 0x00000000, 0x00000000, 0x00000000, 0x00000FFF, 0.000000, 0.000000, 0), (44404, 0x00000000, 3, 0x20000021, 0x00009000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), +(44442, 0x00000000, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 1), +(44443, 0x00000000, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 1), (44445, 0x00000000, 3, 0x00000013, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (44446, 0x00000000, 3, 0x00000013, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (44448, 0x00000000, 3, 0x00000013, 0x00001000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), @@ -17012,6 +17015,7 @@ INSERT INTO `spell_proc_event` VALUES (51470, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (51474, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 0), (51478, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 0), +(51479, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 0), (51556, 0x00000000, 11, 0x000000C0, 0x00000000, 0x00000010, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (51557, 0x00000000, 11, 0x000000C0, 0x00000000, 0x00000010, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), (51558, 0x00000000, 11, 0x000000C0, 0x00000000, 0x00000010, 0x00000000, 0x00000002, 0.000000, 0.000000, 0), @@ -17041,6 +17045,12 @@ INSERT INTO `spell_proc_event` VALUES (51698, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 1), (51700, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 1), (51701, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000002, 0.000000, 0.000000, 1), +(51940, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), +(51989, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), +(52004, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), +(52005, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), +(52007, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), +(52008, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0), (52020, 0x00000000, 7, 0x00008000, 0x00100000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (52127, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 3), (52129, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 3), @@ -17192,7 +17202,9 @@ INSERT INTO `spell_proc_event` VALUES (60826, 0x00000000, 15, 0x01400000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (61188, 0x00000000, 5, 0x00000004, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), (61257, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x000202A8, 0x00010000, 0.000000, 0.000000, 0), -(61324, 0x00000000, 10, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0); +(61324, 0x00000000, 10, 0x00000000, 0x00020000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 0.000000, 0), +(61846, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0), +(61847, 0x00000000, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0); /*!40000 ALTER TABLE `spell_proc_event` ENABLE KEYS */; UNLOCK TABLES; @@ -17250,7 +17262,7 @@ INSERT INTO `spell_bonus_data` VALUES ('2120', '0.2357', '0.122', '0', 'Mage - Flamestrike'), ('11366', '1.15', '0.05', '0', 'Mage - Pyroblast'), ('2948', '0.4286', '0', '0', 'Mage - Scorch'), -('44614', '0.8571', '0', '0', 'Frostfire Bolt'), +('44614', '0.8571', '0', '0', 'Mage - Frostfire Bolt'), ('44457', '0.4', '0.2', '0', 'Mage - Living Bomb'), ('42208', '0.0952', '0', '0', 'Mage - Blizzard Triggered Spell Rank 1'), ('42209', '0.0952', '0', '0', 'Mage - Blizzard Triggered Spell Rank 2'), @@ -17313,15 +17325,15 @@ INSERT INTO `spell_bonus_data` VALUES ('17', '0.8068', '0', '0', 'Priest - Power Word: Shield'), ('596', '0.8086', '0', '0', 'Priest - Prayer of Healing'), ('33110', '0.8068', '0', '0', 'Priest - Prayer of Mending Heal Proc'), -('139', '1.88', '0', '0', 'Priest - Renew'), +('139', '0', '0.376', '0', 'Priest - Renew'), ('2944', '0.1849', '0', '0', 'Priest - Devouring Plague'), ('14914', '0.5711', '0.024', '0', 'Priest - Holy Fire'), ('15237', '0.1606', '0', '0', 'Priest - Holy Nova Damage'), ('8129', '0', '0', '0', 'Priest - Mana Burn'), ('8092', '0.4296', '0', '0', 'Priest - Mind Blast'), ('15407', '0.257', '0', '0', 'Priest - Mind Flay'), -('49821', '0.7143', '0', '0', 'Priest - Mind Sear Trigger Rank 1'), -('53022', '0.7143', '0', '0', 'Priest - Mind Sear Trigger Rank 2'), +('49821', '0.14286', '0', '0', 'Priest - Mind Sear Trigger Rank 1'), +('53022', '0.14286', '0', '0', 'Priest - Mind Sear Trigger Rank 2'), ('34433', '0.65', '0', '0', 'Priest - Shadowfiend'), ('32379', '0.4296', '0', '0', 'Priest - Shadow Word: Death'), ('589', '0', '0.1829', '0', 'Priest - Shadow Word: Pain'), @@ -17399,10 +17411,12 @@ INSERT INTO `spell_bonus_data` VALUES ('172', '0', '0.3', '0', 'Warlock - Corruption'), ('348', '0.2', '0.2', '0', 'Warlock - Immolate'), ('27243', '0.22', '0.25', '0', 'Warlock - Seed of Corruption'), -('18265', '0', '1', '0', 'Warlock - Siphon Life'), +('18265', '0', '0.1', '0', 'Warlock - Siphon Life'), ('30108', '0', '0.24', '0', 'Warlock - Unstable Affliction'), +('31117', '1.8', '0', '0', 'Warlock - Unstable Affliction Dispell'), ('17962', '0.4286', '0', '0', 'Warlock - Conflagrate'), ('6789', '0.22', '0', '0', 'Warlock - Death Coil'), +('28176', '0', '0', '0', 'Warlock - Fel Armor'), ('48181', '0.4729', '0', '0', 'Warlock - Haunt'), ('29722', '0.7143', '0', '0', 'Warlock - Incinerate'), ('5676', '0.4286', '0', '0', 'Warlock - Searing Pain'), diff --git a/sql/updates/7199_01_mangos_spell_bonus_data.sql b/sql/updates/7199_01_mangos_spell_bonus_data.sql new file mode 100644 index 000000000..99d908b18 --- /dev/null +++ b/sql/updates/7199_01_mangos_spell_bonus_data.sql @@ -0,0 +1,11 @@ +ALTER TABLE db_version CHANGE COLUMN required_7196_02_mangos_spell_bonus_data required_7199_01_mangos_spell_bonus_data bit; + +DELETE FROM `spell_bonus_data` WHERE `entry` IN (44614, 139, 49821, 53022, 18265, 31117, 28176); +INSERT INTO `spell_bonus_data` VALUES +('44614', '0.8571', '0', '0', 'Mage - Frostfire Bolt'), +('139', '0', '0.376', '0', 'Priest - Renew'), +('49821', '0.14286', '0', '0', 'Priest - Mind Sear Trigger Rank 1'), +('53022', '0.14286', '0', '0', 'Priest - Mind Sear Trigger Rank 2'), +('18265', '0', '0.1', '0', 'Warlock - Siphon Life'), +('31117', '1.8', '0', '0', 'Warlock - Unstable Affliction Dispell'), +('28176', '0', '0', '0', 'Warlock - Fel Armor'); diff --git a/sql/updates/7199_02_mangos_spell_proc_event.sql b/sql/updates/7199_02_mangos_spell_proc_event.sql new file mode 100644 index 000000000..51017507e --- /dev/null +++ b/sql/updates/7199_02_mangos_spell_proc_event.sql @@ -0,0 +1,49 @@ +ALTER TABLE db_version CHANGE COLUMN required_7199_01_mangos_spell_bonus_data required_7199_02_mangos_spell_proc_event bit; + +-- (51479) Astral Shift (Rank 3) +DELETE FROM `spell_proc_event` WHERE `entry` IN (51479); +INSERT INTO `spell_proc_event` VALUES (51479, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 0); + +-- (61846) Aspect of the Dragonhawk (Rank 1) +DELETE FROM `spell_proc_event` WHERE `entry` IN (61846); +INSERT INTO `spell_proc_event` VALUES (61846, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0); + +-- (61847) Aspect of the Dragonhawk (Rank 2) +DELETE FROM `spell_proc_event` WHERE `entry` IN (61847); +INSERT INTO `spell_proc_event` VALUES (61847, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0); + +-- (13163) Aspect of the Monkey () +DELETE FROM `spell_proc_event` WHERE `entry` IN (13163); +INSERT INTO `spell_proc_event` VALUES (13163, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000010, 0.000000, 0.000000, 0); + +-- (51940) Earthliving Weapon (Passive) (Rank 1) +DELETE FROM `spell_proc_event` WHERE `entry` IN (51940); +INSERT INTO `spell_proc_event` VALUES (51940, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (51989) Earthliving Weapon (Passive) (Rank 2) +DELETE FROM `spell_proc_event` WHERE `entry` IN (51989); +INSERT INTO `spell_proc_event` VALUES (51989, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (52004) Earthliving Weapon (Passive) (Rank 3) +DELETE FROM `spell_proc_event` WHERE `entry` IN (52004); +INSERT INTO `spell_proc_event` VALUES (52004, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (52005) Earthliving Weapon (Passive) (Rank 4) +DELETE FROM `spell_proc_event` WHERE `entry` IN (52005); +INSERT INTO `spell_proc_event` VALUES (52005, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (52007) Earthliving Weapon (Passive) (Rank 5) +DELETE FROM `spell_proc_event` WHERE `entry` IN (52007); +INSERT INTO `spell_proc_event` VALUES (52007, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (52008) Earthliving Weapon (Passive) (Rank 6) +DELETE FROM `spell_proc_event` WHERE `entry` IN (52008); +INSERT INTO `spell_proc_event` VALUES (52008, 0x00, 0, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0.000000, 20.000000, 0); + +-- (44442) Firestarter (Rank 1) +DELETE FROM `spell_proc_event` WHERE `entry` IN (44442); +INSERT INTO `spell_proc_event` VALUES (44442, 0x00, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 1); + +-- (44443) Firestarter (Rank 2) +DELETE FROM `spell_proc_event` WHERE `entry` IN (44443); +INSERT INTO `spell_proc_event` VALUES (44443, 0x00, 3, 0x00800000, 0x00000040, 0x00000000, 0x00000000, 0x00010000, 0.000000, 0.000000, 1); \ No newline at end of file diff --git a/sql/updates/Makefile.am b/sql/updates/Makefile.am index c3fd33368..234532583 100644 --- a/sql/updates/Makefile.am +++ b/sql/updates/Makefile.am @@ -156,6 +156,8 @@ pkgdata_DATA = \ 7196_01_mangos_spell_chain.sql \ 7196_02_mangos_spell_bonus_data.sql \ 7198_01_characters_characters.sql \ + 7199_01_mangos_spell_bonus_data.sql \ + 7199_02_mangos_spell_proc_event.sql \ README ## Additional files to include when running 'make dist' @@ -292,4 +294,6 @@ EXTRA_DIST = \ 7196_01_mangos_spell_chain.sql \ 7196_02_mangos_spell_bonus_data.sql \ 7198_01_characters_characters.sql \ + 7199_01_mangos_spell_bonus_data.sql \ + 7199_02_mangos_spell_proc_event.sql \ README diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index d460957ae..a91a51d5c 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "7198" + #define REVISION_NR "7199" #endif // __REVISION_NR_H__