diff --git a/sql/updates/world/master/2026_11_19_00_world.sql b/sql/updates/world/master/2026_11_19_00_world.sql new file mode 100644 index 00000000..95179aef --- /dev/null +++ b/sql/updates/world/master/2026_11_19_00_world.sql @@ -0,0 +1,801 @@ + +UPDATE creature_template_difficulty SET lootid = 238033 WHERE entry = 238033 AND lootid = 0; +DELETE FROM `creature_loot_template` WHERE `entry` = 238033; +INSERT INTO `creature_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(238033, 236963, 0, 1.28415, 0, 1, 0, 1, 2, 'Bright Linen'), +(238033, 237015, 0, 0.02379819, 0, 1, 0, 1, 1, 'Sunfire Silk'), +(238033, 237016, 0, 0.02379819, 0, 1, 0, 1, 1, 'Sunfire Silk'), +(238033, 237018, 0, 0.07139458, 0, 1, 0, 1, 1, 'Arcanoweave'), +(238033, 237576, 0, 100, 1, 3, 0, 1, 1, 'Benthar''s Scarlet Spire'), +(238033, 245831, 0, 0.07139458, 0, 1, 0, 1, 1, 'Two of Hunt'), +(238033, 245832, 0, 0.04759638, 0, 1, 0, 1, 1, 'Three of Hunt'), +(238033, 245833, 0, 0.04759638, 0, 1, 0, 1, 1, 'Four of Hunt'), +(238033, 245834, 0, 0.04759638, 0, 1, 0, 1, 1, 'Five of Hunt'), +(238033, 245836, 0, 0.02379819, 0, 1, 0, 1, 1, 'Seven of Hunt'), +(238033, 245837, 0, 0.02379819, 0, 1, 0, 1, 1, 'Eight of Hunt'), +(238033, 245839, 0, 0.07139458, 0, 1, 0, 1, 1, 'Two of Void'), +(238033, 245840, 0, 0.07139458, 0, 1, 0, 1, 1, 'Three of Void'), +(238033, 245841, 0, 0.02379819, 0, 1, 0, 1, 1, 'Four of Void'), +(238033, 245843, 0, 0.02379819, 0, 1, 0, 1, 1, 'Six of Void'), +(238033, 245847, 0, 0.02379819, 0, 1, 0, 1, 1, 'Ace of Rot'), +(238033, 245848, 0, 0.02379819, 0, 1, 0, 1, 1, 'Two of Rot'), +(238033, 245850, 0, 0.04759638, 0, 1, 0, 1, 1, 'Four of Rot'), +(238033, 245851, 0, 0.07139458, 0, 1, 0, 1, 1, 'Five of Rot'), +(238033, 245852, 0, 0.02379819, 0, 1, 0, 1, 1, 'Six of Rot'), +(238033, 245853, 0, 0.02379819, 0, 1, 0, 1, 1, 'Seven of Rot'), +(238033, 245854, 0, 0.02379819, 0, 1, 0, 1, 1, 'Eight of Rot'), +(238033, 245856, 0, 0.02379819, 0, 1, 0, 1, 1, 'Ace of Blood'), +(238033, 245857, 0, 0.04759638, 0, 1, 0, 1, 1, 'Two of Blood'), +(238033, 245858, 0, 0.07139458, 0, 1, 0, 1, 1, 'Three of Blood'), +(238033, 245860, 0, 0.04759638, 0, 1, 0, 1, 1, 'Five of Blood'), +(238033, 245861, 0, 0.07139458, 0, 1, 0, 1, 1, 'Six of Blood'), +(238033, 245862, 0, 0.02379819, 0, 1, 0, 1, 1, 'Seven of Blood'), +(238033, 258848, 0, 0.09519277, 0, 1, 0, 1, 1, 'Stained Girdle'), +(238033, 258849, 0, 0.09519277, 0, 1, 0, 1, 1, 'Stained Headguard'), +(238033, 258850, 0, 0.04759638, 0, 1, 0, 1, 1, 'Stained Fistguards'), +(238033, 258851, 0, 0.09519277, 0, 1, 0, 1, 1, 'Stained Hauberk'), +(238033, 258852, 0, 0.09519277, 0, 1, 0, 1, 1, 'Stained Greaves'), +(238033, 258853, 0, 0.118991, 0, 1, 0, 1, 1, 'Stained Sabatons'), +(238033, 258854, 0, 0.07139458, 0, 1, 0, 1, 1, 'Stained Pauldrons'), +(238033, 258855, 0, 0.1427892, 0, 1, 0, 1, 1, 'Stained Armguards'), +(238033, 258856, 0, 0.09519277, 0, 1, 0, 1, 1, 'Threadbare Mantle'), +(238033, 258857, 0, 0.04759638, 0, 1, 0, 1, 1, 'Threadbare Sash'), +(238033, 258858, 0, 0.09519277, 0, 1, 0, 1, 1, 'Threadbare Crown'), +(238033, 258859, 0, 0.1903855, 0, 1, 0, 1, 1, 'Threadbare Mitts'), +(238033, 258860, 0, 0.04759638, 0, 1, 0, 1, 1, 'Threadbare Leggings'), +(238033, 258861, 0, 0.09519277, 0, 1, 0, 1, 1, 'Threadbare Slippers'), +(238033, 258862, 0, 0.02379819, 0, 1, 0, 1, 1, 'Threadbare Vestments'), +(238033, 258863, 0, 0.09519277, 0, 1, 0, 1, 1, 'Threadbare Armbands'), +(238033, 258864, 0, 0.1665873, 0, 1, 0, 1, 1, 'Brittle Waistguard'), +(238033, 258865, 0, 0.1427892, 0, 1, 0, 1, 1, 'Brittle Breastplate'), +(238033, 258866, 0, 0.04759638, 0, 1, 0, 1, 1, 'Brittle Gauntlets'), +(238033, 258867, 0, 0.1427892, 0, 1, 0, 1, 1, 'Brittle Faceguard'), +(238033, 258868, 0, 0.02379819, 0, 1, 0, 1, 1, 'Brittle Legguards'), +(238033, 258869, 0, 0.04759638, 0, 1, 0, 1, 1, 'Brittle Pauldrons'), +(238033, 258870, 0, 0.118991, 0, 1, 0, 1, 1, 'Brittle Warboots'), +(238033, 258871, 0, 0.09519277, 0, 1, 0, 1, 1, 'Brittle Armplates'), +(238033, 258872, 0, 0.09519277, 0, 1, 0, 1, 1, 'Frayed Wristwraps'), +(238033, 258873, 0, 0.2141837, 0, 1, 0, 1, 1, 'Frayed Tunic'), +(238033, 258874, 0, 0.07139458, 0, 1, 0, 1, 1, 'Frayed Shoulderpads'), +(238033, 258875, 0, 0.04759638, 0, 1, 0, 1, 1, 'Frayed Britches'), +(238033, 258876, 0, 0.118991, 0, 1, 0, 1, 1, 'Frayed Guise'), +(238033, 258877, 0, 0.09519277, 0, 1, 0, 1, 1, 'Frayed Handwraps'), +(238033, 258878, 0, 0.1427892, 0, 1, 0, 1, 1, 'Frayed Boots'), +(238033, 258879, 0, 0.2855783, 0, 1, 0, 1, 1, 'Frayed Strap'), +(238033, 266216, 0, 0.1427892, 0, 1, 0, 1, 1, 'Threadbare Cloak'), +(238033, 266221, 0, 0.2379819, 0, 1, 0, 1, 1, 'Frayed Shroud'), +(238033, 266223, 0, 0.09519277, 0, 1, 0, 1, 1, 'Stained Drape'), +(238033, 266224, 0, 0.1903855, 0, 1, 0, 1, 1, 'Brittle Cape'); + + +UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=237602; + +DELETE FROM `gameobject` WHERE `guid`=224465; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224465, 584668, 2857, 16170, 16170, '0', 0, 0, 0, -1, 1265.71, 543.412, 12.7927, 1.9579, 0, 0, 0.829913, 0.557893, 300, 255, 1, 0, '', NULL, 0); + +UPDATE `gameobject_template` SET `Data0`=1312050 WHERE `entry`=584668; + + -- Portal to Silvermoon City smart ai +SET @ENTRY := 584668; +UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` = @ENTRY; +DELETE FROM `smart_scripts` WHERE `source_type` = 1 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, 1, 0, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 250066, 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: Portal Taken to Silvermoon (250066)', ''); + + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 584668 AND `SourceId` = 1; + +DELETE FROM `creature` WHERE `guid`=905459; +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 (905459, 251355, 0, 16215, 16754, '0', 0, 0, 0, -1, 0, 0, 10768.4, -4613.52, 35.3997, 0.0729879, 300, 0, 0, 99, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=248322; + +DELETE FROM `creature` WHERE `guid`=905460; +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 (905460, 248322, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11014.6, -4581.68, 34.1203, 4.98882, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +REPLACE INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(248322,0,1,0,'',62,0,100,0,39955,0,0,0,0,'',33,248322,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Salandria - gossip menu 39955 OptionID 0 (GossipOptionID 134853, Take this sword) credits 86902 objective 248322 (Relic given to Salandria): #155481 CMSG_GOSSIP_SELECT_OPTION 15:44:10.287 -> #155494 SMSG_QUEST_UPDATE_ADD_CREDIT VictimGUID entry 248322'), +(248322,0,2,0,'',62,0,100,0,39955,0,0,0,0,'',72,0,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Salandria - close the gossip menu after the select (retail SMSG_GOSSIP_COMPLETE 15:44:13.248)'); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=248326; + +REPLACE INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(248326,0,1,0,'',62,0,100,0,39959,0,0,0,0,'',33,248326,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Valunei - gossip menu 39959 OptionID 0 (GossipOptionID 134855, Vindicator Maraad found peac) credits 86902 objective 248326 (Relic given to Valunei): #157106 CMSG_GOSSIP_SELECT_OPTION 15:44:34.694 -> #157130 SMSG_QUEST_UPDATE_ADD_CREDIT VictimGUID entry 248326'), +(248326,0,2,0,'',62,0,100,0,39959,0,0,0,0,'',72,0,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Valunei - close the gossip menu after the select (retail SMSG_GOSSIP_COMPLETE 15:44:44.016)'); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=248323; + +REPLACE INTO `smart_scripts` (`entryorguid`,`source_type`,`id`,`link`,`Difficulties`,`event_type`,`event_phase_mask`,`event_chance`,`event_flags`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`event_param5`,`event_param_string`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`action_param7`,`action_param_string`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_param_string`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES +(248323,0,1,0,'',62,0,100,0,39326,0,0,0,0,'',33,248323,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Taelia Fordragon - gossip menu 39326 OptionID 0 (GossipOptionID 134818, I have a relic to sustain yo) credits 86902 objective 248323 (Relic given to Taelia): #156831 CMSG_GOSSIP_SELECT_OPTION 15:44:29.644 -> #156854 SMSG_QUEST_UPDATE_ADD_CREDIT VictimGUID entry 248323'), +(248323,0,2,0,'',62,0,100,0,39326,0,0,0,0,'',72,0,0,0,0,0,0,0,NULL,7,0,0,0,0,NULL,0,0,0,0,'Taelia Fordragon - close the gossip menu after the select (retail SMSG_GOSSIP_COMPLETE 15:44:33.284)'); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=248321; + +DELETE FROM `creature` WHERE `guid`=905461; +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 (905461, 248321, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11007.8, -4582.68, 34.1197, 5.22108, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=248408; + +DELETE FROM `creature` WHERE `guid`=905462; +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 (905462, 248408, 0, 16215, 16526, '0', 0, 0, 0, -1, 0, 0, 11002.1, -4583.55, 34.1197, 5.17286, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `quest_objectives` SET `Type`=0 WHERE `ID`=469671; + + -- Aelyse smart ai +SET @ENTRY := 248408; +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, 86902, 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` = 248408 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 248408, 0, 0, 9, 0, 86902, 0, 0, '', 0, 'Action invoker has quest Relinquishing Relics (86902) active'); + +UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=251355; + +DELETE FROM `gameobject` WHERE `guid`=224466; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224466, 570777, 0, 16215, 16754, '0', 0, 0, 0, -1, 10759.6, -4616.81, 35.5039, 0.0756134, 0, 0, 0.0377977, 0.999285, 300, 255, 1, 0, '', NULL, 0); + +DELETE FROM `creature` WHERE `guid`=905463; +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 (905463, 245186, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1012.74, -3519.96, 61.4103, 4.84642, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `gameobject` WHERE `guid`=224467; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224467, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1029.4, -3536, 57.2703, 0.273901, 0, 0, 0.136523, 0.990637, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224468; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224468, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1025.84, -3534.23, 57.433, 0.336592, 0, 0, 0.167503, 0.985872, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224469; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224469, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1021.13, -3533.33, 57.3556, 0.336592, 0, 0, 0.167503, 0.985872, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224470; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224470, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1015.36, -3531.32, 57.1739, 0.336592, 0, 0, 0.167503, 0.985872, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224471; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224471, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1007.38, -3554.01, 56.5829, 5.25822, 0, 0, 0.490343, -0.871529, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224472; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224472, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -998.359, -3551.69, 58.0158, 0.116539, 0, 0, 0.0582365, 0.998303, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224473; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224473, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -992.237, -3549.56, 57.6845, 0.302211, 0, 0, 0.150531, 0.988605, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224474; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224474, 525458, 2796, 15716, 15719, '0', 0, 0, 0, -1, -980.127, -3532.89, 57.1952, 0.931373, 0, 0, 0.449036, 0.893514, 300, 255, 1, 0, '', NULL, 0); + +DELETE FROM `gameobject` WHERE `guid`=224475; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224475, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -975.396, -3530.18, 56.7455, 1.74033, 0, 0, 0.764436, 0.644699, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224476; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224476, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -985.252, -3504.87, 57.3795, 1.93668, 0, 0, 0.823947, 0.566667, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224477; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224477, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -974.831, -3490.08, 55.2459, 0.960585, 0, 0, 0.462039, 0.88686, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224478; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224478, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -967.047, -3480.11, 55.2114, 0.910636, 0, 0, 0.439748, 0.898121, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224479; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224479, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -986.178, -3489.21, 61.0432, 3.67476, 0, 0, 0.964676, -0.263438, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224480; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224480, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1002.99, -3514.45, 60.1009, 4.00119, 0, 0, 0.90905, -0.416687, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224481; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224481, 525459, 2796, 15716, 15719, '0', 0, 0, 0, -1, -1027.8, -3558.84, 56.5377, 4.02647, 0, 0, 0.903711, -0.428144, 300, 255, 1, 0, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=238101; + +DELETE FROM `creature` WHERE `guid`=905464; +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 (905464, 238101, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -954.332, -3535.94, 56.9349, 3.02995, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `faction`=7 WHERE `entry`=240579; + +DELETE FROM `creature` WHERE `guid`=905465; +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 (905465, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -963.672, -3527.7, 56.6409, 3.58533, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905466; +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 (905466, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -976.704, -3524.9, 56.9225, 2.87, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905467; +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 (905467, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -996.888, -3517.83, 57.2795, 2.86717, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905468; +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 (905468, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1005.27, -3524.8, 58.5226, 3.52519, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905469; +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 (905469, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1019.63, -3530.39, 57.2534, 3.40125, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905470; +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 (905470, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1022.85, -3530.32, 57.2136, 3.40125, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905471; +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 (905471, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1027.14, -3530.65, 57.6055, 3.40125, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905472; +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 (905472, 240579, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1028.4, -3533.71, 57.4324, 3.40125, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=129 WHERE `entry`=232033; + +DELETE FROM `creature` WHERE `guid`=905473; +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 (905473, 232033, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -1017.11, -3494.32, 62.1023, 5.73038, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=129 WHERE `entry`=232036; + +DELETE FROM `creature` WHERE `guid`=905474; +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 (905474, 232036, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -968.65, -3563.65, 58.5107, 2.2567, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=81 WHERE `entry`=232031; + + +DELETE FROM `creature` WHERE `guid`=905475; +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 (905475, 232031, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -953.84, -3532.19, 56.9741, 3.39601, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=129 WHERE `entry`=232035; + +DELETE FROM `creature` WHERE `guid`=905476; +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 (905476, 232035, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -928.472, -3531.98, 70.685, 0.16299, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=129 WHERE `entry`=232037; +DELETE FROM `creature` WHERE `guid`=905477; +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 (905477, 232037, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -882.992, -3500.46, 71.7712, 4.6484, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature` WHERE `guid`=905478; +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 (905478, 247299, 2796, 15716, 15719, '0', 0, 0, 0, -1, 0, 0, -935.932, -3532.6, 70.64, 0.123891, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=3 WHERE `entry`=245186; + + -- Sunwalker Dezco smart ai +SET @ENTRY := 245186; +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, 89338, 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` = 245186 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 245186, 0, 0, 9, 0, 89338, 0, 0, '', 0, 'Action invoker has quest Gathering Plowshares (89338) active'); + + -- Slithering Spoils +SET @ENTRY := 97321; +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, 97321, 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` = 97321 AND `SourceId` = 5; + +SET @ENTRY := 95008; +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, 95008, 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` = 95008 AND `SourceId` = 5; + +UPDATE `creature_template` SET `faction`=35 WHERE `entry`=242802; + +DELETE FROM `creature_queststarter` WHERE `id` = 241455; +INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES +(241455, 93705), +(241455, 93706), +(241455, 93707), +(241455, 93708), +(241455, 93709); + +DELETE FROM `creature_questender` WHERE `id` = 241455; +INSERT INTO `creature_questender` (`id`, `quest`) VALUES +(241455, 93705), +(241455, 93706), +(241455, 93707), +(241455, 93708), +(241455, 93709); + + + -- Lord Antenorian smart ai +SET @ENTRY := 245004; +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, 39451, 0, 0, 0, 0, 33, 245004, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 39451 selected - Gossip player: Give kill credit Lord Antenorian (245004)', ''), +(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 39451, 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 39451 selected - Gossip player: Close gossip', ''), +(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 90907, 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` = 245004 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 3, 245004, 0, 0, 9, 0, 90907, 0, 0, '', 0, 'Action invoker has quest The First to Know (90907) active'); + + +UPDATE creature_template_difficulty SET lootid = 244434 WHERE entry = 244434 AND lootid = 0; +DELETE FROM `creature_loot_template` WHERE `entry` = 244434; +INSERT INTO `creature_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(244434, 235052, 0, 0.01395284, 0, 3, 0, 1, 1, 'Weathered Mysterious Satchel'), +(244434, 236870, 0, 0.01395284, 0, 3, 0, 1, 1, 'Potion of Mysterious Tremorshards'), +(244434, 236963, 0, 3.29287, 0, 3, 0, 1, 2, 'Bright Linen'), +(244434, 237015, 0, 0.08371703, 0, 3, 0, 1, 1, 'Sunfire Silk'), +(244434, 237016, 0, 0.0697642, 0, 3, 0, 1, 1, 'Sunfire Silk'), +(244434, 237017, 0, 0.04185852, 0, 3, 0, 1, 1, 'Arcanoweave'), +(244434, 237018, 0, 0.05581136, 0, 3, 0, 1, 1, 'Arcanoweave'), +(244434, 243221, 0, 100, 1, 3, 0, 1, 1, 'Suspicious Missive'), +(244434, 245831, 0, 0.01395284, 0, 3, 0, 1, 1, 'Two of Hunt'), +(244434, 245833, 0, 0.01395284, 0, 3, 0, 1, 1, 'Four of Hunt'), +(244434, 245834, 0, 0.01395284, 0, 3, 0, 1, 1, 'Five of Hunt'), +(244434, 245836, 0, 0.02790568, 0, 3, 0, 1, 1, 'Seven of Hunt'), +(244434, 245840, 0, 0.02790568, 0, 3, 0, 1, 1, 'Three of Void'), +(244434, 245841, 0, 0.01395284, 0, 3, 0, 1, 1, 'Four of Void'), +(244434, 245842, 0, 0.01395284, 0, 3, 0, 1, 1, 'Five of Void'), +(244434, 245843, 0, 0.01395284, 0, 3, 0, 1, 1, 'Six of Void'), +(244434, 245845, 0, 0.04185852, 0, 3, 0, 1, 1, 'Eight of Void'), +(244434, 245847, 0, 0.01395284, 0, 3, 0, 1, 1, 'Ace of Rot'), +(244434, 245848, 0, 0.02790568, 0, 3, 0, 1, 1, 'Two of Rot'), +(244434, 245850, 0, 0.01395284, 0, 3, 0, 1, 1, 'Four of Rot'), +(244434, 245851, 0, 0.01395284, 0, 3, 0, 1, 1, 'Five of Rot'), +(244434, 245854, 0, 0.04185852, 0, 3, 0, 1, 1, 'Eight of Rot'), +(244434, 245857, 0, 0.01395284, 0, 3, 0, 1, 1, 'Two of Blood'), +(244434, 245858, 0, 0.01395284, 0, 3, 0, 1, 1, 'Three of Blood'), +(244434, 245860, 0, 0.04185852, 0, 3, 0, 1, 1, 'Five of Blood'), +(244434, 245861, 0, 0.02790568, 0, 3, 0, 1, 1, 'Six of Blood'), +(244434, 245862, 0, 0.02790568, 0, 3, 0, 1, 1, 'Seven of Blood'), +(244434, 258848, 0, 0.08371703, 0, 3, 0, 1, 1, 'Stained Girdle'), +(244434, 258849, 0, 0.1116227, 0, 3, 0, 1, 1, 'Stained Headguard'), +(244434, 258850, 0, 0.0697642, 0, 3, 0, 1, 1, 'Stained Fistguards'), +(244434, 258851, 0, 0.08371703, 0, 3, 0, 1, 1, 'Stained Hauberk'), +(244434, 258852, 0, 0.09766988, 0, 3, 0, 1, 1, 'Stained Greaves'), +(244434, 258853, 0, 0.04185852, 0, 3, 0, 1, 1, 'Stained Sabatons'), +(244434, 258854, 0, 0.08371703, 0, 3, 0, 1, 1, 'Stained Pauldrons'), +(244434, 258855, 0, 0.09766988, 0, 3, 0, 1, 1, 'Stained Armguards'), +(244434, 258856, 0, 0.0697642, 0, 3, 0, 1, 1, 'Threadbare Mantle'), +(244434, 258857, 0, 0.05581136, 0, 3, 0, 1, 1, 'Threadbare Sash'), +(244434, 258858, 0, 0.0697642, 0, 3, 0, 1, 1, 'Threadbare Crown'), +(244434, 258859, 0, 0.1255756, 0, 3, 0, 1, 1, 'Threadbare Mitts'), +(244434, 258860, 0, 0.1395284, 0, 3, 0, 1, 1, 'Threadbare Leggings'), +(244434, 258861, 0, 0.1116227, 0, 3, 0, 1, 1, 'Threadbare Slippers'), +(244434, 258862, 0, 0.1116227, 0, 3, 0, 1, 1, 'Threadbare Vestments'), +(244434, 258863, 0, 0.1395284, 0, 3, 0, 1, 1, 'Threadbare Armbands'), +(244434, 258864, 0, 0.08371703, 0, 3, 0, 1, 1, 'Brittle Waistguard'), +(244434, 258865, 0, 0.0697642, 0, 3, 0, 1, 1, 'Brittle Breastplate'), +(244434, 258866, 0, 0.08371703, 0, 3, 0, 1, 1, 'Brittle Gauntlets'), +(244434, 258867, 0, 0.1116227, 0, 3, 0, 1, 1, 'Brittle Faceguard'), +(244434, 258868, 0, 0.08371703, 0, 3, 0, 1, 1, 'Brittle Legguards'), +(244434, 258869, 0, 0.05581136, 0, 3, 0, 1, 1, 'Brittle Pauldrons'), +(244434, 258870, 0, 0.2511511, 0, 3, 0, 1, 1, 'Brittle Warboots'), +(244434, 258871, 0, 0.1116227, 0, 3, 0, 1, 1, 'Brittle Armplates'), +(244434, 258872, 0, 0.1255756, 0, 3, 0, 1, 1, 'Frayed Wristwraps'), +(244434, 258873, 0, 0.1534812, 0, 3, 0, 1, 1, 'Frayed Tunic'), +(244434, 258874, 0, 0.1395284, 0, 3, 0, 1, 1, 'Frayed Shoulderpads'), +(244434, 258875, 0, 0.1534812, 0, 3, 0, 1, 1, 'Frayed Britches'), +(244434, 258876, 0, 0.0697642, 0, 3, 0, 1, 1, 'Frayed Guise'), +(244434, 258877, 0, 0.0697642, 0, 3, 0, 1, 1, 'Frayed Handwraps'), +(244434, 258878, 0, 0.1674341, 0, 3, 0, 1, 1, 'Frayed Boots'), +(244434, 258879, 0, 0.08371703, 0, 3, 0, 1, 1, 'Frayed Strap'), +(244434, 258908, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Band'), +(244434, 258909, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Signet'), +(244434, 258911, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Pendant'), +(244434, 258912, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Robe'), +(244434, 258913, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Slippers'), +(244434, 258914, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Mitts'), +(244434, 258915, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Crown'), +(244434, 258916, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Trousers'), +(244434, 258917, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Pads'), +(244434, 258919, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Spellbinder''s Bands'), +(244434, 258922, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Corsair''s Gloves'), +(244434, 258923, 0, 0.05581136, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Corsair''s Hood'), +(244434, 258924, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Corsair''s Breeches'), +(244434, 258926, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Corsair''s Belt'), +(244434, 258927, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Corsair''s Bracers'), +(244434, 258929, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Sabatons'), +(244434, 258930, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Handguards'), +(244434, 258931, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Cover'), +(244434, 258932, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Chausses'), +(244434, 258933, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Epaulets'), +(244434, 258934, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Girdle'), +(244434, 258935, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Sentinel''s Armguards'), +(244434, 258936, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Breastplate'), +(244434, 258937, 0, 0.0697642, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Warboots'), +(244434, 258938, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Gauntlets'), +(244434, 258939, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Helmet'), +(244434, 258940, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Greaves'), +(244434, 258942, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Greatbelt'), +(244434, 258943, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Commander''s Armplates'), +(244434, 258945, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Carver'), +(244434, 258946, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Chopper'), +(244434, 258951, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Shortsword'), +(244434, 258952, 0, 0.04185852, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Longsword'), +(244434, 258953, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Longbow'), +(244434, 258954, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Poleaxe'), +(244434, 258955, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Halberd'), +(244434, 258958, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Greatsword'), +(244434, 258959, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Blade'), +(244434, 258960, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Beacon'), +(244434, 258961, 0, 0.01395284, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Defender'), +(244434, 258962, 0, 0.02790568, 0, 3, 0, 1, 1, 'Tarnished Dawnlit Warglaive'), +(244434, 264475, 0, 0.04185852, 0, 3, 0, 1, 1, 'Umbral Tin Lockbox'), +(244434, 265803, 0, 0.1116227, 0, 3, 0, 1, 1, 'Bazaar Bites'), +(244434, 266216, 0, 0.04185852, 0, 3, 0, 1, 1, 'Threadbare Cloak'), +(244434, 266221, 0, 0.05581136, 0, 3, 0, 1, 1, 'Frayed Shroud'), +(244434, 266223, 0, 0.0697642, 0, 3, 0, 1, 1, 'Stained Drape'), +(244434, 266224, 0, 0.09766988, 0, 3, 0, 1, 1, 'Brittle Cape'); + + + + -- Arator smart ai +SET @ENTRY := 236391; +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, 40663, 0, 0, 0, 0, 33, 252294, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On gossip action 0 from menu 40663 selected - Gossip player: Give kill credit Kill Credit (252294)', ''), +(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 40663, 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 40663 selected - Gossip player: Close gossip', ''), +(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 171, 86633, 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` = 236391 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 3, 236391, 0, 0, 9, 0, 86633, 0, 0, '', 0, 'Action invoker has quest Comprehend the Void (86633) active'); + + -- Void Walk With Me +SET @ENTRY := 86636; +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, 86636, 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` = 86636 AND `SourceId` = 5; + +DELETE FROM `creature` WHERE `guid`=905479; +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 (905479, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6339.75, -4916.81, 172.587, 5.31319, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905480; +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 (905480, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6357.6, -4936.1, 173.057, 5.43038, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905481; +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 (905481, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6354.68, -4938.65, 175.543, 5.43038, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905482; +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 (905482, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6374.06, -4922.24, 171.034, 5.58558, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905483; +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 (905483, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6403.75, -4925.75, 174.716, 0.339118, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905484; +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 (905484, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6404.64, -4928.27, 174.573, 0.339118, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905485; +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 (905485, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6428.83, -4923.29, 175.513, 5.13287, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905486; +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 (905486, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6431.46, -4923.46, 175.344, 5.13287, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905487; +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 (905487, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6472.29, -4962.97, 174.905, 5.1368, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905488; +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 (905488, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6476.57, -4961.04, 174.228, 5.1368, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905489; +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 (905489, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6509.93, -4973.87, 174.528, 4.04056, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905490; +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 (905490, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6514.49, -4977.49, 175.47, 4.04056, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905491; +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 (905491, 240103, 0, 15968, 16046, '0', 0, 0, 0, -1, 0, 0, 6521.89, -4983.37, 177.01, 4.04056, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template` SET `KillCredit1`=241368, `faction`=14 WHERE `entry`=237386; + +DELETE FROM `creature` WHERE `guid`=905492; +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 (905492, 237386, 0, 15968, 16343, '0', 0, 0, 0, -1, 0, 0, 5972.07, -4937.64, 183.318, 1.46861, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + -- Beat of Blood +SET @ENTRY := 86647; +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, 86647, 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` = 86647 AND `SourceId` = 5; + +DELETE FROM `creature` WHERE `guid`=905493; +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 (905493, 236611, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5041.77, -5056.1, 111.193, 0.426549, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `npcflag`=1 WHERE `entry`=245419; + +DELETE FROM `creature` WHERE `guid`=905494; +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 (905494, 245419, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5057.56, -5459.94, 138.846, 1.51174, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature_template_gossip` WHERE `CreatureID`=245419 AND `MenuID`=1; +INSERT INTO `creature_template_gossip` (`CreatureID`, `MenuID`, `VerifiedBuild`) VALUES (245419, 1, 47936); + + -- Arator smart ai +SET @ENTRY := 245419; +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, 86648, 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` = 245419 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 245419, 0, 0, 9, 0, 86648, 0, 0, '', 0, 'Action invoker has quest Light Guide Us (86648) active'); + +DELETE FROM `creature` WHERE `guid`=905495; +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 (905495, 236612, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5052.34, -5522.94, 166.798, 5.27711, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature_template` WHERE `entry`=249083; +INSERT INTO `creature_template` (`entry`, `KillCredit1`, `KillCredit2`, `name`, `femaleName`, `subname`, `IconName`, `TitleAlt`, `RequiredExpansion`, `VignetteID`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `Classification`, `dmgschool`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `unit_flags3`, `family`, `trainer_class`, `type`, `VehicleId`, `AIName`, `MovementType`, `ExperienceModifier`, `RacialLeader`, `movementId`, `WidgetSetID`, `WidgetSetUnitConditionID`, `RegenHealth`, `CreatureImmunitiesId`, `flags_extra`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (249083, 249115, 253369, 'Void Beast', NULL, NULL, NULL, NULL, 0, 0, 7, 0, 1, 1.14286, 1, 0, 0, 0, 0, 1, 1, 2, 0, 2048, 0, 0, 0, 4, 0, '', 0, 1, 0, 0, 0, 0, 1, 0, 0, '', NULL, 69933); + +DELETE FROM `creature` WHERE `guid`=905496; +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 (905496, 249083, 0, 15968, 16052, '0', 0, 0, 0, -1, 0, 0, 5070.57, -5547.6, 167.21, 1.87613, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature` WHERE `guid`=905497; +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 (905497, 236485, 0, 16194, 16194, '0', 0, 0, 0, -1, 0, 0, 5054.64, -5921.76, 215.241, 4.67717, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature` WHERE `guid`=905498; +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 (905498, 236468, 0, 16194, 16194, '0', 0, 0, 0, -1, 0, 0, 5051.47, -5921.17, 215.241, 4.81648, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905499; +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 (905499, 236558, 0, 16194, 16670, '0', 0, 0, 0, -1, 0, 0, 5032.68, -6568.55, 218.646, 1.48543, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template_difficulty` SET `StaticFlags1`=0 WHERE `Entry`=236544; +UPDATE creature_template_difficulty SET lootid = 236544 WHERE entry = 236544; +DELETE FROM `creature_loot_template` WHERE `entry` = 236544; +INSERT INTO `creature_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(236544, 237768, 0, 100, 1, 1, 0, 0, 0, 'Hash''ey Staff'); + +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=236519; + + +UPDATE creature_template_difficulty SET lootid = 236519 WHERE entry = 236519; +DELETE FROM `creature_loot_template` WHERE `entry` = 236519; +INSERT INTO `creature_loot_template` (`entry`, `Item`, `ItemType`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES +(236519, 235054, 0, 0.002793764, 0, 3, 0, 1, 1, 'Pristine Mysterious Satchel'), +(236519, 236963, 0, 3.173716, 0, 3, 0, 1, 2, 'Bright Linen'), +(236519, 236965, 0, 0.4749399, 0, 3, 0, 1, 2, 'Bright Linen'), +(236519, 237015, 0, 0.1173381, 0, 3, 0, 1, 1, 'Sunfire Silk'), +(236519, 237016, 0, 0.1341007, 0, 3, 0, 1, 1, 'Sunfire Silk'), +(236519, 237017, 0, 0.06705035, 0, 3, 0, 1, 1, 'Arcanoweave'), +(236519, 237018, 0, 0.1564508, 0, 3, 0, 1, 1, 'Arcanoweave'), +(236519, 237767, 0, 100, 1, 3, 0, 1, 1, 'Lightwood Weapon'), +(236519, 245831, 0, 0.03631894, 0, 3, 0, 1, 1, 'Two of Hunt'), +(236519, 245832, 0, 0.02235011, 0, 3, 0, 1, 1, 'Three of Hunt'), +(236519, 245833, 0, 0.02235011, 0, 3, 0, 1, 1, 'Four of Hunt'), +(236519, 245834, 0, 0.01955635, 0, 3, 0, 1, 1, 'Five of Hunt'), +(236519, 245835, 0, 0.008381293, 0, 3, 0, 1, 1, 'Six of Hunt'), +(236519, 245836, 0, 0.01396882, 0, 3, 0, 1, 1, 'Seven of Hunt'), +(236519, 245837, 0, 0.01396882, 0, 3, 0, 1, 1, 'Eight of Hunt'), +(236519, 245838, 0, 0.002793764, 0, 3, 0, 1, 1, 'Ace of Void'), +(236519, 245839, 0, 0.02235011, 0, 3, 0, 1, 1, 'Two of Void'), +(236519, 245840, 0, 0.02793764, 0, 3, 0, 1, 1, 'Three of Void'), +(236519, 245841, 0, 0.01676259, 0, 3, 0, 1, 1, 'Four of Void'), +(236519, 245842, 0, 0.008381293, 0, 3, 0, 1, 1, 'Five of Void'), +(236519, 245843, 0, 0.01955635, 0, 3, 0, 1, 1, 'Six of Void'), +(236519, 245844, 0, 0.01396882, 0, 3, 0, 1, 1, 'Seven of Void'), +(236519, 245845, 0, 0.008381293, 0, 3, 0, 1, 1, 'Eight of Void'), +(236519, 245847, 0, 0.01117506, 0, 3, 0, 1, 1, 'Ace of Rot'), +(236519, 245848, 0, 0.005587528, 0, 3, 0, 1, 1, 'Two of Rot'), +(236519, 245849, 0, 0.03352517, 0, 3, 0, 1, 1, 'Three of Rot'), +(236519, 245850, 0, 0.01117506, 0, 3, 0, 1, 1, 'Four of Rot'), +(236519, 245851, 0, 0.01396882, 0, 3, 0, 1, 1, 'Five of Rot'), +(236519, 245852, 0, 0.005587528, 0, 3, 0, 1, 1, 'Six of Rot'), +(236519, 245853, 0, 0.01396882, 0, 3, 0, 1, 1, 'Seven of Rot'), +(236519, 245854, 0, 0.008381293, 0, 3, 0, 1, 1, 'Eight of Rot'), +(236519, 245856, 0, 0.005587528, 0, 3, 0, 1, 1, 'Ace of Blood'), +(236519, 245857, 0, 0.02514388, 0, 3, 0, 1, 1, 'Two of Blood'), +(236519, 245858, 0, 0.02235011, 0, 3, 0, 1, 1, 'Three of Blood'), +(236519, 245859, 0, 0.01676259, 0, 3, 0, 1, 1, 'Four of Blood'), +(236519, 245860, 0, 0.008381293, 0, 3, 0, 1, 1, 'Five of Blood'), +(236519, 245861, 0, 0.02793764, 0, 3, 0, 1, 1, 'Six of Blood'), +(236519, 245862, 0, 0.01676259, 0, 3, 0, 1, 1, 'Seven of Blood'), +(236519, 245863, 0, 0.01676259, 0, 3, 0, 1, 1, 'Eight of Blood'), +(236519, 258848, 0, 0.1005755, 0, 3, 0, 1, 1, 'Stained Girdle'), +(236519, 258849, 0, 0.07543164, 0, 3, 0, 1, 1, 'Stained Headguard'), +(236519, 258850, 0, 0.1145443, 0, 3, 0, 1, 1, 'Stained Fistguards'), +(236519, 258851, 0, 0.05866905, 0, 3, 0, 1, 1, 'Stained Hauberk'), +(236519, 258852, 0, 0.09498799, 0, 3, 0, 1, 1, 'Stained Greaves'), +(236519, 258853, 0, 0.08101916, 0, 3, 0, 1, 1, 'Stained Sabatons'), +(236519, 258854, 0, 0.08940046, 0, 3, 0, 1, 1, 'Stained Pauldrons'), +(236519, 258855, 0, 0.0866067, 0, 3, 0, 1, 1, 'Stained Armguards'), +(236519, 258856, 0, 0.09498799, 0, 3, 0, 1, 1, 'Threadbare Mantle'), +(236519, 258857, 0, 0.1033693, 0, 3, 0, 1, 1, 'Threadbare Sash'), +(236519, 258858, 0, 0.09219422, 0, 3, 0, 1, 1, 'Threadbare Crown'), +(236519, 258859, 0, 0.0866067, 0, 3, 0, 1, 1, 'Threadbare Mitts'), +(236519, 258860, 0, 0.106163, 0, 3, 0, 1, 1, 'Threadbare Leggings'), +(236519, 258861, 0, 0.08381293, 0, 3, 0, 1, 1, 'Threadbare Slippers'), +(236519, 258862, 0, 0.1341007, 0, 3, 0, 1, 1, 'Threadbare Vestments'), +(236519, 258863, 0, 0.07543164, 0, 3, 0, 1, 1, 'Threadbare Armbands'), +(236519, 258864, 0, 0.106163, 0, 3, 0, 1, 1, 'Brittle Waistguard'), +(236519, 258865, 0, 0.08381293, 0, 3, 0, 1, 1, 'Brittle Breastplate'), +(236519, 258866, 0, 0.0782254, 0, 3, 0, 1, 1, 'Brittle Gauntlets'), +(236519, 258867, 0, 0.0866067, 0, 3, 0, 1, 1, 'Brittle Faceguard'), +(236519, 258868, 0, 0.07543164, 0, 3, 0, 1, 1, 'Brittle Legguards'), +(236519, 258869, 0, 0.142482, 0, 3, 0, 1, 1, 'Brittle Pauldrons'), +(236519, 258870, 0, 0.1117506, 0, 3, 0, 1, 1, 'Brittle Warboots'), +(236519, 258871, 0, 0.09219422, 0, 3, 0, 1, 1, 'Brittle Armplates'), +(236519, 258872, 0, 0.1005755, 0, 3, 0, 1, 1, 'Frayed Wristwraps'), +(236519, 258873, 0, 0.08940046, 0, 3, 0, 1, 1, 'Frayed Tunic'), +(236519, 258874, 0, 0.08940046, 0, 3, 0, 1, 1, 'Frayed Shoulderpads'), +(236519, 258875, 0, 0.1005755, 0, 3, 0, 1, 1, 'Frayed Britches'), +(236519, 258876, 0, 0.06705035, 0, 3, 0, 1, 1, 'Frayed Guise'), +(236519, 258877, 0, 0.1313069, 0, 3, 0, 1, 1, 'Frayed Handwraps'), +(236519, 258878, 0, 0.07543164, 0, 3, 0, 1, 1, 'Frayed Boots'), +(236519, 258879, 0, 0.09778175, 0, 3, 0, 1, 1, 'Frayed Strap'), +(236519, 265800, 0, 0.2179136, 0, 3, 0, 1, 1, 'Earthy Garnish'), +(236519, 266216, 0, 0.1145443, 0, 3, 0, 1, 1, 'Threadbare Cloak'), +(236519, 266221, 0, 0.09498799, 0, 3, 0, 1, 1, 'Frayed Shroud'), +(236519, 266223, 0, 0.09778175, 0, 3, 0, 1, 1, 'Stained Drape'), +(236519, 266224, 0, 0.07263787, 0, 3, 0, 1, 1, 'Brittle Cape'); + +DELETE FROM `creature` WHERE `guid`=905500; +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 (905500, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4834.09, -6174.73, 224.052, 4.47375, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905501; +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 (905501, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4833.8, -6214.14, 223.103, 2.38436, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905502; +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 (905502, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4870.67, -6187.25, 223.368, 3.09184, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905503; +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 (905503, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4871.04, -6179.91, 223.327, 3.09184, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905504; +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 (905504, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4872.76, -6204.88, 223.654, 3.09184, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905505; +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 (905505, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4872.52, -6209.83, 223.375, 3.09184, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905506; +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 (905506, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4857.07, -6250.32, 232.819, 1.57147, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905507; +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 (905507, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4843.17, -6250.33, 232.819, 1.57147, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905508; +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 (905508, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4798.63, -6209.12, 232.82, 0.101534, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905509; +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 (905509, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4798.77, -6189.6, 232.82, 0.101534, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905510; +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 (905510, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4831.49, -6175.21, 223.933, 6.24163, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905511; +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 (905511, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4867.92, -6135.53, 208.094, 1.75073, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905512; +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 (905512, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4834.88, -6132.19, 208.066, 1.53302, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905513; +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 (905513, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4829.03, -6102.88, 208.217, 4.95324, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905514; +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 (905514, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4774.11, -6116.39, 189.647, 3.66567, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905515; +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 (905515, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4769.82, -6142.72, 188.391, 4.72643, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905516; +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 (905516, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4753.2, -6188.73, 184.887, 4.85885, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905517; +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 (905517, 236519, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4751.63, -6188.96, 184.887, 4.85885, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=236518; +REPLACE INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES +(241695, 1277832, 1, 1), +(236518, 1223258, 1, 1); + +DELETE FROM `creature` WHERE `guid`=905518; +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 (905518, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4755.21, -6309.23, 181.265, 5.63618, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905519; +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 (905519, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4759.15, -6312.72, 181.325, 0.84746, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905520; +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 (905520, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4765.25, -6318.1, 181.368, 0.84746, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905521; +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 (905521, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4773.15, -6325.08, 180.88, 0.84746, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905522; +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 (905522, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4800.18, -6312.66, 184.405, 5.56943, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905523; +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 (905523, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4808.51, -6309.21, 187.728, 5.56943, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905524; +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 (905524, 236518, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4829.71, -6292.1, 193.403, 5.56943, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905525; +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 (905525, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4852.15, -6313.9, 194.705, 4.6769, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905526; +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 (905526, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4838.44, -6334.06, 193.978, 5.54649, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905527; +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 (905527, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4871.29, -6382.4, 197.252, 3.34282, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905528; +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 (905528, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4794.22, -6390.8, 180.783, 3.41461, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905529; +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 (905529, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4797.22, -6427.74, 181.236, 4.33683, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905530; +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 (905530, 236518, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4837.54, -6460.65, 183.061, 0.981456, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `gameobject` WHERE `guid`=224482; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224482, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4921.65, -6373.92, 183.674, 1.41625, 0, 0, 0.650412, 0.759581, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224483; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224483, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4915.84, -6339.44, 185.415, 2.5298, 0, 0, 0.953577, 0.30115, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224484; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224484, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4900.16, -6333.52, 190.618, 2.5298, 0, 0, 0.953577, 0.30115, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224485; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224485, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4891.16, -6334.37, 193.058, 2.5298, 0, 0, 0.953577, 0.30115, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224486; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224486, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4878.22, -6334.57, 195.236, 2.5298, 0, 0, 0.953577, 0.30115, 300, 255, 1, 0, '', NULL, 0); +DELETE FROM `gameobject` WHERE `guid`=224487; +INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnDifficulties`, `phaseUseFlags`, `PhaseId`, `PhaseGroup`, `terrainSwapMap`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `isActive`, `ScriptName`, `StringId`, `VerifiedBuild`) VALUES (224487, 548746, 0, 16194, 16385, '0', 0, 0, 0, -1, 4871.17, -6332.71, 195.024, 2.5298, 0, 0, 0.953577, 0.30115, 300, 255, 1, 0, '', NULL, 0); + + -- Demoralized Defender smart ai +SET @ENTRY := 236518; +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, 236518, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On spellclick - Clicker: Give kill credit Demoralized Defender (236518)', ''); + + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 236518 AND `SourceId` = 0; + +DELETE FROM `creature` WHERE `guid`=905531; +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 (905531, 236541, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4714, -6207.07, 184.479, 0.419646, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=236562; +DELETE FROM `creature` WHERE `guid`=905532; +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 (905532, 236562, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4724.75, -6388.72, 184.556, 0.130144, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905533; +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 (905533, 236587, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4714.68, -6214.11, 184.648, 0.341934, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +DELETE FROM `creature` WHERE `guid`=905534; +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 (905534, 236542, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4713.83, -6217.14, 184.353, 6.24703, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=236546; +DELETE FROM `creature` WHERE `guid`=905535; +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 (905535, 236546, 0, 16194, 16384, '0', 0, 0, 0, -1, 0, 0, 4732.17, -6287.56, 180.973, 5.49304, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905536; +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 (905536, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4746.38, -6326.93, 181.798, 0.17651, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905537; +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 (905537, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4750.9, -6331.63, 181.214, 0.17651, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905538; +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 (905538, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4755.23, -6336.51, 181.239, 0.17651, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905539; +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 (905539, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4734.89, -6387.02, 184.992, 4.96917, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905540; +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 (905540, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4731.15, -6386.69, 184.838, 4.96917, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905541; +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 (905541, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4729.01, -6416.24, 184.994, 6.02773, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905542; +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 (905542, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4723.8, -6452.12, 181.108, 0.0357668, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905543; +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 (905543, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4726.03, -6458.65, 181.498, 0.0357668, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905544; +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 (905544, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4757.7, -6494.86, 191.405, 0.110178, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905545; +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 (905545, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4829.05, -6511.81, 191.002, 1.16482, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905546; +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 (905546, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4828.16, -6469.41, 181.137, 1.16482, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905547; +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 (905547, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4873.9, -6464.67, 181.362, 4.32777, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905548; +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 (905548, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4921.27, -6402.62, 184.12, 1.49468, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905549; +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 (905549, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4923.92, -6344.71, 184.156, 2.34622, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905550; +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 (905550, 236546, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4914.23, -6318.73, 189.888, 3.0116, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template` SET `faction`=14 WHERE `entry`=236550; + +DELETE FROM `creature` WHERE `guid`=905551; +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 (905551, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4871.21, -6335.18, 195.579, 3.14905, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905552; +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 (905552, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4821.05, -6303.71, 190.803, 4.93755, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905553; +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 (905553, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4869.82, -6367.38, 197.254, 3.98454, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905554; +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 (905554, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4868.07, -6367.2, 197.254, 3.98454, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905555; +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 (905555, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4792.83, -6379.56, 180.784, 3.30862, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905556; +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 (905556, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4748.09, -6399.46, 185.992, 0.574665, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905557; +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 (905557, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4739.99, -6459.26, 182.524, 0.0328815, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905558; +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 (905558, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4790.3, -6484.45, 187.269, 0.883936, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905559; +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 (905559, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4832.62, -6463.71, 182.743, 6.17752, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905560; +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 (905560, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4866.9, -6467.7, 181.476, 6.17752, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905561; +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 (905561, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4924.38, -6374.68, 183.757, 2.01319, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905562; +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 (905562, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4908, -6335.49, 187.9, 3.00279, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905563; +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 (905563, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4885.28, -6332.3, 193.518, 3.00279, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +DELETE FROM `creature` WHERE `guid`=905564; +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 (905564, 236550, 0, 16194, 16385, '0', 0, 0, 0, -1, 0, 0, 4814.76, -6330.15, 186.896, 3.3556, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); +UPDATE `creature_template` SET `npcflag`=16777216 WHERE `entry`=241695; + +DELETE FROM `creature` WHERE `guid`=905565; +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 (905565, 241695, 0, 16194, 16670, '0', 0, 0, 0, -1, 0, 0, 5040.52, -6602.02, 218.646, 4.71895, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + + -- Lightwood Ballista smart ai +SET @ENTRY := 241695; +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, 86720, 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` = 241695 AND `SourceId` = 0; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `ConditionStringValue1`, `NegativeCondition`, `Comment`) VALUES +(22, 1, 241695, 0, 0, 9, 0, 86720, 0, 0, '', 0, 'Action invoker has quest Break the Blade (86720) active'); + +DELETE FROM `creature` WHERE `guid`=905566; +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 (905566, 236601, 0, 16194, 16670, '0', 0, 0, 0, -1, 0, 0, 5056.86, -6598.38, 218.645, 4.80755, 300, 0, 0, 100, 0, NULL, NULL, NULL, NULL, '', NULL, 0); + + -- Loa Speaker Kinduru smart ai +SET @ENTRY := 244479; +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, 39276, 1, 0, 0, 0, 33, 245697, 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: Stay Awhile (245697)', ''), +(@ENTRY, 0, 1, 0, 62, 0, 100, 0, 39276, 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 39276 selected - Gossip player: Close gossip', ''), +(@ENTRY, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 244479, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'On player opened gossip - Gossip player: Give kill credit Loa Speaker Kinduru (244479)', ''); + + +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 22 AND `SourceEntry` = 244479 AND `SourceId` = 0; + +UPDATE `creature` SET `curHealthPct`=NULL WHERE `curHealthPct`=100; +