DELETE FROM `spell_chain` WHERE `spell_id` IN (33142, 33145, 33146);
INSERT INTO `spell_chain` VALUES
(33142,0,33142,1),
(33145,33142,33142,2),
(33146,33145,33142,3); 

DELETE FROM `spell_chain` WHERE `spell_id` IN (34950, 34594);
INSERT INTO `spell_chain` VALUES
(34950,0,34950,1),
(34594,34950,34950,2); 

DELETE FROM `spell_chain` WHERE `spell_id` IN (34506, 34507, 34508, 34838, 34839);
INSERT INTO `spell_chain` VALUES
(34506,0,34506,1),
(34507,34506,34506,2),
(34508,34507,34506,3),
(34838,34508,34506,4),
(34839,34838,34506,5); 