Database Updates

Port From (https://github.com/TrinityCore/TrinityCore/)
This commit is contained in:
hondacrx
2019-09-21 12:13:23 -04:00
parent 9e49c24eb8
commit 2418715800
19 changed files with 1258 additions and 0 deletions
@@ -0,0 +1,165 @@
--
-- Overlord Ramtusk SAI -- Add 'Battle Stance'
SET @ENTRY := 4420;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=3;
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,3,0,25,0,100,0,0,0,0,0,11,7165,0,0,0,0,0,1,0,0,0,0,0,0,0,"Overlord Ramtusk - On Reset - Cast 'Battle Stance'");
-- Irradiated Invader SAI -- Add abilities, visualspells and texts
SET @ENTRY := 6213;
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,25,0,100,0,0,0,0,0,11,9769,0,0,0,0,0,0,0,0,0,0,0,0,0,"Irradiated Invader - On Reset - Cast 'Radiation'"),
(@ENTRY,0,1,0,25,0,100,0,0,0,0,0,11,21862,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Invader - On Reset - Cast 'Radiation'"),
(@ENTRY,0,2,0,0,0,100,0,3600,7200,3600,7200,11,9771,0,0,0,0,0,2,0,0,0,0,0,0,0,"Irradiated Invader - In Combat - Cast 'Radiation Bolt'"),
(@ENTRY,0,3,4,6,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Invader - On Just Died - Say Line 0"),
(@ENTRY,0,4,0,61,0,100,0,0,0,0,0,11,9798,2,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Invader - On Just Died - Cast 'Radiation'");
-- Irradiated Pillager SAI -- Add visualspells and texts
SET @ENTRY := 6329;
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,25,0,100,0,0,0,0,0,75,9798,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Pillager - On Reset - Add Aura 'Radiation'"),
(@ENTRY,0,1,0,0,0,100,0,3000,5000,10000,11000,11,9771,64,0,0,0,0,17,0,50,0,0,0,0,0,"Irradiated Pillager - In Combat CMC - Cast 'Radiation Bolt'"),
(@ENTRY,0,2,0,2,0,100,1,0,50,0,0,11,8269,2,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Pillager - Between 0-50% Health - Cast 'Frenzy' (No Repeat)"),
(@ENTRY,0,3,0,25,0,100,0,0,0,0,0,11,21862,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Pillager - On Reset - Cast 'Radiation'"),
(@ENTRY,0,4,5,6,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Pillager - On Just Died - Say Line 0"),
(@ENTRY,0,5,0,61,0,100,0,0,0,0,0,11,9798,2,0,0,0,0,1,0,0,0,0,0,0,0,"Irradiated Pillager - On Just Died - Cast 'Radiation'");
-- Caverndeep Burrower SAI
SET @ENTRY := 6206;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=4;
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,4,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Burrower - On Spellhit 'Radiation' - Say Line 0");
-- Caverndeep Ambusher SAI
SET @ENTRY := 6207;
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,0,0,100,0,3700,3700,3600,12400,11,2590,0,0,0,0,0,2,0,0,0,0,0,0,0,"Caverndeep Ambusher - In Combat - Cast 'Backstab'"),
(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Ambusher - Between 0-15% Health - Flee For Assist (No Repeat)"),
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Ambusher - On Spellhit 'Radiation' - Say Line 0");
-- Caverndeep Invader SAI
SET @ENTRY := 6208;
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,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Invader - On Spellhit 'Radiation' - Say Line 0"),
(@ENTRY,0,1,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Invader - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Caverndeep Looter SAI
SET @ENTRY := 6209;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=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,0,1,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Looter - On Spellhit 'Radiation' - Say Line 0");
-- Caverndeep Pillager SAI
SET @ENTRY := 6210;
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,25,0,100,0,0,0,0,0,11,8876,32,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Pillager - On Reset - Cast 'Thrash'"),
(@ENTRY,0,1,0,9,0,100,0,0,5,24500,24500,11,1777,0,0,0,0,0,2,0,0,0,0,0,0,0,"Caverndeep Pillager - Within 0-5 Range - Cast 'Gouge'"),
(@ENTRY,0,2,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Pillager - On Spellhit 'Radiation' - Say Line 0"),
(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Pillager - Between 0-15% Health - Flee For Assist (No Repeat)");
-- Caverndeep Reaver SAI
SET @ENTRY := 6211;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id` >=3;
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,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Caverndeep Reaver - Between 0-15% Health - Flee For Assist (No Repeat)"),
(@ENTRY,0,4,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,"Caverndeep Reaver - On Spellhit 'Radiation' - Say Line 0");
-- Leprous Technician SAI
SET @ENTRY := 6222;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id` >=3;
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,3,0,1,0,100,0,10000,45000,30000,70000,11,10348,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Technician - Out of Combat - Cast 'Tune Up'"),
(@ENTRY,0,4,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Technician - On Spellhit 'Radiation' - Say Line 0");
-- Leprous Defender SAI
SET @ENTRY := 6223;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=4;
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,4,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Defender - On Spellhit 'Radiation' - Say Line 0");
-- Leprous Machinesmith SAI
SET @ENTRY := 6224;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=3;
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,3,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Machinesmith - On Spellhit 'Radiation' - Say Line 0");
-- Dark Iron Ambassador SAI
SET @ENTRY := 6228;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=6;
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,6,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Dark Iron Ambassador - On Spellhit 'Radiation' - Say Line 0");
-- Holdout Warrior SAI
SET @ENTRY := 6391;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`>=2;
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,2,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Holdout Warrior - Between 0-15% Health - Flee For Assist (No Repeat)"),
(@ENTRY,0,3,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Holdout Warrior - On Spellhit 'Radiation' - Say Line 0");
-- Leprous Assistant SAI
SET @ENTRY := 7603;
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,4,0,100,0,0,0,0,0,39,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Assistant - On Aggro - Call For Help"),
(@ENTRY,0,1,0,8,0,100,0,9798,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Leprous Assistant - On Spellhit 'Radiation' - Say Line 0");
-- Electrocutioner 6000 SAI
SET @ENTRY := 6235;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=0 AND `id`=3;
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,3,0,4,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Electrocutioner 6000 - On Aggro - Say Line 0");
-- Mobile Alert System SAI (credits to Sunwell)
SET @ENTRY := 7849;
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,25,0,100,0,0,0,0,0,21,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mobile Alert System - On Reset - Disable Combat Movement"),
(@ENTRY,0,1,0,0,0,100,1,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mobile Alert System - In Combat - Say Line 0 (No Repeat)"),
(@ENTRY,0,2,0,0,0,100,1,5000,5000,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mobile Alert System - In Combat - Say Line 0 (No Repeat)"),
(@ENTRY,0,3,4,0,0,100,0,10000,10000,10000,10000,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Mobile Alert System - In Combat - Say Line 0"),
(@ENTRY,0,4,5,61,0,100,0,10000,10000,10000,10000,12,7603,4,30000,0,0,0,1,0,0,0,5,0,0,0,"Mobile Alert System - In Combat - Summon Creature 'Leprous Assistant'"),
(@ENTRY,0,5,0,61,0,100,0,10000,10000,10000,10000,12,6223,4,30000,0,0,0,1,0,0,0,-5,0,0,0,"Mobile Alert System - In Combat - Summon Creature 'Leprous Defender'");
DELETE FROM `creature_text` WHERE `CreatureID`=7849;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `comment`, `BroadcastTextId`) VALUES
(7849, 0, 0, 'Warning! Warning! Intruder alert! Intruder alert!', 14, 0, 100, 0, 0, 0, 'Mobile Alert System', 4142);
DELETE FROM `creature_text` WHERE `CreatureID` IN (6213, 6329, 6206, 6207, 6208, 6209, 6210, 6211, 6212, 6222, 6223, 6224, 6228, 6391, 7603, 6235);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(6213, 0, 0, '%s blood sprays into the air!', 16, 0, 100, 0, 0, 0, 3131, 'Irradiated Invader'),
(6329, 0, 0, '%s blood sprays into the air!', 16, 0, 100, 0, 0, 0, 3131, 'Irradiated Pillager'),
(6206, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Burrower '),
(6207, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Ambusher'),
(6208, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Invader'),
(6209, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Looter'),
(6210, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Pillager'),
(6211, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Caverndeep Reaver'),
(6212, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Dark Iron Agent'),
(6222, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Leprous Technician'),
(6223, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Leprous Defender'),
(6224, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Leprous Machinesmith'),
(6228, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Dark Iron Ambassador'),
(6391, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Holdout Warrior'),
(7603, 0, 0, '%s is splashed by the blood and becomes irradiated!', 16, 0, 100, 0, 0, 0, 3367, 'Leprous Assistant '),
(6235, 0, 0, 'Electric justice!', 14, 0, 100, 0, 0, 5811, 6177, 'Electrocutioner 6000');
@@ -0,0 +1,63 @@
-- Formula: Enchant Weapon - Superior Striking
DELETE FROM `creature_loot_template` WHERE `item` = 16250;
INSERT INTO `creature_loot_template` (`Entry`,`Item`,`Chance`,`GroupId`,`MinCount`,`MaxCount`,`Reference`) VALUES
-- Bosses
(10363, 16250, 2, 0, 1, 1, 0),
(10220, 16250, 2, 0, 1, 1, 0),
(9816, 16250, 2, 0, 1, 1, 0),
(10899, 16250, 2, 0, 1, 1, 0),
(10430, 16250, 2, 0, 1, 1, 0),
(9196, 16250, 2, 0, 1, 1, 0),
(9236, 16250, 2, 0, 1, 1, 0),
(9219, 16250, 2, 0, 1, 1, 0),
(10376, 16250, 2, 0, 1, 1, 0),
(9736, 16250, 2, 0, 1, 1, 0),
(9568, 16250, 2, 0, 1, 1, 0),
(9237, 16250, 2, 0, 1, 1, 0),
(9596, 16250, 2, 0, 1, 1, 0),
(10509, 16250, 2, 0, 1, 1, 0),
(9718, 16250, 2, 0, 1, 1, 0),
(10596, 16250, 2, 0, 1, 1, 0),
-- Trash
(10371, 16250, 1, 0, 1, 1, 0),
(10318, 16250, 1, 0, 1, 1, 0),
(10317, 16250, 1, 0, 1, 1, 0),
(10083, 16250, 1, 0, 1, 1, 0),
(9817, 16250, 1, 0, 1, 1, 0),
(9692, 16250, 1, 0, 1, 1, 0),
(9717, 16250, 1, 0, 1, 1, 0),
(9693, 16250, 1, 0, 1, 1, 0),
(9716, 16250, 7, 0, 1, 1, 0),
(9583, 16250, 1, 0, 1, 1, 0),
(10374, 16250, 1, 0, 1, 1, 0),
(9263, 16250, 1, 0, 1, 1, 0),
(9264, 16250, 1, 0, 1, 1, 0),
(9260, 16250, 1, 0, 1, 1, 0),
(9262, 16250, 1, 0, 1, 1, 0),
(9261, 16250, 1, 0, 1, 1, 0),
(9266, 16250, 1, 0, 1, 1, 0),
(9268, 16250, 1, 0, 1, 1, 0),
(9241, 16250, 1, 0, 1, 1, 0),
(9265, 16250, 1, 0, 1, 1, 0),
(9269, 16250, 1, 0, 1, 1, 0),
(9239, 16250, 1, 0, 1, 1, 0),
(9267, 16250, 1, 0, 1, 1, 0),
(9217, 16250, 1, 0, 1, 1, 0),
(9197, 16250, 1, 0, 1, 1, 0),
(9216, 16250, 1, 0, 1, 1, 0),
(9198, 16250, 1, 0, 1, 1, 0),
(9200, 16250, 1, 0, 1, 1, 0),
(9199, 16250, 1, 0, 1, 1, 0),
(9258, 16250, 1, 0, 1, 1, 0),
(9045, 16250, 1, 0, 1, 1, 0),
(9098, 16250, 1, 0, 1, 1, 0),
(9257, 16250, 1, 0, 1, 1, 0),
(9097, 16250, 1, 0, 1, 1, 0),
(10319, 16250, 1, 0, 1, 1, 0),
(10366, 16250, 1, 0, 1, 1, 0),
(10762, 16250, 1, 0, 1, 1, 0),
(10372, 16250, 1, 0, 1, 1, 0),
(9096, 16250, 1, 0, 1, 1, 0),
(9819, 16250, 1, 0, 1, 1, 0),
(9818, 16250, 1, 0, 1, 1, 0),
(9240, 16250, 1, 0, 1, 1, 0);
@@ -0,0 +1,33 @@
-- Ravenous Jormungar (29605)
-- Icemaw Bear (29562)
DELETE FROM `creature` WHERE `guid` IN (47005,47007,47011,47014,47015,47019,47020,47022,47024,47058,47059,47269,47270,47271,58296,72679,72679,72694,73925,73926,73927,73928,73929,73930,73931,73932,73933,73934,73935,73936);
INSERT INTO `creature` (`guid`, `id`, `map`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES
(47005, 29605, 571, 0, 0, 7329.02, -2096.36, 772.981, 4.2904, 300, 5, 0, 12175, 0, 1),
(47007, 29605, 571, 0, 0, 7315.78, -2071.91, 763.048, 3.6818, 300, 5, 0, 12175, 0, 1),
(47011, 29605, 571, 0, 0, 7315, -2021.31, 763.381, 5.7145, 300, 5, 0, 12175, 0, 1),
(47014, 29605, 571, 0, 0, 7304.69, -2036.38, 762.714, 0.867, 300, 5, 0, 12175, 0, 1),
(47015, 29605, 571, 0, 0, 7280.62, -2072.3, 761.956, 0.4111, 300, 5, 0, 12175, 0, 1),
(47019, 29605, 571, 0, 0, 7272.03, -2014.92, 768.024, 5.081, 300, 5, 0, 12175, 0, 1),
(47020, 29605, 571, 0, 0, 7270.6, -2119.66, 776.91, 4.382, 300, 5, 0, 12175, 0, 1),
(47022, 29605, 571, 0, 0, 7252.53, -2072.12, 763.08, 2.8011, 300, 5, 0, 12175, 0, 1),
(47024, 29605, 571, 0, 0, 7250.86, -2092.35, 774.785, 3.593, 300, 5, 0, 12175, 0, 1),
(47058, 29605, 571, 0, 0, 7208.14, -2036.18, 764.755, 4.6086, 300, 5, 0, 12175, 0, 1),
(47059, 29605, 571, 0, 0, 7181.413, -2030.195, 766.1735, 0.143750, 300, 5, 0, 12175, 0, 1),
(47269, 29605, 571, 0, 0, 7209.085, -1997.225, 767.6403, 0.882025, 300, 5, 0, 12175, 0, 1),
(47270, 29605, 571, 0, 0, 7342.41, -2037.04, 763.419, 2.9583, 300, 5, 0, 12175, 0, 1),
(47271, 29605, 571, 0, 0, 7203.25, -2056.41, 765.201, 5.4181, 300, 5, 0, 12175, 0, 1),
(58296, 29605, 571, 0, 0, 7158.9, -2137.43, 764.273, 3.6641, 300, 5, 0, 12175, 0, 1),
(72679, 29562, 571, 0, 0, 7340.23, -2057.24, 764.845, 0.5759, 300, 5, 0, 12600, 0, 1),
(72694, 29562, 571, 0, 0, 7314.18, -2095.16, 774.167, 5.8468, 300, 5, 0, 12600, 0, 1),
(73925, 29562, 571, 0, 0, 7296.43, -2007.46, 765.695, 3.3859, 300, 5, 0, 12600, 0, 1),
(73926, 29562, 571, 0, 0, 7248.95, -2123.74, 778.771, 3.6128, 300, 5, 0, 12600, 0, 1),
(73927, 29562, 571, 0, 0, 7234.18, -2082.77, 764.002, 1.1344, 300, 5, 0, 12600, 0, 1),
(73928, 29562, 571, 0, 0, 7207.93, -2038.16, 764.583, 5.3058, 300, 5, 0, 12600, 0, 1),
(73929, 29562, 571, 0, 0, 7202.35, -2113.44, 768.618, 4.276, 300, 5, 0, 12600, 0, 1),
(73930, 29562, 571, 0, 0, 7198.54, -2107.91, 766.632, 2.1293, 300, 5, 0, 12600, 0, 1),
(73931, 29562, 571, 0, 0, 7290.5, -2114.23, 775.277, 4.0142, 300, 5, 0, 12600, 0, 1),
(73932, 29562, 571, 0, 0, 7289.43, -2024.69, 771.763, 1.274, 300, 5, 0, 12600, 0, 1),
(73933, 29562, 571, 0, 0, 7283.68, -2046.53, 761.719, 2.6354, 300, 5, 0, 12600, 0, 1),
(73934, 29562, 571, 0, 0, 7262.65, -2075.82, 764.758, 3.4557, 300, 5, 0, 12600, 0, 1),
(73935, 29562, 571, 0, 0, 7248.99, -2088.13, 774.497, 2.1467, 300, 5, 0, 12600, 0, 1),
(73936, 29562, 571, 0, 0, 7162.11, -2132.87, 762.305, 5.1836, 300, 5, 0, 12600, 0, 1);
@@ -0,0 +1,155 @@
-- Eye of Naxxramas -- http://www.wowhead.com/npc=10411
SET @GUID := 73922; -- 3 creatures needed CONSECUTIVE
DELETE FROM `creature` WHERE `guid` BETWEEN (@GUID + 0) AND (@GUID + 2);
DELETE FROM `creature` WHERE `id`=10411;
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnDifficulties`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`) VALUES
((@GUID + 0), 10411, 329, '1', 4629, 0, 3479.085, -3306.330, 130.6843, 0.104871, 900, 0, 0, 0, 0, 2),
((@GUID + 1), 10411, 329, '1', 4629, 0, 3582.750, -3465.926, 135.4136, 5.451532, 900, 0, 0, 0, 0, 2),
((@GUID + 2), 10411, 329, '1', 4629, 0, 4068.063, -3534.750, 122.7475, 2.599249, 900, 0, 0, 0, 0, 2);
-- --------Pathing------------------------
SET @NPC := (@GUID + 0);
SET @PATH := @NPC * 10;
SET @POINT := 0;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES
(@PATH, @POINT := @POINT + 1, 3496.611, -3304.485, 130.2477),
(@PATH, @POINT := @POINT + 1, 3501.017, -3320.939, 130.1988),
(@PATH, @POINT := @POINT + 1, 3516.886, -3321.310, 131.3028),
(@PATH, @POINT := @POINT + 1, 3533.510, -3325.740, 129.8950),
(@PATH, @POINT := @POINT + 1, 3563.853, -3333.576, 129.3590),
(@PATH, @POINT := @POINT + 1, 3587.316, -3335.419, 127.2169),
(@PATH, @POINT := @POINT + 1, 3555.287, -3343.082, 129.2272),
(@PATH, @POINT := @POINT + 1, 3541.950, -3368.319, 132.0300),
(@PATH, @POINT := @POINT + 1, 3539.138, -3390.615, 132.3763),
(@PATH, @POINT := @POINT + 1, 3546.026, -3421.109, 135.2656),
(@PATH, @POINT := @POINT + 1, 3528.616, -3392.653, 132.3763),
(@PATH, @POINT := @POINT + 1, 3519.140, -3387.130, 132.4560),
(@PATH, @POINT := @POINT + 1, 3493.885, -3381.469, 135.2286),
(@PATH, @POINT := @POINT + 1, 3456.239, -3378.636, 139.5714),
(@PATH, @POINT := @POINT + 1, 3419.620, -3378.933, 141.8746),
(@PATH, @POINT := @POINT + 1, 3456.239, -3378.636, 139.5714),
(@PATH, @POINT := @POINT + 1, 3493.732, -3381.419, 135.2316),
(@PATH, @POINT := @POINT + 1, 3519.140, -3387.130, 132.4560),
(@PATH, @POINT := @POINT + 1, 3528.616, -3392.653, 132.3763),
(@PATH, @POINT := @POINT + 1, 3546.026, -3421.109, 135.2656),
(@PATH, @POINT := @POINT + 1, 3539.138, -3390.615, 132.3763),
(@PATH, @POINT := @POINT + 1, 3541.950, -3368.319, 132.0300),
(@PATH, @POINT := @POINT + 1, 3555.287, -3343.082, 129.2272),
(@PATH, @POINT := @POINT + 1, 3587.316, -3335.419, 127.2169),
(@PATH, @POINT := @POINT + 1, 3563.853, -3333.576, 129.3590),
(@PATH, @POINT := @POINT + 1, 3533.510, -3325.740, 129.8950),
(@PATH, @POINT := @POINT + 1, 3516.886, -3321.310, 131.3028),
(@PATH, @POINT := @POINT + 1, 3501.017, -3320.939, 130.1988),
(@PATH, @POINT := @POINT + 1, 3496.611, -3304.485, 130.2477),
(@PATH, @POINT := @POINT + 1, 3480.393, -3307.106, 130.4128);
SET @NPC := (@GUID + 1);
SET @PATH := @NPC * 10;
SET @POINT := 0;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES
(@PATH, @POINT := @POINT + 1, 3602.921, -3488.057, 135.8794),
(@PATH, @POINT := @POINT + 1, 3623.550, -3513.888, 136.9184),
(@PATH, @POINT := @POINT + 1, 3648.388, -3518.862, 136.6696),
(@PATH, @POINT := @POINT + 1, 3665.853, -3494.050, 136.3362),
(@PATH, @POINT := @POINT + 1, 3629.388, -3487.229, 137.5149),
(@PATH, @POINT := @POINT + 1, 3673.813, -3485.689, 135.8256),
(@PATH, @POINT := @POINT + 1, 3713.954, -3482.851, 129.7010),
(@PATH, @POINT := @POINT + 1, 3718.166, -3448.076, 129.3145),
(@PATH, @POINT := @POINT + 1, 3705.293, -3411.265, 132.1460),
(@PATH, @POINT := @POINT + 1, 3685.754, -3379.769, 129.8789),
(@PATH, @POINT := @POINT + 1, 3669.716, -3350.548, 125.2413),
(@PATH, @POINT := @POINT + 1, 3651.337, -3332.349, 123.5366),
(@PATH, @POINT := @POINT + 1, 3673.492, -3309.539, 126.4855),
(@PATH, @POINT := @POINT + 1, 3686.000, -3286.630, 128.0600),
(@PATH, @POINT := @POINT + 1, 3694.174, -3269.902, 127.8214),
(@PATH, @POINT := @POINT + 1, 3705.277, -3253.183, 127.0408),
(@PATH, @POINT := @POINT + 1, 3729.962, -3259.325, 127.9591),
(@PATH, @POINT := @POINT + 1, 3705.277, -3253.183, 127.0408),
(@PATH, @POINT := @POINT + 1, 3694.174, -3269.902, 127.8214),
(@PATH, @POINT := @POINT + 1, 3686.000, -3286.630, 128.0600),
(@PATH, @POINT := @POINT + 1, 3673.492, -3309.539, 126.4855),
(@PATH, @POINT := @POINT + 1, 3651.337, -3332.349, 123.5366),
(@PATH, @POINT := @POINT + 1, 3669.716, -3350.548, 125.2413),
(@PATH, @POINT := @POINT + 1, 3685.754, -3379.769, 129.8789),
(@PATH, @POINT := @POINT + 1, 3705.293, -3411.265, 132.1460),
(@PATH, @POINT := @POINT + 1, 3718.171, -3447.861, 129.3067),
(@PATH, @POINT := @POINT + 1, 3713.954, -3482.851, 129.7010),
(@PATH, @POINT := @POINT + 1, 3673.813, -3485.689, 135.8256),
(@PATH, @POINT := @POINT + 1, 3629.388, -3487.229, 137.5149),
(@PATH, @POINT := @POINT + 1, 3665.853, -3494.050, 136.3362),
(@PATH, @POINT := @POINT + 1, 3648.388, -3518.862, 136.6696),
(@PATH, @POINT := @POINT + 1, 3623.550, -3513.888, 136.9184),
(@PATH, @POINT := @POINT + 1, 3602.921, -3488.057, 135.8794),
(@PATH, @POINT := @POINT + 1, 3578.609, -3461.189, 135.2853);
SET @NPC := (@GUID + 2);
SET @POINT := 0;
SET @PATH := @NPC * 10;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES
(@PATH, @POINT := @POINT + 1, 4044.845, -3520.759, 121.6993),
(@PATH, @POINT := @POINT + 1, 4021.720, -3529.522, 122.2696),
(@PATH, @POINT := @POINT + 1, 3997.682, -3556.203, 124.7969),
(@PATH, @POINT := @POINT + 1, 3955.195, -3556.644, 129.8793),
(@PATH, @POINT := @POINT + 1, 3979.817, -3586.936, 127.6629),
(@PATH, @POINT := @POINT + 1, 3999.419, -3604.702, 129.5177),
(@PATH, @POINT := @POINT + 1, 4008.615, -3629.069, 129.3868),
(@PATH, @POINT := @POINT + 1, 3986.416, -3626.187, 130.1212),
(@PATH, @POINT := @POINT + 1, 3963.268, -3642.394, 133.2446),
(@PATH, @POINT := @POINT + 1, 3945.813, -3645.609, 137.4449),
(@PATH, @POINT := @POINT + 1, 3935.039, -3652.638, 139.9641),
(@PATH, @POINT := @POINT + 1, 3905.511, -3672.499, 139.0567),
(@PATH, @POINT := @POINT + 1, 3880.139, -3682.546, 142.2288),
(@PATH, @POINT := @POINT + 1, 3871.972, -3695.018, 142.4928),
(@PATH, @POINT := @POINT + 1, 3860.894, -3677.064, 143.4627),
(@PATH, @POINT := @POINT + 1, 3843.936, -3691.934, 142.8869),
(@PATH, @POINT := @POINT + 1, 3846.652, -3671.873, 144.1723),
(@PATH, @POINT := @POINT + 1, 3834.103, -3652.026, 145.6312),
(@PATH, @POINT := @POINT + 1, 3822.230, -3633.550, 146.1223),
(@PATH, @POINT := @POINT + 1, 3795.741, -3609.456, 145.2505),
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
(@PATH, @POINT := @POINT + 1, 3887.829, -3545.449, 137.7642),
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
(@PATH, @POINT := @POINT + 1, 3887.829, -3545.449, 137.7642),
(@PATH, @POINT := @POINT + 1, 3874.042, -3548.795, 137.3683),
(@PATH, @POINT := @POINT + 1, 3865.565, -3576.687, 140.8942),
(@PATH, @POINT := @POINT + 1, 3843.980, -3604.263, 144.5417),
(@PATH, @POINT := @POINT + 1, 3823.748, -3625.020, 145.5289),
(@PATH, @POINT := @POINT + 1, 3795.741, -3609.456, 145.2505),
(@PATH, @POINT := @POINT + 1, 3822.230, -3633.550, 146.1223),
(@PATH, @POINT := @POINT + 1, 3834.079, -3651.989, 145.6344),
(@PATH, @POINT := @POINT + 1, 3846.652, -3671.873, 144.1723),
(@PATH, @POINT := @POINT + 1, 3843.936, -3691.934, 142.8869),
(@PATH, @POINT := @POINT + 1, 3860.894, -3677.064, 143.4627),
(@PATH, @POINT := @POINT + 1, 3871.972, -3695.018, 142.4928),
(@PATH, @POINT := @POINT + 1, 3880.139, -3682.546, 142.2288),
(@PATH, @POINT := @POINT + 1, 3905.511, -3672.499, 139.0567),
(@PATH, @POINT := @POINT + 1, 3935.039, -3652.638, 139.9641),
(@PATH, @POINT := @POINT + 1, 3945.559, -3645.736, 137.5213),
(@PATH, @POINT := @POINT + 1, 3963.268, -3642.394, 133.2446),
(@PATH, @POINT := @POINT + 1, 3986.416, -3626.187, 130.1212),
(@PATH, @POINT := @POINT + 1, 4008.615, -3629.069, 129.3868),
(@PATH, @POINT := @POINT + 1, 3999.419, -3604.702, 129.5177),
(@PATH, @POINT := @POINT + 1, 3979.817, -3586.936, 127.6629),
(@PATH, @POINT := @POINT + 1, 3955.195, -3556.644, 129.8793),
(@PATH, @POINT := @POINT + 1, 3997.682, -3556.203, 124.7969),
(@PATH, @POINT := @POINT + 1, 4021.720, -3529.522, 122.2696),
(@PATH, @POINT := @POINT + 1, 4044.845, -3520.759, 121.6993),
(@PATH, @POINT := @POINT + 1, 4067.240, -3534.060, 122.5621);
@@ -0,0 +1,86 @@
-- Exodar Worker SAI
SET @ENTRY := 18800;
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,1,0,100,0,2000,2000,120000,120000,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - Out of Combat - Run Script");
-- Actionlist SAI
SET @ENTRY := 1880000;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,1000,1000,0,0,17,233,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Emote State 233"),
(@ENTRY,9,1,0,0,0,100,0,59000,59000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Emote State 0"),
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Set Flag Standstate Kneel"),
(@ENTRY,9,3,0,0,0,100,0,50000,50000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Remove Flag Standstate Kneel");
-- Worker SAI
SET @GUID := -67155;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18800;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
(@GUID,0,0,0,25,0,100,0,0,0,0,0,53,0,67155,1,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Reset - Start Waypoint"),
(@GUID,0,1,0,40,0,100,0,6,67155,0,0,80,6715500,2,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Waypoint 6 Reached - Run Script"),
(@GUID,0,2,0,40,0,100,0,22,67155,0,0,80,6715501,2,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Waypoint 22 Reached - Run Script");
-- Actionlist SAI
SET @ENTRY := 6715500;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,18000,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,5,6,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 6"),
(@ENTRY,9,2,0,0,0,100,0,8000,8000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"On Script - Play Emote 1");
-- Actionlist SAI
SET @ENTRY := 6715501;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Script - Play Emote 1"),
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,5,1,0,0,0,0,0,19,16731,50,0,0,0,0,0,"Worker - On Script - Play Emote 1"),
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,5,273,0,0,0,0,0,19,16731,50,0,0,0,0,0,"Worker - On Script - Play Emote 273"),
(@ENTRY,9,4,0,0,0,100,0,5000,5000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Worker - On Script - Play Emote 1");
DELETE FROM `waypoints` WHERE `entry`=67155;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(67155,1,-4039.73,-11519.2,-141.385, 'Worker'),
(67155,2,-4043.24,-11529.9,-138.291, 'Worker'),
(67155,3,-4030.91,-11548.1,-138.214, 'Worker'),
(67155,4,-4030.44,-11553.5,-138.23, 'Worker'),
(67155,5,-4037.56,-11565.6,-138.359, 'Worker'),
(67155,6,-4045.63,-11567,-138.459, 'Worker'),
(67155,7,-4037.56,-11565.6,-138.36, 'Worker'),
(67155,8,-4030.32,-11553.4,-138.229, 'Worker'),
(67155,9,-4030.84,-11547.6,-138.211, 'Worker'),
(67155,10,-4043.02,-11530,-138.288, 'Worker'),
(67155,11,-4039.7,-11519.4,-141.384, 'Worker'),
(67155,12,-4020.26,-11485.7,-141.031, 'Worker'),
(67155,13,-4013.84,-11480.3,-137.389, 'Worker'),
(67155,14,-3964.9,-11439.4,-136.703, 'Worker'),
(67155,15,-3944,-11437.5,-135.611, 'Worker'),
(67155,16,-3915.15,-11435.8,-132.892, 'Worker'),
(67155,17,-3876.07,-11444.9,-132.561, 'Worker'),
(67155,18,-3840.76,-11457.2,-132.186, 'Worker'),
(67155,19,-3829.7,-11460.8,-138.548, 'Worker'),
(67155,20,-3796,-11472,-138.189, 'Worker'),
(67155,21,-3788.55,-11474.4,-134.564, 'Worker'),
(67155,22,-3769.14,-11480.8,-134.369, 'Worker'),
(67155,23,-3788.23,-11474.6,-134.559, 'Worker'),
(67155,24,-3795.97,-11472,-138.19, 'Worker'),
(67155,25,-3829.94,-11460.8,-138.48, 'Worker'),
(67155,26,-3840.59,-11457.3,-132.185, 'Worker'),
(67155,27,-3875.72,-11445,-132.556, 'Worker'),
(67155,28,-3915.23,-11436,-132.892, 'Worker'),
(67155,29,-3943.23,-11437.5,-135.509, 'Worker'),
(67155,30,-3964.67,-11439.3,-136.699, 'Worker'),
(67155,31,-4013.47,-11480,-137.383, 'Worker'),
(67155,32,-4021.21,-11486.8,-141.045, 'Worker');
-- Actionlist SAI
SET @ENTRY := 1672700;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,120000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Padaar - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,17,233,0,0,0,0,0,1,0,0,0,0,0,0,0,"Padaar - On Script - Set Emote State 233"),
(@ENTRY,9,2,0,0,0,100,0,85000,85000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Padaar - On Script - Set Emote State 0");
@@ -0,0 +1,40 @@
-- Kudrii -- http://wotlk.openwow.com/npc=16742
-- Kudrii SAI
SET @ENTRY := 16742;
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,25,0,100,0,0,0,0,0,53,0,16742,1,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Reset - Start Waypoint"),
(@ENTRY,0,1,0,40,0,100,0,5,16742,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Waypoint 5 Reached - Run Script"),
(@ENTRY,0,2,0,40,0,100,0,10,16742,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Waypoint 10 Reached - Run Script"),
(@ENTRY,0,3,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Gossip Hello - Pause Waypoint");
-- Actionlist SAI
SET @ENTRY := 1674200;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,55000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.05848,"Kudrii - On Script - Set Orientation 5,05848"),
(@ENTRY,9,1,0,0,0,100,0,24000,24000,0,0,11,32990,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Script - Cast 'Enchanting Cast Visual'");
-- Actionlist SAI
SET @ENTRY := 1674201;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,15000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.87756,"Kudrii - On Script - Set Orientation 4,87756"),
(@ENTRY,9,2,0,0,0,100,0,6000,6000,0,0,5,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Script - Play Emote 1"),
(@ENTRY,9,3,0,0,0,100,0,3000,3000,0,0,5,273,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kudrii - On Script - Play Emote 273");
DELETE FROM `waypoints` WHERE `entry`=16742;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(16742, 1, -3890.7, -11487, -136.197, 'Kudrii'),
(16742, 2, -3889.1, -11488.2, -136.184, 'Kudrii'),
(16742, 3, -3887.77, -11490.4, -136.174, 'Kudrii'),
(16742, 4, -3888.51, -11493.6, -136.194, 'Kudrii'),
(16742, 5, -3889.43, -11495, -136.209, 'Kudrii'),
(16742, 6, -3888.03, -11493.2, -136.188, 'Kudrii'),
(16742, 7, -3887.68, -11490.2, -136.175, 'Kudrii'),
(16742, 8, -3889.3, -11487.8, -136.183, 'Kudrii'),
(16742, 9, -3890.98, -11486.6, -136.2, 'Kudrii'),
(16742, 10, -3893.26, -11486.4, -136.225, 'Kudrii');
@@ -0,0 +1,49 @@
-- Bildine -- http://wotlk.openwow.com/npc=16757
UPDATE `creature` SET `position_x` = -3697.55, `position_y` = -11479.4, `position_z` = -119.491, `orientation` = 1.77213, `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 57747;
UPDATE `creature_template_addon` SET `emote` = 0 WHERE `Entry` = 16757;
UPDATE `creature_template` SET `MovementType` = 0 WHERE `Entry` = 16757;
-- Bildine SAI
SET @ENTRY := 16757;
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,25,0,100,0,0,0,0,0,53,0,16757,1,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Reset - Start Waypoint"),
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Gossip Hello - Pause Waypoint"),
(@ENTRY,0,2,0,40,0,100,0,1,16757,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Waypoint 1 Reached - Pause Waypoint"),
(@ENTRY,0,3,0,40,0,100,0,5,16757,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Waypoint 5 Reached - Run Script"),
(@ENTRY,0,4,0,40,0,100,0,9,16757,0,0,54,120000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Waypoint 9 Reached - Pause Waypoint"),
(@ENTRY,0,5,0,40,0,100,0,11,16757,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Waypoint 11 Reached - Run Script"),
(@ENTRY,0,6,0,40,0,100,0,12,16757,0,0,54,240000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Waypoint 12 Reached - Pause Waypoint");
-- Actionlist SAI
SET @ENTRY := 1675700;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,120000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.06725,"Bildine - On Script - Set Orientation 6,06725"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Set Flag Standstate Kneel"),
(@ENTRY,9,3,0,0,0,100,0,114000,114000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Remove Flag Standstate Kneel");
-- Actionlist SAI
SET @ENTRY := 1675701;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.58345,"Bildine - On Script - Set Orientation 5,58345"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Set Emote State 69"),
(@ENTRY,9,3,0,0,0,100,0,56000,56000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Bildine - On Script - Set Emote State 0");
DELETE FROM `waypoints` WHERE `entry`=16757;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(16757,1,-3697.55,-11479.4,-119.491, 'Bildine'),
(16757,2,-3695.86,-11481.5,-119.479, 'Bildine'),
(16757,3,-3692.86,-11482.8,-119.448, 'Bildine'),
(16757,4,-3690.11,-11485.8,-119.428, 'Bildine'),
(16757,5,-3689.16,-11486.2,-119.418, 'Bildine'),
(16757,6,-3690.65,-11490.3,-119.451, 'Bildine'),
(16757,7,-3692.9,-11491.8,-119.483, 'Bildine'),
(16757,8,-3696.4,-11491.6,-119.523, 'Bildine'),
(16757,9,-3699.65,-11487.4,-119.546, 'Bildine'),
(16757,10,-3698.958,-11484.89,-119.2843, 'Bildine'),
(16757,11,-3698.27,-11485.3,-119.522, 'Bildine'),
(16757,12,-3697.55,-11479.4,-119.491, 'Bildine');
@@ -0,0 +1,54 @@
-- Farseer Nobundo
UPDATE `creature` SET `position_z` = -99.245 WHERE `guid` = 67174;
UPDATE `creature` SET `position_z` = -99.245 WHERE `guid` = 67177;
-- Farseer Nobundo SAI
SET @ENTRY := 17204;
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,25,0,100,0,0,0,0,0,53,0,17204,1,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Reset - Start Waypoint"),
(@ENTRY,0,1,0,40,0,100,0,1,17204,0,0,54,30000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Waypoint 1 Reached - Pause Waypoint"),
(@ENTRY,0,2,0,40,0,100,0,2,17204,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Waypoint 2 Reached - Run Script"),
(@ENTRY,0,3,0,40,0,100,0,9,17204,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Waypoint 9 Reached - Run Script"),
(@ENTRY,0,4,0,40,0,100,0,16,17204,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Waypoint 16 Reached - Pause Waypoint"),
(@ENTRY,0,5,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Gossip Hello - Pause Waypoint");
-- Actionlist SAI
SET @ENTRY := 1720400;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,30000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.82184,"Farseer Nobundo - On Script - Set Orientation 1,82184"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Set Flag Standstate Kneel"),
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Remove Flag Standstate Kneel");
-- Actionlist SAI
SET @ENTRY := 1720401;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,30000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.73819,"Farseer Nobundo - On Script - Set Orientation 5,73819"),
(@ENTRY,9,2,0,0,0,100,0,19000,19000,0,0,11,32991,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Cast 'Nature Cast Visual'"),
(@ENTRY,9,3,0,0,0,100,0,6000,6000,0,0,75,33010,0,0,0,0,0,10,67174,18814,0,0,0,0,0,"Farseer Nobundo - On Script - Add Aura 'Windfury Impact Visual'"),
(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,75,33010,0,0,0,0,0,10,67177,18814,0,0,0,0,0,"Farseer Nobundo - On Script - Add Aura 'Windfury Impact Visual'"),
(@ENTRY,9,5,0,0,0,100,0,0,0,0,0,5,273,0,0,0,0,0,1,0,0,0,0,0,0,0,"Farseer Nobundo - On Script - Play Emote 273");
SET @PATH := 17204;
DELETE FROM `waypoints` WHERE `entry`=17204;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(@PATH,1,-3844.04,-11380.4,-103.781, 'Farseer Nobundo'),
(@PATH,2,-3845.13,-11376.6,-103.779, 'Farseer Nobundo'),
(@PATH,3,-3843.57,-11383.7,-103.789, 'Farseer Nobundo'),
(@PATH,4,-3841.76,-11389.6,-103.79, 'Farseer Nobundo'),
(@PATH,5,-3837.74,-11394.3,-103.758, 'Farseer Nobundo'),
(@PATH,6,-3831.88,-11397.2,-104.576, 'Farseer Nobundo'),
(@PATH,7,-3821.25,-11396.5,-104.446, 'Farseer Nobundo'),
(@PATH,8,-3810.23,-11396,-104.317, 'Farseer Nobundo'),
(@PATH,9,-3804.58,-11397,-104.254, 'Farseer Nobundo'),
(@PATH,10,-3809.89,-11396.1,-104.314, 'Farseer Nobundo'),
(@PATH,11,-3821.03,-11396.5,-104.445, 'Farseer Nobundo'),
(@PATH,12,-3831.71,-11397.2,-104.573, 'Farseer Nobundo'),
(@PATH,13,-3837.76,-11394.4,-103.761, 'Farseer Nobundo'),
(@PATH,14,-3841.95,-11389.5,-103.791, 'Farseer Nobundo'),
(@PATH,15,-3843.63,-11383.7,-103.79, 'Farseer Nobundo'),
(@PATH,16,-3844.04,-11380.4,-103.781, 'Farseer Nobundo');
@@ -0,0 +1,23 @@
-- Fungal Spores -- http://wotlk.openwow.com/quest=848
-- Apothecary Helbrim SAI
SET @ENTRY := 3390;
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,1,20,0,100,0,848,0,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Apothecary Helbrim - On Quest 'Fungal Spores' Finished - Run Script"),
(@ENTRY,0,1,0,61,0,100,0,848,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,"Apothecary Helbrim - On Quest 'Fungal Spores' Finished - Store Targetlist");
-- Actionlist SAI
SET @ENTRY := 339000;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.72937,"Apothecary Helbrim - On Script - Set Orientation 4.72937"),
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Say Line 0"),
(@ENTRY,9,2,0,0,0,100,0,4000,4000,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Set Orientation Store Target"),
(@ENTRY,9,3,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,8,0,0,0,0,0,0,4.72937,"Apothecary Helbrim - On Script - Add Npc Flag Questgiver"),
(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,1,1,6000,0,0,0,0,12,1,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Say Line 1");
DELETE FROM `creature_text` WHERE `CreatureID`=3390;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(3390, 0, 0, '%s places the spores within his alchemical instruments...', 16, 0, 100, 0, 0, 0, 1076, 'Apothecary Helbrim'),
(3390, 1, 0, 'Ah, good. These spores have rendered nicely. Thank you, $n.', 12, 0, 100, 0, 0, 0, 1077, 'Apothecary Helbrim');
@@ -0,0 +1,11 @@
-- Actionlist SAI
SET @ENTRY := 339000;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Remove Npc Flag Questgiver"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.72937,"Apothecary Helbrim - On Script - Set Orientation 4.72937"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Say Line 0"),
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,66,0,0,0,0,0,0,12,1,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Set Orientation Store Target"),
(@ENTRY,9,4,0,0,0,100,0,0,0,0,0,1,1,6000,0,0,0,0,12,1,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Say Line 1"),
(@ENTRY,9,5,0,0,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,"Apothecary Helbrim - On Script - Add Npc Flag Questgiver"),
(@ENTRY,9,6,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,6.23082,"Apothecary Helbrim - On Script - Set Orientation 6.23082");
@@ -0,0 +1,22 @@
-- The Sparklematic 5200 SAI
SET @ENTRY := 142487;
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,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
-- The Sparklematic 5200 SAI
SET @ENTRY := 175084;
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,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
-- The Sparklematic 5200 SAI
SET @ENTRY := 175085;
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,20,0,100,0,0,0,0,0,93,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"The Sparklematic 5200 - On Quest Finished - Send Custom Animation 0");
UPDATE `creature_loot_template` SET `QuestRequired`=0 WHERE `Item`=9308;
@@ -0,0 +1,53 @@
-- Tuluun <Shaman Trainer> + Draenei Artificer Hate Conversation -- http://wotlk.openwow.com/npc=17212 + http://wotlk.openwow.com/npc=17228
UPDATE `creature` SET `position_x`=-4149.24, `position_y`=-12465, `position_z`=45.3466, `orientation`=5.67608 WHERE `guid`=61962;
-- Draenei Artificer SAI
SET @ENTRY := 17228;
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,1,0,100,0,20000,20000,176000,176000,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - Out of Combat - Run Script"),
(@ENTRY,0,1,0,1,0,100,0,65000,65000,176000,176000,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - Out of Combat - Run Script"),
(@ENTRY,0,2,0,1,0,100,0,118000,118000,176000,176000,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - Out of Combat - Run Script");
-- Actionlist SAI
SET @ENTRY := 1722800;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,1000,1000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 0"),
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,66,0,0,0,0,0,0,10,61721,17212,0,0,0,0,0,"Draenei Artificer - On Script - Set Orientation Closest Creature 'Tuluun'"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Say Line 0"),
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,1,1,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Say Line 1"),
(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.67608,"Draenei Artificer - On Script - Set Orientation 5.67608"),
(@ENTRY,9,5,0,0,0,100,0,2000,2000,0,0,17,234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 234");
-- Actionlist SAI
SET @ENTRY := 1722801;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,1000,1000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 0"),
(@ENTRY,9,1,0,0,0,100,0,3000,3000,0,0,66,0,0,0,0,0,0,10,61721,17212,0,0,0,0,0,"Draenei Artificer - On Script - Set Orientation Closest Creature 'Tuluun'"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,1,2,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Say Line 2"),
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.67608,"Draenei Artificer - On Script - Set Orientation 5.67608"),
(@ENTRY,9,4,0,0,0,100,0,3000,3000,0,0,17,234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 234");
-- Actionlist SAI
SET @ENTRY := 1722802;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,1000,1000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 0"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,59,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Run Off"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,69,0,0,0,0,0,0,8,0,0,0,-4160.31,-12458.7,44.5919,2.08552,"Draenei Artificer - On Script - Move To Position"),
(@ENTRY,9,3,0,0,0,100,0,8000,8000,0,0,66,0,0,0,0,0,0,10,61721,17212,0,0,0,0,0,"Draenei Artificer - On Script - Set Orientation Closest Creature 'Tuluun'"),
(@ENTRY,9,4,0,0,0,100,0,2000,2000,0,0,1,3,10000,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Say Line 3"),
(@ENTRY,9,5,0,0,0,100,0,3000,3000,0,0,69,0,0,0,0,0,0,8,0,0,0,-4149.24,-12465,45.3466,5.67608,"Draenei Artificer - On Script - Move To Position"),
(@ENTRY,9,6,0,0,0,100,0,7000,7000,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.67608,"Draenei Artificer - On Script - Set Orientation 5.67608"),
(@ENTRY,9,7,0,0,0,100,0,2000,2000,0,0,17,234,0,0,0,0,0,1,0,0,0,0,0,0,0,"Draenei Artificer - On Script - Set Emote State 234");
DELETE FROM `creature_text` WHERE `CreatureID`=17228;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(17228, 0, 0, 'How can I be expected to get any work done with that thing spreading its heresy?', 12, 0, 100, 0, 0, 0, 14383, 'Draenei Artificer'),
(17228, 1, 0, '%s sighs disgustedly as he turns back to his work.', 16, 0, 100, 0, 0, 0, 14384, 'Draenei Artificer'),
(17228, 2, 0, 'Turning to face Tuluun, the %s sneers contemptuously.', 16, 0, 100, 0, 0, 0, 14381, 'Draenei Artificer'),
(17228, 3, 0, 'We do not need your kind here.', 12, 0, 100, 0, 0, 0, 14382, 'Draenei Artificer');
@@ -0,0 +1,82 @@
-- Missing spawns
SET @GUID_1 := 73937; -- ONE FREE GUID SET BY TC
DELETE FROM `creature` WHERE `guid` = @GUID_1;
INSERT INTO `creature` (guid, id, map, spawnDifficulties, phaseId, phaseGroup, phaseUseFlags, modelid, equipment_id, position_x, position_y, position_z, orientation, spawntimesecs, spawndist, currentwaypoint, curhealth, curmana, MovementType) VALUES
-- Exodar Invisible stalker
(@GUID_1,18814,530,'0',0,0,0,0,0,-3669.94,-11450.8,-114.348,4.31096,300,0,0,42,0,0);
-- Hobahken
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 63013;
-- Hobahken SAI
SET @ENTRY := 17519;
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,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Gossip Hello - Pause Waypoint"),
(@ENTRY,0,1,0,25,0,100,0,0,0,0,0,53,0,17519,1,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Reset - Start Waypoint"),
(@ENTRY,0,2,0,40,0,100,0,5,17519,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Waypoint 5 Reached - Run Script"),
(@ENTRY,0,3,0,40,0,100,0,10,17519,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Waypoint 10 Reached - Run Script"),
(@ENTRY,0,4,0,40,0,100,0,16,17519,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Waypoint 16 Reached - Run Script");
-- Actionlist SAI
SET @ENTRY := 1751900;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.95367,"Hobahken - On Script - Set Orientation 4,95367"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Play Emote 25"),
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,11,32993,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Cast 'Fire Cast Visual'"),
(@ENTRY,9,4,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,10,@GUID_1,18814,0,0,0,0,0,"Hobahken - On Script - Set Data 1 1"),
(@ENTRY,9,5,0,0,0,100,0,1000,1000,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Play Emote 15");
-- Actionlist SAI
SET @ENTRY := 1751901;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.0094,"Hobahken - On Script - Set Orientation 1,0094"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,12000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,25,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Play Emote 25"),
(@ENTRY,9,3,0,0,0,100,0,2000,2000,0,0,11,32993,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Cast 'Fire Cast Visual'"),
(@ENTRY,9,4,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,10,67183,18814,0,0,0,0,0,"Hobahken - On Script - Set Data 1 1"),
(@ENTRY,9,5,0,0,0,100,0,1000,1000,0,0,5,15,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Play Emote 15");
-- Actionlist SAI
SET @ENTRY := 1751902;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.16139,"Hobahken - On Script - Set Orientation 3,16139"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,240000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Set Flag Standstate Kneel"),
(@ENTRY,9,3,0,0,0,100,0,235000,235000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Hobahken - On Script - Remove Flag Standstate Kneel");
-- Exodar Invisible Stalker SAI
SET @GUID := -@GUID_1;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18814;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
(@GUID,0,0,0,38,0,100,0,1,1,0,0,11,33002,0,0,0,0,0,1,0,0,0,0,0,0,0,"Exodar Invisible Stalker - On Data Set 1 1 - Cast 'Flame Strike Impact Visual'");
-- Exodar Invisible Stalker SAI
SET @GUID := -67183;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
(@GUID,0,0,0,38,0,100,0,1,1,0,0,11,33002,0,0,0,0,0,1,0,0,0,0,0,0,0,"Exodar Invisible Stalker - On Data Set 1 1 - Cast 'Flame Strike Impact Visual'");
DELETE FROM `waypoints` WHERE `entry`=17519;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(17519,1,-3668.56,-11437.6,-118.19, 'Hobahken'),
(17519,2,-3671.81,-11439.1,-118.235, 'Hobahken'),
(17519,3,-3673.06,-11442.1,-118.261, 'Hobahken'),
(17519,4,-3673.06,-11444.6,-118.27, 'Hobahken'),
(17519,5,-3671.56,-11447.3,-118.264, 'Hobahken'),
(17519,6,-3678.77,-11443.1,-118.331, 'Hobahken'),
(17519,7,-3680.02,-11433.8,-118.312, 'Hobahken'),
(17519,8,-3676.52,-11430.3,-118.256, 'Hobahken'),
(17519,9,-3674.02,-11429.6,-118.225, 'Hobahken'),
(17519,10,-3674.48,-11427.8,-118.224, 'Hobahken'),
(17519,11,-3671.77,-11431.3,-118.205, 'Hobahken'),
(17519,12,-3667.77,-11431.8,-118.158, 'Hobahken'),
(17519,13,-3663.27,-11432.6,-118.11, 'Hobahken'),
(17519,14,-3661.02,-11435.8,-118.096, 'Hobahken'),
(17519,15,-3662.52,-11436.6,-118.116, 'Hobahken'),
(17519,16,-3665.56,-11436.8,-118.154, 'Hobahken');
@@ -0,0 +1,77 @@
-- Gurrag -- http://wotlk.openwow.com/npc=17520
UPDATE `creature_template_addon` SET `bytes1` = 0 WHERE `Entry` = 17520;
-- Gurrag SAI
SET @ENTRY := 17520;
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,25,0,100,0,0,0,0,0,53,0,17520,1,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Reset - Start Waypoint"),
(@ENTRY,0,1,0,40,0,100,0,1,17520,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Waypoint 1 Reached - Run Script"),
(@ENTRY,0,2,0,40,0,100,0,5,17520,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Waypoint 5 Reached - Run Script"),
(@ENTRY,0,3,0,40,0,100,0,6,17520,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Waypoint 6 Reached - Run Script"),
(@ENTRY,0,4,0,40,0,100,0,7,17520,0,0,80,@ENTRY*100+03,2,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Waypoint 7 Reached - Run Script"),
(@ENTRY,0,5,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Gossip Hello - Pause Waypoint");
-- Actionlist SAI
SET @ENTRY := 1752000;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,1.74215,"Gurrag - On Script - Set Orientation 1.74215"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,90,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Set Flag Standstate Kneel"),
(@ENTRY,9,3,0,0,0,100,0,57000,57000,0,0,91,8,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Remove Flag Standstate Kneel");
-- Actionlist SAI
SET @ENTRY := 1752001;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.38812,"Gurrag - On Script - Set Orientation 0.38812"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,9000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,11,32991,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Cast 'Nature Cast Visual'"),
(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,10,67170,18814,0,0,0,0,0,"Gurrag - On Script - Set Data 1 1 Exodar Invisible Stalker");
-- Actionlist SAI
SET @ENTRY := 1752002;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.21458,"Gurrag - On Script - Set Orientation 4.21458"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,3000,3000,0,0,90,1,0,0,0,0,0,0,0,0,0,0,0,0,0,"Gurrag - On Script - Set Flag Standstate Sit Down"),
(@ENTRY,9,3,0,0,0,100,0,57000,57000,0,0,91,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Remove Flag Standstate Sit Down");
-- Actionlist SAI
SET @ENTRY := 1752003;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.31923,"Gurrag - On Script - Set Orientation 3.31923"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,54,9000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Pause Waypoint"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,11,32991,0,0,0,0,0,1,0,0,0,0,0,0,0,"Gurrag - On Script - Cast 'Nature Cast Visual'"),
(@ENTRY,9,3,0,0,0,100,0,5000,5000,0,0,45,1,1,0,0,0,0,10,67169,18814,0,0,0,0,0,"Gurrag - On Script - Set Data 1 1 Exodar Invisible Stalker'");
-- Exodar Invisible Stalker SAI
SET @GUID := -67170;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18814;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
(@GUID,0,0,0,38,0,100,0,1,1,0,0,11,32994,0,0,0,0,0,1,0,0,0,0,0,0,0,"Exodar Invisible Stalker - On Data Set 1 1 - Cast 'Rejuvenation Impact Visual'");
-- Exodar Invisible Stalker SAI
SET @GUID := -67169;
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=18814;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@GUID 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
(@GUID,0,0,0,38,0,100,0,1,1,0,0,11,32994,0,0,0,0,0,1,0,0,0,0,0,0,0,"Exodar Invisible Stalker - On Data Set 1 1 - Cast 'Rejuvenation Impact Visual'");
SET @PATH := 17520;
DELETE FROM `waypoints` WHERE `entry`=17520;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(@PATH,1,-3889.26,-11323,-126.291, 'Gurrag'),
(@PATH,2,-3886.08,-11331,-126.283, 'Gurrag'),
(@PATH,3,-3883.83,-11333.7,-126.268, 'Gurrag'),
(@PATH,4,-3879.58,-11333,-126.214, 'Gurrag'),
(@PATH,5,-3878.4,-11331.9,-126.197, 'Gurrag'),
(@PATH,6,-3885.76,-11338.8,-126.31, 'Gurrag'),
(@PATH,7,-3892.54,-11336,-126.379, 'Gurrag'),
(@PATH,8,-3889.65,-11334.5,-126.339, 'Gurrag'),
(@PATH,9,-3887.65,-11331,-126.302, 'Gurrag'),
(@PATH,10,-3889.26,-11323,-126.291, 'Gurrag');
@@ -0,0 +1,2 @@
--
UPDATE `smart_scripts` SET `action_param1`=18950, `comment`='Arcane Protector - Out of Combat - Cast \'Invisibility and Stealth Detection\'' WHERE `entryorguid`=16504 AND `source_type`=0 AND `id`=2 AND `link`=0;
@@ -0,0 +1,195 @@
--
-- Bloodmyst Isle
-- Update spawnposition
UPDATE `creature` SET `position_x` = -2347.824219, `position_y` = -11363.384766, `position_z` = 27.942247, `orientation` = 1.895, `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 62369;
UPDATE `creature` SET `position_x` = -2571.970459, `position_y` = -11343.209961, `position_z` = 25.304287, `spawndist` = 10, `MovementType` = 1 WHERE `guid` = 62370;
UPDATE `creature` SET `position_x` = -2551.867188, `position_y` = -11275.340820, `position_z` = 36.856060, `spawndist` = 10, `MovementType` = 1 WHERE `guid` = 62391;
UPDATE `creature` SET `position_x` = -2442.700684, `position_y` = -11346.622070, `position_z` = 30.975761, `spawndist` = 10, `MovementType` = 1 WHERE `guid` = 62356;
UPDATE `creature` SET `position_x` = -2331.138184, `position_y` = -11346.259766, `position_z` = 30.188799, `spawndist` = 10, `MovementType` = 1 WHERE `guid` = 62388;
UPDATE `creature` SET `position_x` = -2394.431396, `position_y` = -11369.132813, `position_z` = 30.477755, `spawndist` = 10, `MovementType` = 1 WHERE `guid` = 62387;
UPDATE `creature` SET `position_x` = -2418.719727, `position_y` = -11211.605469, `position_z` = 24.287613, `spawndist` = 0, `MovementType` = 0 WHERE `guid` = 62399;
UPDATE `creature` SET `position_x` = -2476.131348, `position_y` = -11252.391602, `position_z` = 28.754663 WHERE `guid` = 62358;
UPDATE `creature` SET `position_x` = -2510.596924, `position_y` = -11405.423828, `position_z` = 39.383987 WHERE `guid` = 62371;
UPDATE `creature` SET `position_x` = -2474.837158, `position_y` = -11339.492188, `position_z` = 33.152016 WHERE `guid` = 62390;
UPDATE `creature` SET `position_x` = -2437.940186, `position_y` = -11347.955078, `position_z` = 30.266029 WHERE `guid` = 62356;
UPDATE `creature` SET `spawndist` = 0, `MovementType` = 0 WHERE `guid` IN (62394,62357,62404,62368,62403,62397,62399,62396,62365,62366,62382,62372,62389,62355,62378,62382,62373,62379);
-- Waypoints & Text for Boss
UPDATE `creature` SET `position_x` = -2542.234375, `position_y` = -11328.796875, `position_z` = 22.867491, `orientation` = 0.662011, `spawndist` = 0, `MovementType` = 0, `spawntimesecs` = 120 WHERE `guid` = 84399;
-- Tzerak SAI
SET @ENTRY := 17528;
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,25,0,100,0,0,0,0,0,53,0,17528,0,0,0,2,1,0,0,0,0,0,0,0,"Tzerak - On Reset - Start Waypoint Aggressive"),
(@ENTRY,0,1,2,40,0,100,0,15,17528,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.01264,"Tzerak - On Waypoint 15 Reached - Set Orientation 3,01264"),
(@ENTRY,0,2,3,61,0,100,0,15,17528,0,0,41,120000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tzerak - On Waypoint 15 Reached - Despawn In 120000 ms"),
(@ENTRY,0,3,0,61,0,100,0,15,17528,0,0,54,120000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tzerak - On Waypoint 15 Reached - Pause Waypoint"),
(@ENTRY,0,4,5,40,0,100,0,1,17528,0,0,54,1000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Tzerak - On Waypoint 1 Reached - Pause Waypoint"),
(@ENTRY,0,5,0,61,0,100,0,1,17528,0,0,1,0,10000,0,0,0,0,1,0,0,0,0,0,0,0,"Tzerak - On Waypoint 1 Reached - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=17528;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17528, 0, 0, 'Fools! Weaklings! Tzerak has no need of your assistance!', 14, 0, 100, 0, 0, 0, 14070, 1, 'Tzerak');
DELETE FROM `waypoints` WHERE `entry`=17528;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(17528, 1, -2542.23, -11328.8, 22.8675, 'Tzerak'),
(17528, 2, -2524.86, -11312.4, 25.5424, 'Tzerak'),
(17528, 3, -2516.88, -11305, 29.4704, 'Tzerak'),
(17528, 4, -2504.32, -11295.3, 32.0184, 'Tzerak'),
(17528, 5, -2484.1, -11275.5, 33.354, 'Tzerak'),
(17528, 6, -2470.59, -11269.7, 30.1162, 'Tzerak'),
(17528, 7, -2434.22, -11274.3, 30.9809, 'Tzerak'),
(17528, 8, -2417.37, -11278, 30.3146, 'Tzerak'),
(17528, 9, -2407.49, -11286, 33.2194, 'Tzerak'),
(17528, 10, -2395.33, -11298.7, 29.1992, 'Tzerak'),
(17528, 11, -2384.19, -11290, 31.0475, 'Tzerak'),
(17528, 12, -2359.67, -11270.9, 28.8272, 'Tzerak'),
(17528, 13, -2347.69, -11268.9, 30.022, 'Tzerak'),
(17528, 14, -2315.89, -11266.3, 35.8439, 'Tzerak'),
(17528, 15, -2315.89, -11266.3, 35.8439, 'Tzerak');
-- Waypoints for Trashspawn
SET @NPC := 62392;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2521.73,-11261.4,36.1656, 30000, 0,1.7332),
(@PATH,2,-2522.38,-11282,36.231, 300000, 0,1.13446);
SET @NPC := 62361;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2380.99,-11345,28.0672, 150000, 0,6.26573),
(@PATH,2,-2360.98,-11344.1,27.9434, 30000, 0,6.18013),
(@PATH,3,-2380.99,-11345,28.0672, 150000, 0,6.26573);
SET @NPC := 62395;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2448.85,-11322.6,30.4971, 50000, 0,0.907571),
(@PATH,2,-2436.76,-11310.8,28.9112, 30000, 0,0.686272),
(@PATH,3,-2448.85,-11322.6,30.4971, 250000, 0,0.907571);
SET @NPC := 62398;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2461.01,-11392.8,37.3679, 60000, 0,4.08407),
(@PATH,2,-2471.12,-11398,37.3497, 30000, 0,3.41946),
(@PATH,3,-2461.01,-11392.8,37.3679, 240000, 0,4.08407);
SET @NPC := 62385;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2519.93,-11124.8,16.9338, 100000, 0,4.79965),
(@PATH,2,-2523.45,-11140,16.8102, 30000, 0,4.45305),
(@PATH,3,-2519.93,-11124.8,16.9338, 180000, 0,4.79965);
SET @NPC := 62384;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2314.89,-11196.5,14.0951, 180000, 0,2.09439),
(@PATH,2,-2322.53,-11181.1,13.9421, 30000, 0,2.20995),
(@PATH,3,-2314.89,-11196.5,14.0951, 120000, 0,2.09439);
SET @NPC := 62400;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2346.76,-11178.5,14.0671, 160000, 0,5.70723),
(@PATH,2,-2328.47,-11177.5,13.9423, 50000, 0,6.18407),
(@PATH,3,-2346.76,-11178.5,14.0671, 140000, 0,5.70723);
SET @NPC := 62374;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2425.44,-11239.8,24.389, 40000, 0,2.33874),
(@PATH,2,-2430.69,-11227.7,23.4846, 30000, 0,2.01753),
(@PATH,3,-2425.44,-11239.8,24.389, 260000, 0,2.33874);
SET @NPC := 62363;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2417.53,-11219.3,24.298, 0, 0,3.83202),
(@PATH,2,-2420.09,-11224.6,24.2207, 0, 0,4.58285),
(@PATH,3,-2417.4,-11234.2,24.287, 0, 0,5.35254),
(@PATH,4,-2407.2,-11243.3,25.2017, 0, 0,5.6392),
(@PATH,5,-2384.96,-11255.4,28.4475, 0, 0,5.79235),
(@PATH,6,-2365.68,-11262.6,28.6973, 0, 0,6.03975),
(@PATH,7,-2350.64,-11264.9,29.9547, 0, 0,6.2361),
(@PATH,8,-2327.79,-11264.1,34.9404, 10000, 0,0.0864284),
(@PATH,9,-2349.93,-11264.9,30.0943, 0, 0,3.14163),
(@PATH,10,-2365.42,-11262.5,28.7001, 0, 0,2.85496),
(@PATH,11,-2384.81,-11255.5,28.4646, 0, 0,2.71751),
(@PATH,12,-2406.78,-11243.7,25.2684, 0, 0,2.56436),
(@PATH,13,-2417.21,-11234.5,24.289, 0, 0,2.3523),
(@PATH,14,-2420.1,-11225.2,24.2164, 0, 0,1.70435),
(@PATH,15,-2418.02,-11219.3,24.2921, 0, 0,0.344823),
(@PATH,16,-2413.14,-11217.1,24.4672, 300000, 0,3.40339);
SET @NPC := 62393;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `spawndist`=0,`MovementType`=2 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES (@NPC,@PATH,0,0,1,0, '');
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`, `delay`, `action`, `orientation`) VALUES
(@PATH,1,-2525.62,-11248.4,36.167, 0, 0,5.98869),
(@PATH,2,-2516.71,-11251.2,36.167, 0, 0,5.89052),
(@PATH,3,-2504.22,-11260.2,36.167, 0, 0,5.65097),
(@PATH,4,-2487.4,-11265.7,33.7935, 0, 0,6.03189),
(@PATH,5,-2473.42,-11269.1,30.2829, 0, 0,6.05938),
(@PATH,6,-2448.13,-11275.2,29.8481, 0, 0,6.10257),
(@PATH,7,-2422.05,-11279.3,29.9044, 0, 0,6.13791),
(@PATH,8,-2406.46,-11281.8,32.759, 0, 0,2.6226),
(@PATH,9,-2380.68,-11277.7,29.0944, 0, 0,0.212084),
(@PATH,10,-2357.97,-11269.4,28.8948, 0, 0,0.116265),
(@PATH,11,-2329.64,-11267.7,34.2848, 15000, 0,0.0769952),
(@PATH,12,-2358.23,-11269.7,28.8781, 0, 0,3.35996),
(@PATH,13,-2380.33,-11277.9,29.0908, 0, 0,3.37959),
(@PATH,14,-2395.13,-11282,30.7833, 0, 0,3.08507),
(@PATH,15,-2406.13,-11281.8,32.7515, 0, 0,2.99868),
(@PATH,16,-2417.89,-11280.1,30.0178, 0, 0,2.99868),
(@PATH,17,-2446.36,-11275.3,29.9164, 0, 0,2.95941),
(@PATH,18,-2470.62,-11269.9,30.1313, 0, 0,2.9759),
(@PATH,19,-2485.65,-11266.4,33.2662, 0, 0,2.85338),
(@PATH,20,-2503.47,-11260.9,36.1658, 0, 0,2.62797),
(@PATH,21,-2517.11,-11250.9,36.1658, 0, 0,2.77327),
(@PATH,22,-2527.37,-11249.6,36.1658, 0, 0,3.32697),
(@PATH,23,-2542.37,-11253,36.2131, 300000, 0,6.14356);
@@ -0,0 +1,25 @@
-- Jessera of Mac'Aree SAI
SET @ENTRY := 17663;
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,1,0,100,0,60000,60000,60000,60000,1,0,10000,0,0,0,0,1,0,0,0,0,0,0,0,"Jessera of Mac'Aree - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=17663;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(17663, 0, 0, 'If only I could get back to the mushroom thicket. I have not seen such a mature cluster in my lifetime!', 12, 7, 100, 0, 0, 0, 14269, 'Jessera of Mac''Aree');
-- Messenger Hermesius SAI
SET @ENTRY := 17703;
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,1,0,100,0,20000,25000,20000,25000,1,0,5000,0,0,0,0,1,0,0,0,0,0,0,0,"Messenger Hermesius - Out of Combat - Say Line 0");
DELETE FROM `creature_text` WHERE `CreatureID`=17703;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `comment`) VALUES
(17703, 0, 0, 'Don\'t you people ever check the mail?', 12, 7, 100, 0, 0, 0, 14328, 'Messenger Hermesius'),
(17703, 0, 1, 'How am I expected to deliver all of these messages?', 12, 7, 100, 0, 0, 0, 14329, 'Messenger Hermesius'),
(17703, 0, 2, 'I need to be re-assigned. This job is pushing me over the edge...', 12, 7, 100, 0, 0, 0, 14330, 'Messenger Hermesius'),
(17703, 0, 3, 'He thinks he''s so damned important. Always pushing me around... I''ll show him. I''ll show all of them!', 12, 7, 100, 0, 0, 0, 14332, 'Messenger Hermesius'),
(17703, 0, 4, 'One of these days I''m going to bust out the crystalline doomhammer and go positively orc on this town. Then they''ll be sorry...', 12, 7, 100, 0, 0, 0, 14331, 'Messenger Hermesius');
@@ -0,0 +1,2 @@
--
UPDATE `creature_onkill_reputation` SET `RewOnKillRepValue1`=20 WHERE `creature_id`=9816;
@@ -0,0 +1,121 @@
-- "Cookie McWeaksauce -- http://wotlk.openwow.com/npc=17246
UPDATE `creature` SET `position_x`=-4710.87, `position_y`=-12400.6, `position_z`=12.1142, `orientation`=1.1577 WHERE `guid`=61976;
-- "Cookie" McWeaksauce SAI
SET @ENTRY := 17246;
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,54,0,100,0,0,0,0,0,5,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Just Summoned - Play Emote 10"),
(@ENTRY,0,1,0,64,0,100,0,0,0,0,0,54,180000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Gossip Hello - Pause Waypoint"),
(@ENTRY,0,2,0,40,0,100,0,1,17246,0,0,80,@ENTRY*100+00,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 1 Reached - Run Script"),
(@ENTRY,0,3,0,40,0,100,0,2,17246,0,0,80,@ENTRY*100+01,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 2 Reached - Run Script"),
(@ENTRY,0,4,0,40,0,100,0,4,17246,0,0,80,@ENTRY*100+02,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 4 Reached - Run Script"),
(@ENTRY,0,5,0,40,0,100,0,5,17246,0,0,80,@ENTRY*100+03,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 5 Reached - Run Script"),
(@ENTRY,0,6,0,40,0,100,0,6,17246,0,0,80,@ENTRY*100+04,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 6 Reached - Run Script"),
(@ENTRY,0,7,0,40,0,100,0,10,17246,0,0,80,@ENTRY*100+05,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 10 Reached - Run Script"),
(@ENTRY,0,8,0,40,0,100,0,13,17246,0,0,80,@ENTRY*100+04,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 13 Reached - Run Script"),
(@ENTRY,0,9,0,40,0,100,0,18,17246,0,0,80,@ENTRY*100+04,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 18 Reached - Run Script"),
(@ENTRY,0,10,0,40,0,100,0,19,17246,0,0,80,@ENTRY*100+06,2,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Waypoint 19 Reached - Run Script"),
(@ENTRY,0,11,0,25,0,100,0,0,0,0,0,53,0,17246,1,0,0,1,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Reset - Start Waypoint");
-- Actionlist SAI
SET @ENTRY := 1724600;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,25000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.957318,"Cookie McWeaksauce - On Script - Set Orientation 0,957318");
-- Actionlist SAI
SET @ENTRY := 1724601;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,6000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.957318,"Cookie McWeaksauce - On Script - Set Orientation 0,957318"),
(@ENTRY,9,2,0,0,0,100,0,0,0,0,0,48,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Active On"),
(@ENTRY,9,3,0,0,0,100,0,1000,1000,0,0,66,0,0,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Orientation Closest Creature 'Admiral Odesyus'"),
(@ENTRY,9,4,0,0,0,100,0,1000,1000,0,0,45,1,1,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Data 1 1"),
(@ENTRY,9,5,0,0,0,100,0,1000,1000,0,0,1,0,5000,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 0"),
(@ENTRY,9,6,0,0,0,100,0,3000,3000,0,0,5,6,0,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Play Emote 6");
-- Actionlist SAI
SET @ENTRY := 1724602;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,48000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,5.20039,"Cookie McWeaksauce - On Script - Set Orientation 5.20039"),
(@ENTRY,9,2,0,0,0,100,0,1000,1000,0,0,1,0,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 0"),
(@ENTRY,9,3,0,0,0,100,0,4000,4000,0,0,1,1,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 1"),
(@ENTRY,9,4,0,0,0,100,0,6000,6000,0,0,1,2,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 2"),
(@ENTRY,9,5,0,0,0,100,0,6000,6000,0,0,1,1,3000,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 1"),
(@ENTRY,9,6,0,0,0,100,0,3000,3000,0,0,5,6,0,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Play Emote 6"),
(@ENTRY,9,7,0,0,0,100,0,6000,6000,0,0,1,3,6000,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 3"),
(@ENTRY,9,8,0,0,0,100,0,3000,3000,0,0,11,30221,0,0,0,0,0,19,620,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Cast 'Shoot'"),
(@ENTRY,9,9,0,0,0,100,0,4000,4000,0,0,1,4,4000,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 4"),
(@ENTRY,9,10,0,0,0,100,0,4000,4000,0,0,1,2,5000,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Say Line 2"),
(@ENTRY,9,11,0,0,0,100,0,3000,3000,0,0,45,2,2,0,0,0,0,10,61965,17240,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Data 2 2");
-- Actionlist SAI
SET @ENTRY := 1724603;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,30000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.957318,"Cookie McWeaksauce - On Script - Set Orientation 0,957318");
-- Actionlist SAI
SET @ENTRY := 1724604;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,30000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,2000,2000,0,0,17,69,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Emote State 69"),
(@ENTRY,9,2,0,0,0,100,0,26000,26000,0,0,17,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Set Emote State 0");
-- Actionlist SAI
SET @ENTRY := 1724605;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,5000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,3.40099,"Cookie McWeaksauce - On Script - Set Orientation 3,40099"),
(@ENTRY,9,2,0,0,0,100,0,2000,2000,0,0,5,16,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Play Emote 16");
-- Actionlist SAI
SET @ENTRY := 1724606;
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY AND `source_type`=9;
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,9,0,0,0,0,100,0,0,0,0,0,54,60000,0,0,0,0,0,1,0,0,0,0,0,0,0,"Cookie McWeaksauce - On Script - Pause Waypoint"),
(@ENTRY,9,1,0,0,0,100,0,0,0,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,0.957318,"Cookie McWeaksauce - On Script - Set Orientation 0,957318");
-- Buddy Target Scripts
-- Admiral Odesyus SAI
SET @ENTRY := 17240;
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,64,0,100,0,0,0,0,0,33,17240,0,0,0,0,0,7,0,0,0,0,0,0,0,"Admiral Odesyus - On Gossip Hello - Quest Credit ''"),
(@ENTRY,0,1,0,54,0,100,0,0,0,0,0,22,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Admiral Odesyus - On Just Summoned - Set Event Phase 1"),
(@ENTRY,0,2,0,1,1,100,0,0,0,0,0,5,10,0,0,0,0,0,1,0,0,0,0,0,0,0,"Admiral Odesyus - Out of Combat - Play Emote 10 (Phase 1)"),
(@ENTRY,0,3,0,38,0,100,0,1,1,0,0,66,0,0,0,0,0,0,19,17246,20,0,0,0,0,0,"Admiral Odesyus - On Data Set 1 1 - Set Orientation Closest Creature 'Cookie McWeaksauce'"),
(@ENTRY,0,4,0,38,0,100,0,2,2,0,0,66,0,0,0,0,0,0,8,0,0,0,0,0,0,4.380780,"Admiral Odesyus - On Data Set 2 2 - Set Orientation 4,380780");
UPDATE `creature_text` SET `BroadcastTextId`=13703 WHERE `CreatureID`=17246 AND `GroupID`=3 AND `ID`=0;
DELETE FROM `waypoints` WHERE `entry`=17246;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
(17246,1,-4708.59,-12400.3,11.8799, 'Cookie McWeaksauce'),
(17246,2,-4708.59,-12400.3,11.8799, 'Cookie McWeaksauce'),
(17246,3,-4704.573,-12405.38,12.4597,'Cookie McWeaksauce'),
(17246,4,-4704.573,-12405.38,12.4597,'Cookie McWeaksauce'),
(17246,5,-4708.59,-12400.3,11.8799, 'Cookie McWeaksauce'),
(17246,6,-4708.59,-12400.3,11.8799, 'Cookie McWeaksauce'),
(17246,7,-4706.2,-12401.6,12.0858, 'Cookie McWeaksauce'),
(17246,8,-4702.63,-12401.1,11.7653, 'Cookie McWeaksauce'),
(17246,9,-4699.89,-12398.4,11.6181, 'Cookie McWeaksauce'),
(17246,10,-4700.77,-12395,11.6193, 'Cookie McWeaksauce'),
(17246,11,-4703.86,-12392.2,11.6306, 'Cookie McWeaksauce'),
(17246,12,-4707.55,-12390.8,11.7246, 'Cookie McWeaksauce'),
(17246,13,-4710.58,-12394,11.8418, 'Cookie McWeaksauce'),
(17246,14,-4713.32,-12394.2,11.7392, 'Cookie McWeaksauce'),
(17246,15,-4714.78,-12398.2,11.8794, 'Cookie McWeaksauce'),
(17246,16,-4715.03,-12401.5,11.9805, 'Cookie McWeaksauce'),
(17246,17,-4713.15,-12405.1,12.0613, 'Cookie McWeaksauce'),
(17246,18,-4710.72,-12400.9,11.8921, 'Cookie McWeaksauce'),
(17246,19,-4708.59,-12400.3,11.8799, 'Cookie McWeaksauce');