[Wip] No Rest For The Wicked

[CODE]
UPDATE creature_template SET AIName=‘SmartAI’ WHERE entry=32347;
UPDATE creature_template SET faction_A=21,faction_H=21 WHERE entry=32300; – faction from sniffs
UPDATE creature SET spawndist= 0,MovementType= 0 WHERE guid=122317; – Summon Bunny should stay at spawn point

DELETE FROM smart_scripts WHERE entryorguid=32347 AND id=0 AND source_type=0;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(32347,0,0,1,8,0,100,0,60831,0,2000,5000,12,32300,2,150000,0,1,0,1,0,0,0,8219.157,2187.093,499.8201,3.106686, ‘Alumeth Summon Bunny - On Spellhit - summon Alumeth the Ascended’);

SET @ENTRYY:=32300;
UPDATE creature_template SET AIName= ‘SmartAI’ WHERE entry=@ENTRYY;
DELETE FROM smart_scripts WHERE source_type=0 AND entryorguid=@ENTRYY;
INSERT INTO smart_scripts (entryorguid,source_type,id,link,event_type,event_phase_mask,event_chance,event_flags,event_param1,event_param2,event_param3,event_param4,action_type,action_param1,action_param2,action_param3,action_param4,action_param5,action_param6,target_type,target_param1,target_param2,target_param3,target_x,target_y,target_z,target_o,comment) VALUES
(@ENTRYY,0,0,0,0,0,100,0,8000,9000,8000,9000,11,60472,0,0,0,0,0,2,0,0,0,0,0,0,0, ‘Alumeth - IC - Cast Mindflay’),
(@ENTRYY,0,1,0,0,0,100,0,8000,10000,8000,10000,11,34322,1,0,0,0,0,2,0,0,0,0,0,0,0, ‘Alumeth - IC - Cast Psychicscream’),
(@ENTRYY,0,2,0,0,0,100,0,9000,12000,9000,12000,11,37978,0,0,0,0,0,1,0,0,0,0,0,0,0, ‘Alumeth - IC - Cast Renew’),
(@ENTRYY,0,3,0,0,0,100,0,7000,10000,7000,10000,11,34942,1,0,0,0,0,2,0,0,0,0,0,0,0, ‘Alumeth - IC - Cast Shadow Word: Pain’);
[/sql][/CODE]