eversong woods

This commit is contained in:
luis
2026-11-18 23:20:33 -03:00
parent aaa3641e44
commit fc10919774
@@ -0,0 +1,633 @@
-- A Missing Member
SET @ENTRY := 93511;
INSERT IGNORE INTO `quest_template_addon` (`ID`) VALUES (@ENTRY);
UPDATE `quest_template_addon` SET `ScriptName` = 'SmartQuest' WHERE `ID` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 5 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 0, 171, 93511, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Player who accepted: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 93511 AND `SourceId` = 5;
-- Naleidea Rivergleam smart ai
SET @ENTRY := 242398;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 41594, 0, 0, 0, 0, 33, 230350, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41594 selected - Gossip player: Give kill credit Trash Pile (230350)', ''),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 41594, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41594 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 242398, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Naleidea Rivergleam (242398)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 242398 AND `SourceId` = 0;
UPDATE `quest_objectives` SET `Type`=0 WHERE `ID`=466659;
UPDATE `quest_objectives` SET `Type`=0 WHERE `ID`=466660;
DELETE FROM `creature` WHERE `guid`=905287;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905287, 254565, 0, 15969, 16079, '0', 0, 0, 0, -1, 0, 0, 8309.21, -4809.35, 74.7024, 0.717009, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
-- Delver's Guide smart ai
SET @ENTRY := 254565;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 41163, 0, 0, 0, 0, 33, 254565, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41163 selected - Gossip player: Give kill credit Delver\'s Guide (254565)', ''),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 41163, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41163 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 242399, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Telemancer Astrandis (242399)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 254565 AND `SourceId` = 0;
DELETE FROM `creature_questender` WHERE `id`=242381 AND `quest`=93501;
INSERT INTO `creature_questender` (`id`, `quest`, `VerifiedBuild`) VALUES (242381, 93501, 0);
DELETE FROM `creature_questender` WHERE `id` = 242381;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES
(242381, 91918),
(242381, 93501),
(242381, 93511),
(242381, 93519),
(242381, 93525),
(242381, 97321),
(242381, 97454),
(242381, 97482);
-- Nelthius Shadestone smart ai
SET @ENTRY := 254616;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 41247, 0, 0, 0, 0, 153, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41247 selected - Self: Credit quest objective talk to', ''),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 41247, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 41247 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 93453, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 254616 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 3, 254616, 0, 0, 9, 0, 93453, 0, 0, '', 0, 'Action invoker has quest A Grave Concern (93453) active');
DELETE FROM `creature` WHERE `guid`=905288;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905288, 250181, 0, 15969, 16099, '0', 0, 0, 0, -1, 0, 0, 9096.52, -4277.39, 14.2058, 2.5314, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=249794;
DELETE FROM `creature_template_gossip` WHERE `CreatureID`=249794 AND `MenuID`=1;
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES (249794, 1, 47936);
-- Emberstrike smart ai
SET @ENTRY := 249794;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 92122, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 249794 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, 249794, 0, 0, 9, 0, 92122, 0, 0, '', 0, 'Action invoker has quest Beneath the Sunsails (92122) active');
-- Salandria smart ai
SET @ENTRY := 242893;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 90552, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 242893 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, 242893, 0, 0, 9, 0, 90552, 0, 0, '', 0, 'Action invoker has quest Interrogation (90552) active');
-- Valdekar Solaar smart ai
SET @ENTRY := 245745;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 62, 0, 100, 0, 39561, 0, 0, 0, 0, 33, 247293, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 39561 selected - Gossip player: Give kill credit Kill Credit 1 (247293)', ''),
(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 39561, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 39561 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 2, 0, 62, 0, 100, 0, 39561, 1, 0, 0, 0, 33, 247294, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 1 from menu 39561 selected - Gossip player: Give kill credit Kill Credit 2 (247294)', ''),
(@ENTRY, 0, 3, 0, 62, 0, 100, 0, 39561, 1, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 1 from menu 39561 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 4, 0, 62, 0, 100, 0, 39561, 2, 0, 0, 0, 33, 247295, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 2 from menu 39561 selected - Gossip player: Give kill credit Kill Credit 3 (247295)', ''),
(@ENTRY, 0, 5, 0, 62, 0, 100, 0, 39561, 2, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 2 from menu 39561 selected - Gossip player: Close gossip', ''),
(@ENTRY, 0, 6, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 91271, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 245745 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 7, 245745, 0, 0, 9, 0, 91271, 0, 0, '', 0, 'Action invoker has quest A Fish! (91271) active');
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=0 WHERE `entry`=246679;
-- Cataloger Truesight smart ai
SET @ENTRY := 258381;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 94630, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 258381 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, 258381, 0, 0, 9, 0, 94630, 0, 0, '', 0, 'Action invoker has quest Work It (94630) active');
DELETE FROM `creature` WHERE `guid`=905289;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905289, 266443, 0, 15968, 16334, '0', 0, 0, 0, -1, 0, 0, 5738.36, -5698.45, 195.891, 4.48222, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
-- Fresh Blood smart ai
SET @ENTRY := 266443;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 73, 0, 100, 0, 0, 0, 0, 0, 0, 33, 266443, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On spellclick - Clicker: Give kill credit Fresh Blood (266443)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 266443 AND `SourceId` = 0;
DELETE FROM `creature` WHERE `guid`=905290;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905290, 266444, 0, 15968, 16334, '0', 0, 0, 0, -1, 0, 0, 5780.98, -5705.52, 198.413, 1.02585, 300, 0, 0, 100, 0, NULL, 33024, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905291;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905291, 266444, 0, 15968, 16334, '0', 0, 0, 0, -1, 0, 0, 5797.47, -5690.7, 195.545, 1.52065, 300, 0, 0, 100, 0, NULL, 33024, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=0 WHERE `entry`=266444;
UPDATE `creature_template` SET `KillCredit1`=266444 WHERE `entry`=266444;
DELETE FROM `creature` WHERE `guid`=905292;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905292, 266445, 0, 15968, 16334, '0', 0, 0, 0, -1, 0, 0, 5784.34, -5669.23, 190.748, 2.20594, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
-- Fresh Blood smart ai
SET @ENTRY := 266443;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 73, 0, 100, 0, 0, 0, 0, 0, 0, 171, 96591, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On spellclick - Clicker: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 266443 AND `SourceId` = 0;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES
(22, 1, 266443, 0, 0, 9, 0, 96591, 0, 0, '', 0, 'Action invoker has quest Prey: Venom Ambush (96591) active');
UPDATE `creature_template` SET `KillCredit1`=249967, `faction`=14 WHERE `entry`=249965;
DELETE FROM `creature` WHERE `guid`=905293;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905293, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5008.12, -5525.02, 166.798, 4.20516, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905294;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905294, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5001.91, -5567.52, 169.461, 4.4177, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905295;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905295, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5003.41, -5569.37, 170.709, 4.4177, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905296;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905296, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 4967.81, -5553.22, 170.716, 3.00302, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905297;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905297, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 4983.61, -5581.32, 173.451, 5.43038, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905298;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905298, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5031.97, -5611.93, 176.425, 0.41781, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905299;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905299, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5056.43, -5616.19, 177.19, 0.982195, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905300;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905300, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5063.04, -5604.15, 176.478, 0.776268, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905301;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905301, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5108.18, -5559.25, 167.805, 2.34534, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905302;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905302, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5115.57, -5539.76, 167.107, 2.76267, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905303;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905303, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5089.86, -5513.96, 166.524, 2.4738, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905304;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905304, 249965, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5018.41, -5543.11, 167.344, 4.28979, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905305;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905305, 274915, 0, 15968, 15968, '0', 0, 0, 0, -1, 0, 0, 5632.86, -5778.7, 225.303, 5.38779, 300, 0, 0, 100, 0, NULL, 32768, 16384, NULL, '', NULL, 0);
-- Dangers Untold and Hardships Unnumbered
SET @ENTRY := 98832;
INSERT IGNORE INTO `quest_template_addon` (`ID`) VALUES (@ENTRY);
UPDATE `quest_template_addon` SET `ScriptName` = 'SmartQuest' WHERE `ID` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 5 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 0, 171, 98832, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Player who accepted: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 98832 AND `SourceId` = 5;
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=0 WHERE `entry`=247391;
UPDATE `creature_template` SET `unit_flags`=0, `unit_flags2`=0 WHERE `entry`=248102;
UPDATE `creature_template` SET `KillCredit1`=247391 WHERE `entry`=247389;
UPDATE `gameobject_template` SET `Data1`=568505, `Data30`=0 WHERE `entry`=568505;
UPDATE gameobject_template SET data1 = 568505 WHERE entry = 568505 AND type IN (3, 50);
DELETE FROM `gameobject_loot_template` WHERE `entry` = 568505;
INSERT INTO `gameobject_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(568505, 249491, 0, 100, 1, 1, 0, 1, 1, 'Mysterious Bloom');
UPDATE `creature_template_difficulty` SET `StaticFlags1`='0' WHERE `Entry`=237392;
UPDATE `creature_template_difficulty` SET `TypeFlags`=0, `TypeFlags2`=0, `StaticFlags5`=0 WHERE `Entry`=237392;
UPDATE `creature` SET `unit_flags`=0, `unit_flags2`=0 WHERE `guid`=904523;
-- A Soiree to Remember
SET @ENTRY := 97622;
INSERT IGNORE INTO `quest_template_addon` (`ID`) VALUES (@ENTRY);
UPDATE `quest_template_addon` SET `ScriptName` = 'SmartQuest' WHERE `ID` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 5 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 0, 171, 97622, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Player who accepted: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 97622 AND `SourceId` = 5;
DELETE FROM `creature` WHERE `guid`=905319;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905319, 240240, 0, 16215, 16754, '0', 0, 0, 0, -1, 0, 0, 10769.9, -4616.59, 35.3988, 6.16549, 300, 0, 0, 99, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905320;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905320, 237563, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11028.8, -4644.71, 34.1191, 2.10484, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905321;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905321, 242609, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11033.8, -4642.46, 34.1191, 2.36753, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905322;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905322, 242614, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11039.1, -4639.92, 34.1191, 2.5831, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905323;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905323, 248317, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11043.8, -4636.19, 34.1191, 2.62112, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905324;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905324, 248323, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11047.3, -4631.78, 34.1191, 2.90607, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905325;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905325, 242608, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11049.8, -4628.58, 34.1191, 2.90607, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905326;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905326, 242613, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11052.2, -4623.33, 34.1191, 2.92791, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905327;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905327, 248322, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11053.3, -4617.16, 34.1191, 3.15395, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905328;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905328, 248326, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11052.7, -4610.49, 34.1191, 3.41644, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905329;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905329, 242606, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11051.2, -4604.62, 34.1191, 3.46797, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905330;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905330, 242610, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11049, -4599.23, 34.1191, 3.75354, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905331;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905331, 242615, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11045.7, -4594.13, 34.1191, 3.92743, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
SET @ENTRY := 242610;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242615;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242606;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 248326;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242613;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 248322;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242608;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 248323;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 248317;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242614;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
SET @ENTRY := 242609;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
-- Sunwell Channeler smart ai
SET @ENTRY := 237563;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 0, 8, 0, 100, 0, 0, 0, 0, 0, 0, 33, 237563, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On any spell hit - Caster: Give kill credit Sunwell Channeler (237563)', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 237563 AND `SourceId` = 0;
UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=240240;
DELETE FROM `creature` WHERE `guid`=905332;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905332, 237594, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2258.73, -5261.33, 80.0521, 1.83942, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=237731;
DELETE FROM `creature` WHERE `guid`=905333;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905333, 237731, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2297.1, -5190.2, 79.4653, 6.00265, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905334;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905334, 237731, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2318.54, -5194.77, 73.8949, 6.0683, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905335;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905335, 237731, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2326.29, -5196.46, 74.6047, 6.0683, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905336;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905336, 237731, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2351.84, -5193.29, 75.242, 0.105405, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905337;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905337, 237731, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2356.81, -5197.89, 76.7678, 0.105405, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905338;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905338, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2369.06, -5213.96, 79.2528, 6.17543, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905339;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905339, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2392.79, -5212.71, 74.3346, 6.17543, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905340;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905340, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2393.55, -5205.66, 73.6128, 6.17543, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905341;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905341, 237731, 0, 139, 2269, '0', 0, 0, 0, -1, 0, 0, 2394.41, -5197.68, 73.6351, 6.17543, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905342;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905342, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2381.85, -5228.6, 77.8392, 3.52485, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905343;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905343, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2372.94, -5227.5, 80.8542, 3.08593, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905344;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905344, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2365.96, -5236.73, 82.7985, 3.08593, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905345;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905345, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2359.67, -5236.38, 85.1875, 3.08593, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905346;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905346, 237731, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2346.89, -5235.97, 85.9368, 3.11955, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `faction`=7 WHERE `entry`=237739;
DELETE FROM `creature` WHERE `guid`=905347;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905347, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2321.61, -5234.12, 84.5903, 3.20643, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905348;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905348, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2311.33, -5230.54, 84.7474, 3.02261, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905349;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905349, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2305.38, -5229.83, 85.0345, 3.02261, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905350;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905350, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2311.75, -5211.63, 82.8811, 1.38677, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905351;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905351, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2307.88, -5210.91, 83.2281, 1.38677, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905352;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905352, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2303.84, -5210.16, 83.5193, 1.38677, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905353;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905353, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2296.87, -5208.86, 83.8132, 1.38677, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905354;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905354, 237739, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2290.83, -5207.73, 83.1123, 1.38677, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905355;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905355, 237739, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2281.51, -5180.22, 78.1819, 2.2884, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905356;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905356, 237739, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2278.31, -5180.79, 78.7036, 2.2884, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905357;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905357, 237739, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2279.55, -5177.17, 77.8879, 2.2884, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905358;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905358, 237739, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2252.41, -5174.77, 77.8157, 3.27628, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905359;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905359, 237739, 0, 139, 2622, '0', 0, 0, 0, -1, 0, 0, 2253.13, -5180.08, 77.8876, 3.27628, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
-- Relics of Paladins Past
SET @ENTRY := 86841;
INSERT IGNORE INTO `quest_template_addon` (`ID`) VALUES (@ENTRY);
UPDATE `quest_template_addon` SET `ScriptName` = 'SmartQuest' WHERE `ID` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 5 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 5, 0, 0, 47, 0, 100, 0, 0, 0, 0, 0, 0, 171, 86841, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On quest accepted - Player who accepted: Force complete quest', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 86841 AND `SourceId` = 5;
DELETE FROM `creature` WHERE `guid`=905360;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905360, 237601, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2264.25, -5258.1, 80.1666, 2.30464, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=241255;
DELETE FROM `creature` WHERE `guid`=905361;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905361, 241255, 0, 139, 2268, '0', 0, 0, 0, -1, 0, 0, 2255.51, -5259.42, 79.4594, 0.835805, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=240714;
DELETE FROM `creature_template_gossip` WHERE `CreatureID`=240714 AND `MenuID`=1;
INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES (240714, 1, 47936);
-- Alonsus Faol smart ai
SET @ENTRY := 240714;
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE `entry` = @ENTRY;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryOrGuid` = @ENTRY;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `action_param7`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`, `Difficulties`) VALUES
(@ENTRY, 0, 0, 1, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 242627, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Kill Credit (242627)', ''),
(@ENTRY, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 33, 240714, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Alonsus Faol (240714)', ''),
(@ENTRY, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 33, 248044, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Kill Credit: Enter Scarlet Halls (248044)', ''),
(@ENTRY, 0, 3, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 134, 1225740, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Cast spell 1225740 on Gossip player', '');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 240714 AND `SourceId` = 0;
DELETE FROM `creature` WHERE `guid`=905363;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905363, 241311, 2857, 16170, 16170, '0', 0, 0, 0, -1, 0, 0, 1068.82, 512.266, 2.82022, 4.98618, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
DELETE FROM `creature` WHERE `guid`=905364;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curHealthPct`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (905364, 237602, 2857, 16170, 16170, '0', 0, 0, 0, -1, 0, 0, 1071.11, 512.563, 2.82024, 4.56662, 300, 0, 0, 99, 0, NULL, NULL, NULL, NULL, '', NULL, 0);
SET @CGUID := 905365;
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+93;
INSERT INTO `creature` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `PhaseId`, `PhaseGroup`, `modelid`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `MovementType`, `npcflag`, `unit_flags`, `unit_flags2`, `unit_flags3`, `VerifiedBuild`) VALUES
(@CGUID+0, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1072.90771484375, 472.962799072265625, 2.81580352783203125, 4.104837417602539062, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+1, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1079.53125, 461.088531494140625, 2.899120807647705078, 2.313182353973388671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+2, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1093.4322509765625, 493.72222900390625, 2.912626266479492187, 4.752705574035644531, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+3, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1068.998291015625, 494.640625, 2.903526782989501953, 2.880689620971679687, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+4, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1071.719970703125, 470.75299072265625, 2.852402925491333007, 4.549538612365722656, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+5, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1119.5694580078125, 472.84375, 2.90561842918395996, 4.8051300048828125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+6, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1078.2135009765625, 462.8663330078125, 2.896471261978149414, 5.350249767303466796, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+7, 241336, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1149.5677490234375, 506.076385498046875, 13.56304836273193359, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- [DNT] VFX Bunny (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1227047 - Make Folks Talk)
(@CGUID+8, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1090.1353759765625, 461.673614501953125, 2.907283782958984375, 6.237911701202392578, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+9, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1078.12158203125, 505.744781494140625, 2.904584169387817382, 3.121410131454467773, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+10, 241311, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1067.0035400390625, 513.16143798828125, 2.905481815338134765, 4.948701381683349609, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Arator (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+11, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1071.426025390625, 470.897979736328125, 2.850205183029174804, 4.720537662506103515, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+12, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1123.2882080078125, 472.795135498046875, 2.90528273582458496, 4.818989753723144531, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+13, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1065.7135009765625, 469.470489501953125, 2.888126850128173828, 0.002296710154041647, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+14, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1106.578125, 485.8194580078125, 2.916867494583129882, 3.121410131454467773, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+15, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1089.9166259765625, 466.364593505859375, 2.908885955810546875, 6.263463973999023437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+16, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1066.5850830078125, 481.329864501953125, 2.884289979934692382, 0.164876297116279602, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+17, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1089.9132080078125, 470.135406494140625, 2.910707950592041015, 0.039288550615310668, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+18, 241333, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1067.236083984375, 495.111114501953125, 2.904322385787963867, 6.092909812927246093, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Training Dummy (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 98892 - Training Dummy Marker, 349892 - [DNT] No Parry)
(@CGUID+19, 237602, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1064.3992919921875, 511.539947509765625, 2.905458450317382812, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Alonsus Faol (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+20, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1165.9583740234375, 526.6492919921875, 14.44105148315429687, 1.790907621383666992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+21, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1165.9583740234375, 529.23614501953125, 14.44105148315429687, 4.532293319702148437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+22, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1092.203125, 462.192718505859375, 2.923376083374023437, 3.387557506561279296, 120, 10, 0, 1, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (possible waypoints or random movement)
(@CGUID+23, 241336, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1165.8350830078125, 527.51739501953125, 14.44105148315429687, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- [DNT] VFX Bunny (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1227047 - Make Folks Talk)
(@CGUID+24, 237783, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1111.267333984375, 465.614593505859375, 2.905420780181884765, 3.078854560852050781, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Instructor Meyer (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+25, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1151.4254150390625, 504.833343505859375, 13.56305885314941406, 2.63514566421508789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+26, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1147.71875, 503.885406494140625, 13.56303215026855468, 0.930152118206024169, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+27, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1149.37158203125, 509.0625, 13.56302833557128906, 4.549993038177490234, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+28, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1166.6041259765625, 451.660919189453125, 13.10625553131103515, 6.023822784423828125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+29, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.2083740234375, 455.67486572265625, 13.08858394622802734, 2.275841712951660156, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+30, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1164.6009521484375, 449.890899658203125, 13, 0.301610052585601806, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+31, 241336, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1168.595458984375, 549.77081298828125, 14.44106864929199218, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- [DNT] VFX Bunny (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1227047 - Make Folks Talk)
(@CGUID+32, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1169.279541015625, 550.64410400390625, 14.44107532501220703, 4.21048736572265625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+33, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.5850830078125, 548.68927001953125, 14.44106197357177734, 1.058568120002746582, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+34, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1166.0242919921875, 492.69097900390625, 12.9017181396484375, 1.484823107719421386, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+35, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1168.595458984375, 492.692718505859375, 12.90172004699707031, 5.687850475311279296, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+36, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.41845703125, 494.11285400390625, 12.9017181396484375, 1.781175136566162109, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+37, 237803, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1206.38720703125, 444.104156494140625, 1.071199655532836914, 3.153148174285888671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Champion Aelyse (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+38, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1212.03125, 464.421875, 6.165938854217529296, 4.52934885025024414, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+39, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1211.829833984375, 423.75, 6.165946483612060546, 1.955879807472229003, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+40, 237783, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1110.26513671875, 465.67755126953125, 2.936793327331542968, 3.078854560852050781, 120, 10, 0, 1, NULL, NULL, NULL, NULL, 69497), -- Instructor Meyer (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: ) (possible waypoints or random movement)
(@CGUID+41, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1226.46240234375, 553.59051513671875, 12.96416282653808593, 6.180940151214599609, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+42, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1234.6473388671875, 551.0596923828125, 12.841796875, 1.951457858085632324, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+43, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1235.53857421875, 549.67510986328125, 12.81478595733642578, 6.148268699645996093, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+44, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1234.6055908203125, 549.46539306640625, 12.78446865081787109, 2.266116619110107421, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+45, 241336, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1220.234375, 558.9305419921875, 12.88215923309326171, 5.715266227722167968, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- [DNT] VFX Bunny (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1227047 - Make Folks Talk)
(@CGUID+46, 241336, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1194.3836669921875, 555.40625, 12.90005683898925781, 0, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- [DNT] VFX Bunny (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1227047 - Make Folks Talk)
(@CGUID+47, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1187.98095703125, 521.25177001953125, 12.92143630981445312, 1.455841422080993652, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+48, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1189.9427490234375, 517.9774169921875, 12.91297340393066406, 1.753818273544311523, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+49, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1192.263916015625, 520.9461669921875, 12.91863059997558593, 2.606502294540405273, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+50, 238033, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1299.045166015625, 549.73785400390625, 12.87776088714599609, 2.945408105850219726, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Abbot Benthar (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+51, 237602, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1257.545166015625, 539.46527099609375, 12.90941810607910156, 0.747036933898925781, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Alonsus Faol (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: 1225808 - Bubble)
(@CGUID+52, 237803, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1215.4912109375, 453.635650634765625, 4.215534210205078125, 1.44863903522491455, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Champion Aelyse (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+53, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1195.0972900390625, 554.1632080078125, 12.90016937255859375, 2.385694742202758789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+54, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1193.638916015625, 556.3055419921875, 12.90084362030029296, 5.51696014404296875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+55, 238033, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1299.045166015625, 549.73785400390625, 12.87776088714599609, 2.945408105850219726, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Abbot Benthar (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+56, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1217.578369140625, 545.99139404296875, 12.86764335632324218, 0.345936506986618041, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+57, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1219.5977783203125, 547.206298828125, 12.87717056274414062, 3.299502372741699218, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+58, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1217.1859130859375, 549.42059326171875, 12.8854990005493164, 4.360137939453125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+59, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1212.03125, 464.421875, 6.165938854217529296, 4.52934885025024414, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+60, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.3797607421875, 468.454254150390625, 13, 4.734096527099609375, 120, 10, 0, 1, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+61, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1165.90673828125, 472.464874267578125, 12.99928665161132812, 4.584270477294921875, 120, 10, 0, 1, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+62, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1168.247802734375, 474.39422607421875, 12.99773597717285156, 4.630152702331542968, 120, 10, 0, 1, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (possible waypoints or random movement)
(@CGUID+63, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1219.16845703125, 559.388916015625, 12.88561344146728515, 5.79669189453125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+64, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1221.1666259765625, 557.74652099609375, 12.87736797332763671, 2.665425777435302734, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+65, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1166.0242919921875, 492.69097900390625, 12.9017181396484375, 1.484823107719421386, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+66, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1168.595458984375, 492.692718505859375, 12.90172004699707031, 5.687850475311279296, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+67, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.41845703125, 494.11285400390625, 12.9017181396484375, 1.781175136566162109, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+68, 237803, 2857, 16170, 16170, '0', '0', 0, 0, 2, 1206.38720703125, 444.104156494140625, 1.071199655532836914, 3.153148174285888671, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Champion Aelyse (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+69, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1120.510009765625, 469.665008544921875, 2.984375, 1.240459322929382324, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+70, 237783, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1120.7696533203125, 471.9310302734375, 2.984375, 0.674840092658996582, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Instructor Meyer (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+71, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1113.2733154296875, 468.564117431640625, 2.984375, 3.276542186737060546, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+72, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1126.3441162109375, 450.7822265625, 2.885828733444213867, 6.245869159698486328, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+73, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1122.520263671875, 455.35919189453125, 2.832918882369995117, 0.548931360244750976, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+74, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1103.513916015625, 485.842010498046875, 2.941077470779418945, 6.27582550048828125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+75, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1101.5015869140625, 465.51910400390625, 2.984374761581420898, 6.190574169158935546, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+76, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1098.2618408203125, 467.57794189453125, 2.976217031478881835, 5.94821929931640625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+77, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1098.4488525390625, 473.137237548828125, 2.984374761581420898, 0.359637558460235595, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+78, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1093.3233642578125, 490.560699462890625, 2.984375, 0.768268227577209472, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+79, 237772, 2857, 16170, 16170, '0', '0', 0, 0, 0, 1093.6544189453125, 489.447174072265625, 2.984375, 1.229294419288635253, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Initiate (Area: Scarlet Halls - Difficulty: 0) CreateObject1
(@CGUID+80, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.5850830078125, 548.68927001953125, 14.44106197357177734, 1.058568120002746582, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+81, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1169.279541015625, 550.64410400390625, 14.44107532501220703, 4.21048736572265625, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+82, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1137.326416015625, 445.44964599609375, 2.987866878509521484, 3.2510528564453125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2
(@CGUID+83, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1137.21533203125, 442.859375, 2.944033384323120117, 3.2510528564453125, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2
(@CGUID+84, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1187.98095703125, 521.25177001953125, 12.92143630981445312, 1.455841422080993652, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+85, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1189.9427490234375, 517.9774169921875, 12.91297340393066406, 1.753818273544311523, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+86, 237782, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1192.263916015625, 520.9461669921875, 12.91863059997558593, 2.606502294540405273, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Mage (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+87, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1166.8773193359375, 502.589935302734375, 13.25536632537841796, 1.485016345977783203, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+88, 237802, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.3775634765625, 501.305908203125, 13.05148792266845703, 1.512166261672973632, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Cleric (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+89, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1167.8701171875, 498.861419677734375, 13.0000009536743164, 1.724788427352905273, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject1 (Auras: )
(@CGUID+90, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1165.9583740234375, 529.23614501953125, 14.44105148315429687, 4.532293319702148437, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+91, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1165.9583740234375, 526.6492919921875, 14.44105148315429687, 1.790907621383666992, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+92, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1195.0972900390625, 554.1632080078125, 12.90016937255859375, 2.385694742202758789, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497), -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
(@CGUID+93, 237801, 2857, 16170, 16170, '0', '0', 0, 0, 1, 1193.638916015625, 556.3055419921875, 12.90084362030029296, 5.51696014404296875, 120, 0, 0, 0, NULL, NULL, NULL, NULL, 69497); -- Scarlet Footman (Area: Scarlet Halls - Difficulty: 0) CreateObject2 (Auras: )
UPDATE `creature` SET `curHealthPct`=NULL WHERE `curHealthPct`=100;
UPDATE `creature_template` SET `faction`=14 WHERE `entry`=237783;
UPDATE creature_template_difficulty SET lootid = 237783 WHERE entry = 237783 AND lootid = 0;
DELETE FROM `creature_loot_template` WHERE `entry` = 237783;
INSERT INTO `creature_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(237783, 235911, 0, 0.02251238, 0, 3, 0, 1, 1, 'Weathered Mysterious Satchel'),
(237783, 236963, 0, 3, 0, 3, 0, 1, 2, 'Bright Linen'),
(237783, 237017, 0, 0.02251238, 0, 3, 0, 1, 1, 'Arcanoweave'),
(237783, 237018, 0, 0.09004953, 0, 3, 0, 1, 1, 'Arcanoweave'),
(237783, 237579, 0, 100, 1, 3, 0, 1, 1, 'Meyer''s Rod of Castigation'),
(237783, 245831, 0, 0.04502476, 0, 3, 0, 1, 1, 'Two of Hunt'),
(237783, 245832, 0, 0.09004953, 0, 3, 0, 1, 1, 'Three of Hunt'),
(237783, 245833, 0, 0.06753714, 0, 3, 0, 1, 1, 'Four of Hunt'),
(237783, 245834, 0, 0.02251238, 0, 3, 0, 1, 1, 'Five of Hunt'),
(237783, 245835, 0, 0.04502476, 0, 3, 0, 1, 1, 'Six of Hunt'),
(237783, 245839, 0, 0.04502476, 0, 3, 0, 1, 1, 'Two of Void'),
(237783, 245840, 0, 0.06753714, 0, 3, 0, 1, 1, 'Three of Void'),
(237783, 245842, 0, 0.02251238, 0, 3, 0, 1, 1, 'Five of Void'),
(237783, 245843, 0, 0.02251238, 0, 3, 0, 1, 1, 'Six of Void'),
(237783, 245844, 0, 0.02251238, 0, 3, 0, 1, 1, 'Seven of Void'),
(237783, 245845, 0, 0.04502476, 0, 3, 0, 1, 1, 'Eight of Void'),
(237783, 245848, 0, 0.04502476, 0, 3, 0, 1, 1, 'Two of Rot'),
(237783, 245849, 0, 0.1125619, 0, 3, 0, 1, 1, 'Three of Rot'),
(237783, 245851, 0, 0.02251238, 0, 3, 0, 1, 1, 'Five of Rot'),
(237783, 245852, 0, 0.09004953, 0, 3, 0, 1, 1, 'Six of Rot'),
(237783, 245856, 0, 0.04502476, 0, 3, 0, 1, 1, 'Ace of Blood'),
(237783, 245857, 0, 0.02251238, 0, 3, 0, 1, 1, 'Two of Blood'),
(237783, 245858, 0, 0.04502476, 0, 3, 0, 1, 1, 'Three of Blood'),
(237783, 245860, 0, 0.04502476, 0, 3, 0, 1, 1, 'Five of Blood'),
(237783, 245862, 0, 0.02251238, 0, 3, 0, 1, 1, 'Seven of Blood'),
(237783, 245863, 0, 0.04502476, 0, 3, 0, 1, 1, 'Eight of Blood'),
(237783, 258848, 0, 0.06753714, 0, 3, 0, 1, 1, 'Stained Girdle'),
(237783, 258849, 0, 0.2026114, 0, 3, 0, 1, 1, 'Stained Headguard'),
(237783, 258850, 0, 0.1125619, 0, 3, 0, 1, 1, 'Stained Fistguards'),
(237783, 258851, 0, 0.09004953, 0, 3, 0, 1, 1, 'Stained Hauberk'),
(237783, 258852, 0, 0.02251238, 0, 3, 0, 1, 1, 'Stained Greaves'),
(237783, 258853, 0, 0.1125619, 0, 3, 0, 1, 1, 'Stained Sabatons'),
(237783, 258854, 0, 0.1800991, 0, 3, 0, 1, 1, 'Stained Pauldrons'),
(237783, 258855, 0, 0.1125619, 0, 3, 0, 1, 1, 'Stained Armguards'),
(237783, 258856, 0, 0.1350743, 0, 3, 0, 1, 1, 'Threadbare Mantle'),
(237783, 258857, 0, 0.2251238, 0, 3, 0, 1, 1, 'Threadbare Sash'),
(237783, 258858, 0, 0.09004953, 0, 3, 0, 1, 1, 'Threadbare Crown'),
(237783, 258859, 0, 0.06753714, 0, 3, 0, 1, 1, 'Threadbare Mitts'),
(237783, 258860, 0, 0.06753714, 0, 3, 0, 1, 1, 'Threadbare Leggings'),
(237783, 258861, 0, 0.04502476, 0, 3, 0, 1, 1, 'Threadbare Slippers'),
(237783, 258862, 0, 0.1350743, 0, 3, 0, 1, 1, 'Threadbare Vestments'),
(237783, 258863, 0, 0.06753714, 0, 3, 0, 1, 1, 'Threadbare Armbands'),
(237783, 258864, 0, 0.2701486, 0, 3, 0, 1, 1, 'Brittle Waistguard'),
(237783, 258865, 0, 0.1125619, 0, 3, 0, 1, 1, 'Brittle Breastplate'),
(237783, 258866, 0, 0.1800991, 0, 3, 0, 1, 1, 'Brittle Gauntlets'),
(237783, 258867, 0, 0.06753714, 0, 3, 0, 1, 1, 'Brittle Faceguard'),
(237783, 258868, 0, 0.02251238, 0, 3, 0, 1, 1, 'Brittle Legguards'),
(237783, 258869, 0, 0.09004953, 0, 3, 0, 1, 1, 'Brittle Pauldrons'),
(237783, 258870, 0, 0.09004953, 0, 3, 0, 1, 1, 'Brittle Warboots'),
(237783, 258871, 0, 0.06753714, 0, 3, 0, 1, 1, 'Brittle Armplates'),
(237783, 258872, 0, 0.06753714, 0, 3, 0, 1, 1, 'Frayed Wristwraps'),
(237783, 258873, 0, 0.1575867, 0, 3, 0, 1, 1, 'Frayed Tunic'),
(237783, 258874, 0, 0.1350743, 0, 3, 0, 1, 1, 'Frayed Shoulderpads'),
(237783, 258875, 0, 0.1575867, 0, 3, 0, 1, 1, 'Frayed Britches'),
(237783, 258876, 0, 0.06753714, 0, 3, 0, 1, 1, 'Frayed Guise'),
(237783, 258877, 0, 0.09004953, 0, 3, 0, 1, 1, 'Frayed Handwraps'),
(237783, 258878, 0, 0.09004953, 0, 3, 0, 1, 1, 'Frayed Boots'),
(237783, 258879, 0, 0.1800991, 0, 3, 0, 1, 1, 'Frayed Strap'),
(237783, 266216, 0, 0.06753714, 0, 3, 0, 1, 1, 'Threadbare Cloak'),
(237783, 266221, 0, 0.1125619, 0, 3, 0, 1, 1, 'Frayed Shroud'),
(237783, 266223, 0, 0.04502476, 0, 3, 0, 1, 1, 'Stained Drape'),
(237783, 266224, 0, 0.1125619, 0, 3, 0, 1, 1, 'Brittle Cape');