[9898] Implement redundent values check in spell_bonus_data

Also do table content cleanup base at added feature.

Original check code provided by nos4r2zod.
This commit is contained in:
VladimirMangos 2010-05-15 11:21:24 +04:00
parent 6e92d43237
commit 1f741a16b3
4 changed files with 104 additions and 29 deletions

View file

@ -0,0 +1,9 @@
DELETE FROM `spell_bonus_data` WHERE `entry` IN (
17,122,139,421,589,774,1064,1449,2060,2061,2136,2912,2948,8004,
11426,19236,25912,30451,32379,32546,33110,34861,42463,44457,
49821,51505,53739,61391);
INSERT INTO `spell_bonus_data` VALUES
(53739, 0, 0, 0.003, 'Paladin - Seal of Corruption (full stack proc)'),
(42463, 0, 0, 0.003, 'Paladin - Seal of Vengeance (full stack proc)');
(49821, 0.2857,0, 0, 'Priest - Mind Sear Trigger'),