UPDATE `creature_template` SET `ainame`='SmartAI' WHERE `entry`=4344;
UPDATE `creature_template` SET `spell1`=42464 WHERE `entry`=23811;
DELETE FROM `smart_scripts` WHERE `entryorguid`=4344;
INSERT INTO `smart_scripts` VALUES
('4344','0','0','0','8','0','100','1','42454','0','0','0','22','1','0','0','0','0','0','1','0','0','0','0','0','0','0','On spell hit - Set phase 1'),
('4344','0','1','0','6','1','100','0','0','0','0','0','33','23811','0','0','0','0','0','16','0','0','0','0','0','0','0','on death in phase 1 - give quest credit');
DELETE FROM `conditions` WHERE `sourceentry`=42454;
INSERT INTO `conditions` VALUES
('13','1','42454','0','0','31','0','3','4344','0','0','0','',NULL),
('13','1','42454','0','0','36','0','0','0','0','0','0','',NULL);