/* smart scripts */
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` IN 
(12420, 12457, 12458, 12459, 12460, 12461, 12463, 12465, 12467, 12468, 13996);
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` IN 
(12420, 12457, 12458, 12459, 12460, 12461, 12463, 12465, 12467, 12468, 13996);

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`, `event_param6`, 
`action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, 
`target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES 
--
(12420, 0, 0, 0, 0, 0, 100, 0, 0, 0, 3000, 4500, 0, 0, 11, 17290, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,           'Blackwing Mage - In Combat - Cast Fireball'),
(12420, 0, 1, 0, 106, 0, 100, 0, 0, 0, 3000, 6000, 0, 8, 11, 22271, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,          'Blackwing Mage - Within 0-8 Range - Cast Arcane Explosion'),
(12457, 0, 0, 0, 0, 0, 60, 0, 10000, 10000, 15000, 20000, 0, 0, 11, 22274, 32, 0, 0, 0, 0, 6, 30, 0, 0, 0, 0, 0, 0, 0, 'Blackwing Spellbinder - In Combat - Cast Greater Polymorph'),
(12457, 0, 1, 0, 0, 0, 60, 0, 6000, 10000, 6000, 10000, 0, 0, 11, 22275, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,    'Blackwing Spellbinder - In Combat - Cast Flamestrike'),
(12458, 0, 0, 0, 1, 0, 100, 0, 15000, 35000, 15000, 35000, 0, 0, 11, 22458, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Blackwing Taskmaster - Out of Combat - Cast Healing Circle'),
(12458, 0, 1, 0, 0, 0, 100, 0, 5000, 8000, 4000, 7000, 0, 0, 11, 17289, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,      'Blackwing Taskmaster - In Combat - Cast Shadow Shock'),
(12459, 0, 0, 0, 0, 0, 90, 0, 5000, 5000, 5000, 7000, 0, 0, 11, 19717, 0, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0,      'Blackwing Warlock - In Combat - Cast Rain of Fire'),
(12459, 0, 1, 0, 0, 0, 90, 0, 6000, 6000, 3000, 7000, 0, 0, 11, 22336, 64, 0, 0, 0, 0, 5, 40, 0, 0, 0, 0, 0, 0, 0,     'Blackwing Warlock - In Combat - Cast Shadow Bolt'),
(12459, 0, 2, 0, 0, 0, 100, 0, 30000, 45000, 30000, 45000, 0, 0, 11, 22372, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,  'Blackwing Warlock - In Combat - Cast Demon Portal'),
(12459, 0, 3, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 11, 14081, 10, 0, 0, 0, 0, 0, 0,              'Blackwing Warlock - On Just Died - Despawn Instant'),
(12459, 0, 4, 0, 7, 0, 100, 512, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 9, 14081, 0, 10, 1, 0, 0, 0, 0,               'Blackwing Warlock - On Evade - Despawn Instant'),
(12460, 0, 0, 0, 0, 0, 80, 0, 8000, 8000, 8000, 14000, 0, 0, 11, 24375, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Wyrmguard - In Combat - Cast War Stomp'),
(12460, 0, 1, 0, 0, 0, 75, 0, 2000, 2000, 6000, 6000, 0, 0, 11, 15284, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Wyrmguard - Within 0-5 Range - Cast Cleave'),
(12460, 0, 2, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 22282, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,                 'Death Talon Wyrmguard - On Reset - Cast Brood Power'),
(12460, 0, 3, 0, 0, 0, 100, 1, 4000, 4000, 0, 0, 0, 0, 11, 22276, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,            'Death Talon Wyrmguard - In Combat (4 sec) - Cast Elemental Shield'),
(12461, 0, 0, 0, 0, 0, 75, 0, 2000, 2000, 2000, 6000, 0, 0, 11, 15284, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Overseer - Within 0-5 Range - Cast Cleave'),
(12461, 0, 1, 0, 0, 0, 100, 0, 10000, 10000, 10000, 10000, 0, 0, 11, 20623, 0, 0, 0, 0, 0, 5, 20, 0, 0, 0, 0, 0, 0, 0, 'Death Talon Overseer - Within 0-20 Range - Cast Fire Blast'),
(12461, 0, 2, 0, 0, 0, 100, 1, 4000, 4000, 0, 0, 0, 0, 11, 22276, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,            'Death Talon Overseer - In Combat (4 sec) - Cast Elemental Shield'),
(12463, 0, 0, 0, 0, 0, 100, 0, 3000, 6000, 3000, 6000, 0, 0, 11, 22423, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Flamescale - In Combat - Cast Flame Shock'),
(12463, 0, 1, 0, 0, 0, 100, 0, 12000, 15000, 12000, 15000, 0, 0, 11, 16636, 0, 0, 0, 0, 0, 6, 40, 0, 0, 0, 0, 0, 0, 0, 'Death Talon Flamescale - In Combat - Cast Berserker Charge'),
(12465, 0, 0, 0, 0, 0, 100, 0, 5000, 10000, 15000, 20000, 0, 0, 11, 22424, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,   'Death Talon Wyrmkin - In Combat - Cast Blast Wave'),
(12465, 0, 1, 0, 0, 0, 100, 0, 3000, 6000, 3000, 5000, 0, 0, 11, 22425, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Wyrmkin - In Combat - Cast Fireball Volley'),
(12467, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 22440, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,                  'Death Talon Captain - On Aggro - Cast Commanding Shout'),
(12467, 0, 1, 0, 0, 0, 85, 0, 4000, 4000, 5000, 5000, 0, 0, 11, 15496, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,      'Death Talon Captain - Within 0-5 Range - Cast Cleave'),
(12467, 0, 2, 0, 0, 0, 80, 0, 20000, 20000, 20000, 20000, 0, 0, 11, 22438, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,   'Death Talon Captain - In Combat - Cast Mark of Detonation'),
(12468, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 0, 11, 22442, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,                  'Death Talon Hatcher - On Aggro - Cast Growing Flames'),
(12468, 0, 1, 0, 0, 0, 100, 0, 6000, 10000, 6000, 10000, 0, 0, 11, 22275, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0,    'Death Talon Hatcher - In Combat - Cast Flamestrike'),
(13996, 0, 0, 0, 0, 0, 75, 0, 2000, 2000, 2000, 6000, 0, 0, 11, 22334, 64, 0, 0, 0, 0, 5, 30, 0, 0, 0, 0, 0, 0, 0,     'Blackwing Technician - In Combat - Cast Bomb'),
(13996, 0, 1, 0, 0, 0, 85, 0, 2000, 2000, 8000, 8000, 0, 0, 11, 22335, 0, 0, 0, 0, 0, 21, 5, 0, 0, 0, 0, 0, 0, 0,      'Blackwing Technician - Within 0-5 Range - Cast Bottle of Poison'),
(13996, 0, 2, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0,                     'Blackwing Technician - On Respawn - Disable Auto Attack');


DELETE FROM `spell_script_names` WHERE `spell_id` = 23310 AND `ScriptName` = 'spell_bwl_chromaggus_time_lapse';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(23310, 'spell_bwl_chromaggus_time_lapse');

-- Nefarian Loot
DELETE FROM `creature_loot_template` WHERE `Entry` = 11583;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(11583, 19002, 0,     100.0, 0,  1, 0, 1, 1),
(11583, 19003, 0,     100.0, 0,  1, 0, 1, 1),
(11583, 21138, 0,     100.0, 1,  1, 0, 1, 1),
(11583, 21142, 0,     100.0, 1,  1, 0, 1, 1),
(11583, 30044, 30044, 0.05,  0, 1, 0, 1, 1),
(11583, 30089, 30089, 1.0,   0, 1, 5, 1, 1),
(11583, 30105, 30105, 0.05,  0, 1, 0, 1, 1),
(11583, 30171, 30171, 0.05,  0, 1, 0, 1, 1),
(11583, 30172, 30172, 100.0, 0, 1, 0, 1, 1),
(11583, 30173, 30173, 100.0, 0, 1, 0, 1, 1),
(11583, 30330, 30330, 0.05,  0, 1, 0, 1, 1),
(11583, 30486, 30486, 100.0, 0, 1, 0, 2, 2),
(11583, 30487, 30487, 100.0, 0, 1, 0, 1, 1),
(11583, 30551, 30551, 100.0, 0, 1, 0, 1, 1);

DELETE FROM `reference_loot_template` WHERE `Entry` IN (34009, 30105, 30044, 30089, 30172, 30173, 30330, 30486, 30487, 30551, 30171);
INSERT INTO `reference_loot_template`(`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(30044, 2564,  0,  0.0, 0, 1, 1, 1,1),
(30044, 7734,  0,  0.0, 0, 1, 1, 1,1),
(30044, 13009, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13030, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13046, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13065, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13066, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13085, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13125, 0,  0.0, 0, 1, 1, 1,1),
(30044, 13139, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10135, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10143, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10151, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10157, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10158, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10246, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10252, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10254, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10262, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10264, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10266, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10271, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10273, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10367, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10384, 0,  0.0, 0, 1, 1, 1,1),
(30089, 10389, 0,  0.0, 0, 1, 1, 1,1),
(30089, 11980, 0,  0.0, 0, 1, 1, 1,1),
(30089, 12017, 0,  0.0, 0, 1, 1, 1,1),
(30089, 12048, 0,  0.0, 0, 1, 1, 1,1),
(30089, 12058, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14328, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14332, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14336, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14456, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14464, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14680, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14811, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14812, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14975, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14979, 0,  0.0, 0, 1, 1, 1,1),
(30089, 14982, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15221, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15240, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15247, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15258, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15283, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15289, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15439, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15442, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15680, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15684, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15687, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15941, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15942, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15968, 0,  0.0, 0, 1, 1, 1,1),
(30089, 15989, 0,  0.0, 0, 1, 1, 1,1),
(30171, 1203,  0,  0.0, 0, 1, 1, 1,1),
(30171, 1973,  0,  0.0, 0, 1, 1, 1,1),
(30171, 2564,  0,  0.0, 0, 1, 1, 1,1),
(30171, 4696,  0,  0.0, 0, 1, 1, 1,1),
(30171, 5266,  0,  0.0, 0, 1, 1, 1,1),
(30171, 5267,  0,  0.0, 0, 1, 1, 1,1),
(30171, 6622,  0,  0.0, 0, 1, 1, 1,1),
(30171, 7734,  0,  0.0, 0, 1, 1, 1,1),
(30171, 7976,  0,  0.0, 0, 1, 1, 1,1),
(30171, 7991,  0,  0.0, 0, 1, 1, 1,1),
(30171, 8028,  0,  0.0, 0, 1, 1, 1,1),
(30171, 9402,  0,  0.0, 0, 1, 1, 1,1),
(30171, 10605, 0,  0.0, 0, 1, 1, 1,1),
(30171, 10608, 0,  0.0, 0, 1, 1, 1,1),
(30171, 11302, 0,  0.0, 0, 1, 1, 1,1),
(30171, 12698, 0,  0.0, 0, 1, 1, 1,1),
(30171, 12711, 0,  0.0, 0, 1, 1, 1,1),
(30171, 12717, 0,  0.0, 0, 1, 1, 1,1),
(30171, 12720, 0,  0.0, 0, 1, 1, 1,1),
(30171, 12728, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13000, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13001, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13002, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13003, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13004, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13006, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13007, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13008, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13009, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13013, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13015, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13030, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13036, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13040, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13047, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13053, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13060, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13066, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13067, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13070, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13072, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13073, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13075, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13077, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13083, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13085, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13091, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13096, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13107, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13111, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13113, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13116, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13118, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13120, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13123, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13125, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13126, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13130, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13133, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13135, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13144, 0,  0.0, 0, 1, 1, 1,1),
(30171, 13146, 0,  0.0, 0, 1, 1, 1,1),
(30171, 14501, 0,  0.0, 0, 1, 1, 1,1),
(30171, 14509, 0,  0.0, 0, 1, 1, 1,1),
(30171, 14511, 0,  0.0, 0, 1, 1, 1,1),
(30171, 17413, 0,  0.0, 0, 1, 1, 1,1),
(30171, 17414, 0,  0.0, 0, 1, 1, 1,1),
(30171, 17682, 0,  0.0, 0, 1, 1, 1,1),
(30171, 17683, 0,  0.0, 0, 1, 1, 1,1),
(30171, 18600, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22388, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22389, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22390, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22393, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22890, 0,  0.0, 0, 1, 1, 1,1),
(30171, 22891, 0,  0.0, 0, 1, 1, 1,1),
(30172, 9297,  0,  0.0, 0, 1, 1, 1,1),
(30172, 10246, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10247, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10248, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10249, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10250, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10251, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10252, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10253, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10254, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10255, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10256, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10257, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10258, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10259, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10260, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10261, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10262, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10263, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10264, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10265, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10266, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10267, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10268, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10269, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10270, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10272, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10273, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10274, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10367, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10384, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10385, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10386, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10387, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10388, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10389, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10390, 0,  0.0, 0, 1, 1, 1,1),
(30172, 10391, 0,  0.0, 0, 1, 1, 1,1),
(30172, 11224, 0,  0.0, 0, 1, 1, 1,1),
(30172, 11226, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12017, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12048, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12682, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12683, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12684, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12685, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12689, 0,  0.0, 0, 1, 1, 1,1),
(30172, 12702, 0,  0.0, 0, 1, 1, 1,1),
(30172, 13486, 0,  0.0, 0, 1, 1, 1,1),
(30172, 13487, 0,  0.0, 0, 1, 1, 1,1),
(30172, 13488, 0,  0.0, 0, 1, 1, 1,1),
(30172, 13489, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14328, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14329, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14330, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14331, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14332, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14333, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14334, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14335, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14336, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14337, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14975, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14976, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14977, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14978, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14979, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14980, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14981, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14982, 0,  0.0, 0, 1, 1, 1,1),
(30172, 14983, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15221, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15229, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15240, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15247, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15258, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15267, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15273, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15278, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15283, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15289, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15325, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15434, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15435, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15436, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15437, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15438, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15439, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15440, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15441, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15442, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15678, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15679, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15680, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15681, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15682, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15683, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15684, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15685, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15686, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15687, 0,  0.0, 0, 1, 1, 1,1),
(30172, 15942, 0,  0.0, 0, 1, 1, 1,1),
(30172, 16044, 0,  0.0, 0, 1, 1, 1,1),
(30172, 16055, 0,  0.0, 0, 1, 1, 1,1),
(30172, 16253, 0,  0.0, 0, 1, 1, 1,1),
(30173, 17962, 0,  0.0, 0, 1, 1, 1,1),
(30173, 17963, 0,  0.0, 0, 1, 1, 1,1),
(30173, 17964, 0,  0.0, 0, 1, 1, 1,1),
(30173, 17965, 0,  0.0, 0, 1, 1, 1,1),
(30173, 17969, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16897, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16905, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16916, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16923, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16931, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16942, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16950, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16958, 0,  0.0, 0, 1, 1, 1,1),
(30486, 16966, 0,  0.0, 0, 1, 1, 1,1),
(30487, 19360, 0,  10.0,0, 1, 1, 1,1),
(30487, 19363, 0,  10.0,0, 1, 1, 1,1),
(30487, 19375, 0,  0.0, 0, 1, 1, 1,1),
(30487, 19376, 0,  0.0, 0, 1, 1, 1,1),
(30487, 19377, 0,  0.0, 0, 1, 1, 1,1),
(30487, 19378, 0,  0.0, 0, 1, 1, 1,1),
(30551, 19356, 0,  10.0,0, 1, 1, 1,1),
(30551, 19364, 0,  10.0,0, 1, 1, 1,1),
(30551, 19379, 0,  0.0, 0, 1, 1, 1,1),
(30551, 19380, 0,  0.0, 0, 1, 1, 1,1),
(30551, 19381, 0,  0.0, 0, 1, 1, 1,1),
(30551, 19382, 0,  0.0, 0, 1, 1, 1,1),
(30330, 30171, 30171, 100.0, 0, 1, 0, 1, 1),
(30105, 30044, 30044, 100.0, 0, 1, 0, 1 ,1);

/* Classic nefarian head quest locale fix for non EN langs */
/* Was set as Garrosh, correct warchief is Thrall */
UPDATE `quest_template_locale` SET `Objectives` = 'Bringt Thrall in Orgrimmar den Kopf von Nefarian.' WHERE `ID` = 7783 AND `locale` = 'deDE';
UPDATE `quest_template_locale` SET `Objectives` = 'Lleva la cabeza de Nefarian a Thrall a Orgrimmar.' WHERE `ID` = 7783 AND `locale` = 'esES';
UPDATE `quest_template_locale` SET `Objectives` = 'Lleva la cabeza de Nefarian a Thrall a Orgrimmar.' WHERE `ID` = 7783 AND `locale` = 'esMX';
UPDATE `quest_template_locale` SET `Objectives` = 'Apportez la tête de Nefarian à Thrall à Orgrimmar.' WHERE `ID` = 7783 AND `locale` = 'frFR';
