UPDATE `gameobject_template` SET `data1`=70 WHERE `entry`=300063;
-- Brazier of Beckoning SAI
SET @ENTRY := 181045;
UPDATE `gameobject_template` SET `AIName`="SmartGameObjectAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=1;
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
(@ENTRY,1,0,0,1,0,100,0,100,100,1000,1000,45,1,1,0,0,0,0,10,137927,16048,0,0,0,0,0,"Brazier of Beckoning - Out of Combat - Set Data 1 1");
-- Lord Valthalak Trigger SAI
SET @ENTRY := 16048;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
(@ENTRY,0,0,0,38,0,100,1,1,1,0,0,12,16042,1,120000,0,0,0,8,0,0,0,56.4105,-539.401,110.934,3.07,"Lord Valthalak Trigger - On Data Set 1 1 - Summon Creature 'Lord Valthalak' (No Repeat)");
UPDATE `creature` SET `position_x`=44.670155, `position_y`=-537.240173, `position_z`=110.935043, `orientation`=6.056556 WHERE `guid`=137927;
fuck of targetypes!
ser re und der npc sollte wieder erscheinen, sobald das gefäß spawnt