@@ -0,0 +1,479 @@
-- ======================================================
-- Nightborne Starting Zone (AreaID 9502 - The Nighthold)
-- ======================================================
-- ================================
-- Misc: Graveyard Zone Calibration
-- ================================
DELETE FROM ` graveyard_zone ` WHERE ` ID ` = 6429 AND ` GhostZone ` = 7637 ;
INSERT INTO ` graveyard_zone ` ( ` ID ` , ` GhostZone ` , ` Comment ` ) VALUES
( 6429 , 7637 , ' The Nighthold - Suramar (Nightborne Starting Zone) ' ) ;
DELETE FROM ` world_safe_locs ` WHERE ` ID ` = 6429 ;
INSERT INTO ` world_safe_locs ` ( ` ID ` , ` MapID ` , ` LocX ` , ` LocY ` , ` LocZ ` , ` Facing ` , ` TransportSpawnId ` , ` Comment ` ) VALUES
( 6429 , 1220 , 426 . 715 , 3337 . 66 , 142 . 933 , 9 . 05081 , NULL , ' The Nighthold - Suramar (Nightborne Starting Zone) ' ) ;
-- NPC Spirit Healer (6491)
DELETE FROM ` creature ` WHERE ` guid ` = 24531 ;
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
( 24531 , 6491 , 1220 , 7637 , 9502 , ' 0 ' , 0 , 0 , 0 , - 1 , 0 , 0 , 432 . 822 , 3338 . 23 , 142 . 938 , 3 . 12439 , 180 , 0 , 0 , NULL , 0 , NULL , NULL , NULL , NULL , ' ' , NULL , 69587 ) ;
-- ============================
-- Misc: Spell Area Calibration
-- ============================
DELETE FROM ` spell_area ` WHERE ` area ` = 9502 ;
INSERT INTO ` spell_area ` ( ` spell ` , ` area ` , ` quest_start ` , ` quest_end ` , ` aura_spell ` , ` teamId ` , ` racemask ` , ` gender ` , ` flags ` , ` quest_start_status ` , ` quest_end_status ` , ` comment ` ) VALUES
( 49416 , 9502 , 49933 , 0 , 0 , - 1 , 67108864 , 2 , 3 , 74 , 64 , ' Generic Quest Invisibility Detection 1 - Nightborne (The Nighthold, Suramar) ' ) ,
( 49417 , 9502 , 50303 , 0 , 0 , - 1 , 67108864 , 2 , 3 , 64 , 64 , ' Generic Quest Invisibility Detection 2 - Nightborne (The Nighthold, Suramar) ' ) ;
DELETE FROM ` spell_area ` WHERE ` area ` = 5332 AND ` spell ` = 49416 ;
INSERT INTO ` spell_area ` ( ` spell ` , ` area ` , ` quest_start ` , ` quest_end ` , ` aura_spell ` , ` teamId ` , ` racemask ` , ` gender ` , ` flags ` , ` quest_start_status ` , ` quest_end_status ` , ` comment ` ) VALUES
( 49416 , 5332 , 50303 , 0 , 0 , - 1 , 67108864 , 2 , 3 , 64 , 64 , ' Generic Quest Invisibility Detection 1 - Nightborne (Orgrimmar Embassy, Orgrimmar) ' ) ;
DELETE FROM ` spell_area ` WHERE ` area ` = 11386 AND ` spell ` = 49416 ;
INSERT INTO ` spell_area ` ( ` spell ` , ` area ` , ` quest_start ` , ` quest_end ` , ` aura_spell ` , ` teamId ` , ` racemask ` , ` gender ` , ` flags ` , ` quest_start_status ` , ` quest_end_status ` , ` comment ` ) VALUES
( 49416 , 11386 , 50303 , 0 , 0 , - 1 , 67108864 , 2 , 3 , 64 , 64 , ' Generic Quest Invisibility Detection 1 - Nightborne (Pathfinder\ ' s Den , Orgrimmar ) ' );
-- ===========================
-- Quest For the Horde (49933)
-- ===========================
UPDATE `quest_objectives` SET `Flags`=0 WHERE `ID`=477358;
UPDATE `quest_objectives` SET `Flags`=2 WHERE `ID`=477359;
-- NPC Ambassador Blackguard (133407)
DELETE FROM `smart_scripts` WHERE `entryorguid`=133407 AND `source_type`=0;
INSERT 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
(133407, 0, 0, 0, '' , 64, 0, 100, 0, 0, 0, 0, 0, 0, '' , 33, 133407, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, ' Ambassador Blackguard - On Gossip Hello - Quest Credit ' ),
(133407, 0, 1, 0, '' , 20, 0, 100, 0, 49773, 0, 0, 0, 0, '' , 143, 6800, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, ' Ambassador Blackguard - On Quest Rewarded ( Highmountain Tauren ) - Run Conversation ' ),
(133407, 0, 2, 0, '' , 20, 0, 100, 0, 49933, 0, 0, 0, 0, '' , 143, 6800, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, ' Ambassador Blackguard - On Quest Rewarded ( Nightborne ) - Run Conversation ' ),
(133407, 0, 3, 0, '' , 20, 0, 100, 0, 51485, 0, 0, 0, 0, '' , 143, 6800, 0, 0, 0, 0, 0, 0, NULL, 7, 0, 0, 0, 0, NULL, 0, 0, 0, 0, ' Ambassador Blackguard - On Quest Rewarded ( Mag \ ' har Orc) - Run Conversation ' ) ,
( 133407 , 0 , 4 , 0 , ' ' , 20 , 0 , 100 , 0 , 55137 , 0 , 0 , 0 , 0 , ' ' , 143 , 6800 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Ambassador Blackguard - On Quest Rewarded (Zandalari Troll) - Run Conversation ' ) ,
( 133407 , 0 , 5 , 0 , ' ' , 20 , 0 , 100 , 0 , 58122 , 0 , 0 , 0 , 0 , ' ' , 143 , 6800 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Ambassador Blackguard - On Quest Rewarded (Vulpera) - Run Conversation ' ) ,
( 133407 , 0 , 6 , 0 , ' ' , 20 , 0 , 100 , 0 , 81888 , 0 , 0 , 0 , 0 , ' ' , 143 , 6800 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Ambassador Blackguard - On Quest Rewarded (Earthen) - Run Conversation ' ) ;
DELETE FROM ` conditions ` WHERE ` SourceTypeOrReferenceId ` = 22 AND ` SourceEntry ` = 133407 AND ` SourceId ` = 0 ;
INSERT INTO ` conditions ` ( ` SourceTypeOrReferenceId ` , ` SourceGroup ` , ` SourceEntry ` , ` SourceId ` , ` ElseGroup ` , ` ConditionTypeOrReference ` , ` ConditionTarget ` , ` ConditionValue1 ` , ` ConditionValue2 ` , ` ConditionValue3 ` , ` ConditionStringValue1 ` , ` NegativeCondition ` , ` ErrorType ` , ` ErrorTextId ` , ` ScriptName ` , ` Comment ` ) VALUES
( 22 , 1 , 133407 , 0 , 0 , 9 , 0 , 49933 , 0 , 0 , ' ' , 0 , 0 , 0 , ' ' , ' Ambassador Blackguard - Run Script if Quest is Taken ' ) ,
( 22 , 1 , 133407 , 0 , 0 , 48 , 0 , 477358 , 0 , 1 , ' ' , 0 , 0 , 0 , ' ' , ' Ambassador Blackguard - Run Script if Quest Objetive is Completed ' ) ,
( 22 , 1 , 133407 , 0 , 0 , 48 , 0 , 477359 , 0 , 1 , ' ' , 1 , 0 , 0 , ' ' , ' Ambassador Blackguard - Run Script if Quest Objetive is Not Completed ' ) ;
-- GO Portal to Orgrimmar (279579)
DELETE FROM ` gameobject_addon ` WHERE ` guid ` = 143766 ;
INSERT INTO ` gameobject_addon ` ( ` guid ` , ` parent_rotation0 ` , ` parent_rotation1 ` , ` parent_rotation2 ` , ` parent_rotation3 ` , ` invisibilityType ` , ` invisibilityValue ` , ` WorldEffectID ` , ` AIAnimKitID ` ) VALUES
( 143766 , 0 , 0 , 0 , 1 , 7 , 1 , 0 , 0 ) ;
-- Spell Teleport: Orgrimmar (259106)
DELETE FROM ` spell_target_position ` WHERE ` ID ` = 259106 ;
INSERT INTO ` spell_target_position ` ( ` ID ` , ` EffectIndex ` , ` OrderIndex ` , ` MapID ` , ` PositionX ` , ` PositionY ` , ` PositionZ ` , ` Orientation ` , ` VerifiedBuild ` ) VALUES
( 259106 , 0 , 0 , 1 , 1586 . 591 , - 4210 . 471 , 53 . 677 , 2 . 273 , 69587 ) ;
-- ========================================
-- Quest Stranger in a Strange Land (50303)
-- ========================================
UPDATE ` quest_poi_points ` SET ` X ` = 1600 , ` Y ` = - 4372 , ` Z ` = 21 WHERE ` QuestID ` = 50303 AND ` Idx1 ` = 0 AND ` Idx2 ` = 0 ;
-- GO Portal to The Nighthold (279295,281316)
UPDATE ` gameobject_template ` SET ` IconName ` = ' openhandglow ' WHERE ` entry ` IN ( 279295 , 281316 ) ;
UPDATE ` gameobject ` SET ` PhaseId ` = 0 WHERE ` guid ` = 143769 ;
DELETE FROM ` gameobject ` WHERE ` guid ` = 64 ;
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
( 64 , 279295 , 1 , 1637 , 11386 , ' 0 ' , 0 , 0 , 0 , - 1 , 1463 . 89 , - 4501 . 84 , - 2 . 91162 , 2 . 45974 , - 0 , - 0 , - 0 . 942446 , - 0 . 33436 , 180 , 255 , 1 , 0 , ' ' , NULL , 69587 ) ;
DELETE FROM ` gameobject_addon ` WHERE ` guid ` IN ( 143769 , 64 ) ;
INSERT INTO ` gameobject_addon ` ( ` guid ` , ` parent_rotation0 ` , ` parent_rotation1 ` , ` parent_rotation2 ` , ` parent_rotation3 ` , ` invisibilityType ` , ` invisibilityValue ` , ` WorldEffectID ` , ` AIAnimKitID ` ) VALUES
( 143769 , 0 , 0 , 0 , 1 , 7 , 1 , 0 , 0 ) ,
( 64 , 0 , 0 , 0 , 1 , 7 , 1 , 0 , 0 ) ;
DELETE FROM ` gameobject_template_locale ` WHERE ` entry ` IN ( 279295 , 281316 ) ;
INSERT INTO ` gameobject_template_locale ` ( ` entry ` , ` locale ` , ` name ` , ` castBarCaption ` , ` unk1 ` , ` VerifiedBuild ` ) VALUES
( 279295 , ' deDE ' , ' Portal zur Nachtfestung ' , ' ' , NULL , 69587 ) ,
( 279295 , ' esES ' , ' Portal al Bastión Nocturno ' , ' ' , NULL , 69587 ) ,
( 279295 , ' esMX ' , ' Portal al Bastión Nocturno ' , ' ' , NULL , 69587 ) ,
( 279295 , ' frFR ' , ' Portail vers le palais Sacrenuit ' , ' ' , NULL , 69587 ) ,
( 279295 , ' itIT ' , ' Portale per la Rocca della Notte ' , ' ' , NULL , 69587 ) ,
( 279295 , ' koKR ' , ' 밤의 요새로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 279295 , ' ptBR ' , ' Portal para o Baluarte da Noite ' , ' ' , NULL , 69587 ) ,
( 279295 , ' ruRU ' , ' Портал в Цитадель Ночи ' , ' ' , NULL , 69587 ) ,
( 279295 , ' zhCN ' , ' 通往暗夜要塞的传送门 ' , ' ' , NULL , 69587 ) ,
( 279295 , ' zhTW ' , ' 暗夜堡傳送門 ' , ' ' , NULL , 69587 ) ,
( 281316 , ' deDE ' , ' Portal zur Nachtfestung ' , ' ' , NULL , 69587 ) ,
( 281316 , ' esES ' , ' Portal al Bastión Nocturno ' , ' ' , NULL , 69587 ) ,
( 281316 , ' esMX ' , ' Portal al Bastión Nocturno ' , ' ' , NULL , 69587 ) ,
( 281316 , ' frFR ' , ' Portail vers le palais Sacrenuit ' , ' ' , NULL , 69587 ) ,
( 281316 , ' itIT ' , ' Portale per la Rocca della Notte ' , ' ' , NULL , 69587 ) ,
( 281316 , ' koKR ' , ' 밤의 요새로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 281316 , ' ptBR ' , ' Portal para o Baluarte da Noite ' , ' ' , NULL , 69587 ) ,
( 281316 , ' ruRU ' , ' Портал в Цитадель Ночи ' , ' ' , NULL , 69587 ) ,
( 281316 , ' zhCN ' , ' 通往暗夜要塞的传送门 ' , ' ' , NULL , 69587 ) ,
( 281316 , ' zhTW ' , ' 暗夜堡傳送門 ' , ' ' , NULL , 69587 ) ;
-- Spell Portal to Suramar (259125)
DELETE FROM ` spell_target_position ` WHERE ` ID ` = 259125 ;
INSERT INTO ` spell_target_position ` ( ` ID ` , ` EffectIndex ` , ` OrderIndex ` , ` MapID ` , ` PositionX ` , ` PositionY ` , ` PositionZ ` , ` Orientation ` , ` VerifiedBuild ` ) VALUES
( 259125 , 0 , 0 , 1220 , 288 . 38 , 3352 . 23 , 145 . 44 , 2 . 177 , 69587 ) ;
-- ========================================
-- Quest Heritage of the Nightborne (49784)
-- ========================================
-- NPC First Arcanist Thalyssra (131326)
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` = 131326 AND ` source_type ` = 0 ;
INSERT 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
( 131326 , 0 , 0 , 0 , ' ' , 19 , 0 , 100 , 0 , 49933 , 0 , 0 , 0 , 0 , ' ' , 143 , 6531 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' First Arcanist Thalyssra - On Quest Taken - Run Conversation ' ) ,
( 131326 , 0 , 1 , 0 , ' ' , 20 , 0 , 100 , 0 , 49784 , 0 , 0 , 0 , 0 , ' ' , 143 , 20003 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' First Arcanist Thalyssra - On Quest Rewarded - Run Conversation ' ) ;
-- Conversation (20003)
DELETE FROM ` conversation_template ` WHERE ` Id ` = 20003 ;
INSERT INTO ` conversation_template ` ( ` Id ` , ` FirstLineId ` , ` TextureKitId ` , ` Flags ` , ` ScriptName ` , ` VerifiedBuild ` ) VALUES
( 20003 , 15597 , 0 , 0 , ' ' , 69587 ) ;
DELETE FROM ` conversation_actors ` WHERE ` ConversationId ` = 20003 ;
INSERT INTO ` conversation_actors ` ( ` ConversationId ` , ` ConversationActorId ` , ` ConversationActorGuid ` , ` ConversationActorNearId ` , ` Idx ` , ` CreatureId ` , ` CreatureDisplayInfoId ` , ` NoActorObject ` , ` ActivePlayerObject ` , ` VerifiedBuild ` ) VALUES
( 20003 , 51684 , 243305 , 0 , 0 , 0 , 0 , 0 , 0 , 69587 ) ;
DELETE FROM ` conversation_line_template ` WHERE ` Id ` IN ( 15597 , 15598 ) ;
INSERT INTO ` conversation_line_template ` ( ` Id ` , ` UiCameraID ` , ` ActorIdx ` , ` Flags ` , ` ChatType ` , ` VerifiedBuild ` , ` Unk ` ) VALUES
( 15597 , 0 , 0 , 0 , 0 , 69587 , 0 ) ,
( 15598 , 0 , 0 , 0 , 0 , 69587 , 0 ) ;
-- ==================
-- Other Calibrations
-- ==================
-- GO Portal to Dalaran (279670)
UPDATE ` gameobject_template_addon ` SET ` flags ` = 0 WHERE ` entry ` = 279670 ;
DELETE FROM ` gameobject_addon ` WHERE ` guid ` = 143768 ;
INSERT INTO ` gameobject_addon ` ( ` guid ` , ` parent_rotation0 ` , ` parent_rotation1 ` , ` parent_rotation2 ` , ` parent_rotation3 ` , ` invisibilityType ` , ` invisibilityValue ` , ` WorldEffectID ` , ` AIAnimKitID ` ) VALUES
( 143768 , 0 , 0 , 0 , 1 , 8 , 100 , 0 , 0 ) ;
-- NPC Duskwatch Sentinel (131420)
UPDATE ` creature_template ` SET ` AIName ` = ' SmartAI ' WHERE ` entry ` = 131420 ;
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` = 131420 AND ` source_type ` = 0 ;
INSERT 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
( 131420 , 0 , 0 , 0 , ' ' , 22 , 0 , 100 , 512 , 17 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329604 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Bow - Run Actionlist ' ) ,
( 131420 , 0 , 1 , 0 , ' ' , 22 , 0 , 100 , 512 , 22 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329605 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Chicken - Run Actionlist ' ) ,
( 131420 , 0 , 2 , 0 , ' ' , 22 , 0 , 100 , 512 , 58 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329604 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Kiss - Run Actionlist ' ) ,
( 131420 , 0 , 3 , 0 , ' ' , 22 , 0 , 100 , 512 , 77 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329605 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Rude - Run Actionlist ' ) ,
( 131420 , 0 , 4 , 0 , ' ' , 22 , 0 , 100 , 512 , 78 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329606 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Salute - Run Actionlist ' ) ,
( 131420 , 0 , 5 , 0 , ' ' , 22 , 0 , 100 , 512 , 84 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329607 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Shy - Run Actionlist ' ) ,
( 131420 , 0 , 6 , 0 , ' ' , 22 , 0 , 100 , 512 , 101 , 6000 , 6000 , 0 , 0 , ' ' , 80 , 329608 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Duskwatch Sentinel - On Received Emote Wave - Run Actionlist ' ) ;
DELETE FROM ` conditions ` WHERE ` SourceTypeOrReferenceId ` = 22 AND ` SourceEntry ` = 131420 AND ` SourceId ` = 0 ;
INSERT INTO ` conditions ` ( ` SourceTypeOrReferenceId ` , ` SourceGroup ` , ` SourceEntry ` , ` SourceId ` , ` ElseGroup ` , ` ConditionTypeOrReference ` , ` ConditionTarget ` , ` ConditionValue1 ` , ` ConditionValue2 ` , ` ConditionValue3 ` , ` NegativeCondition ` , ` ErrorTextId ` , ` ScriptName ` , ` Comment ` ) VALUES
( 22 , 5 , 131420 , 0 , 0 , 1 , 0 , 231163 , 0 , 0 , 1 , 0 , ' ' , ' Duskwatch Sentinel - Run Script if Target Not Have Aura Volunteer City Guard ' ) ,
( 22 , 5 , 131420 , 0 , 0 , 6 , 0 , 67 , 0 , 0 , 0 , 0 , ' ' , ' Duskwatch Sentinel - Run Script if Target is Horde ' ) ,
( 22 , 5 , 131420 , 0 , 0 , 12 , 0 , 74 , 0 , 0 , 0 , 0 , ' ' , ' Duskwatch Sentinel - Run Script if Volunteer Guard Day Event is Active ' ) ;
-- =================================
-- Highmountain Tauren Starting Zone
-- =================================
-- ============================
-- Misc: Spell Area Calibration
-- ============================
DELETE FROM ` spell_area ` WHERE ` area ` = 5332 AND ` spell ` = 49417 ;
INSERT INTO ` spell_area ` ( ` spell ` , ` area ` , ` quest_start ` , ` quest_end ` , ` aura_spell ` , ` teamId ` , ` racemask ` , ` gender ` , ` flags ` , ` quest_start_status ` , ` quest_end_status ` , ` comment ` ) VALUES
( 49417 , 5332 , 50319 , 0 , 0 , - 1 , 134217728 , 2 , 3 , 64 , 64 , ' Generic Quest Invisibility Detection 2 - Highmountain Tauren (Orgrimmar Embassy, Orgrimmar) ' ) ;
DELETE FROM ` spell_area ` WHERE ` area ` = 11386 AND ` spell ` = 49417 ;
INSERT INTO ` spell_area ` ( ` spell ` , ` area ` , ` quest_start ` , ` quest_end ` , ` aura_spell ` , ` teamId ` , ` racemask ` , ` gender ` , ` flags ` , ` quest_start_status ` , ` quest_end_status ` , ` comment ` ) VALUES
( 49417 , 11386 , 50319 , 0 , 0 , - 1 , 134217728 , 2 , 3 , 64 , 64 , ' Generic Quest Invisibility Detection 2 - Highmountain Tauren (Pathfinder\ ' s Den , Orgrimmar ) ' );
-- ========================================
-- Quest Stranger in a Strange Land (50319)
-- ========================================
UPDATE `quest_poi_points` SET `X`=1600, `Y`=-4372, `Z`=21 WHERE `QuestID`=50319 AND `Idx1`=0 AND `Idx2`=0;
-- GO Portal to Thunder Totem (279294)
UPDATE `gameobject_template` SET `IconName`= ' openhandglow ' WHERE `entry`=279294;
UPDATE `gameobject` SET `PhaseId`=0 WHERE `guid`=143820;
DELETE FROM `gameobject` WHERE `guid`=236;
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
(236, 279294, 1, 1637, 11386, ' 0 ' , 0, 0, 0, -1, 1463.89, -4501.84, -2.91162, 2.45974, -0, -0, -0.942446, -0.33436, 180, 255, 1, 0, '' , NULL, 69587);
DELETE FROM `gameobject_addon` WHERE `guid` IN (143820,236);
INSERT INTO `gameobject_addon` (`guid`, `parent_rotation0`, `parent_rotation1`, `parent_rotation2`, `parent_rotation3`, `invisibilityType`, `invisibilityValue`, `WorldEffectID`, `AIAnimKitID`) VALUES
(143820, 0, 0, 0, 1, 8, 100, 0, 0),
(236, 0, 0, 0, 1, 8, 100, 0, 0);
DELETE FROM `gameobject_template_locale` WHERE `entry`=279294;
INSERT INTO `gameobject_template_locale` (`entry`, `locale`, `name`, `castBarCaption`, `unk1`, `VerifiedBuild`) VALUES
(279294, ' deDE ' , ' Portal nach Donnertotem ' , '' , NULL, 69587),
(279294, ' esES ' , ' Portal a Tótem del Trueno ' , '' , NULL, 69587),
(279294, ' esMX ' , ' Portal a Tótem del Trueno ' , '' , NULL, 69587),
(279294, ' frFR ' , ' Portail vers Totem - du - Tonnerre ' , '' , NULL, 69587),
(279294, ' itIT ' , ' Portale per Totem del Fulmine ' , '' , NULL, 69587),
(279294, ' koKR ' , ' 천 둥 토 템 으 로 통 하 는 차 원 문 ' , '' , NULL, 69587),
(279294, ' ptBR ' , ' Portal para o Totem do Trovão ' , '' , NULL, 69587),
(279294, ' ruRU ' , ' П о р т а л в Г р о м о в о й Т о т е м ' , '' , NULL, 69587),
(279294, ' zhCN ' , ' 通 往 雷 霆 图 腾 的 传 送 门 ' , '' , NULL, 69587),
(279294, ' zhTW ' , ' 雷 霆 圖 騰 傳 送 門 ' , '' , NULL, 69587);
-- ======================================
-- Quest Heritage of Highmountain (49783)
-- ======================================
-- NPC Mayla Highmountain (93826)
UPDATE `creature_template_addon` SET `SheathState`=0 WHERE `entry`=93826;
DELETE FROM `smart_scripts` WHERE `entryorguid`=93826 AND `source_type`=0;
INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(93826, 0, 0, 0, 10, 0, 100, 0, 1, 10, 100, 100, 33, 95078, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, ' Mayla Highmountain - OOC LoS - Quest Credit ' ),
(93826, 0, 1, 0, 19, 0, 100, 0, 49773, 0, 0, 0, 143, 6483, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, ' Mayla Highmountain - On Quest Taken - Run Conversation ' ),
(93826, 0, 2, 0, 20, 0, 100, 0, 49783, 0, 0, 0, 143, 20004, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, ' Mayla Highmountain - On Quest Rewarded - Run Conversation ' );
-- Conversation (20004)
DELETE FROM `conversation_template` WHERE `Id`=20004;
INSERT INTO `conversation_template` (`Id`, `FirstLineId`, `TextureKitId`, `Flags`, `ScriptName`, `VerifiedBuild`) VALUES
(20004, 15605, 0, 0, '' , 68974);
DELETE FROM `conversation_actors` WHERE `ConversationId`=20004;
INSERT INTO `conversation_actors` (`ConversationId`, `ConversationActorId`, `ConversationActorGuid`, `ConversationActorNearId`, `Idx`, `CreatureId`, `CreatureDisplayInfoId`, `NoActorObject`, `ActivePlayerObject`, `VerifiedBuild`) VALUES
(20004, 51685, 336680, 0, 0, 0, 0, 0, 0, 68974);
DELETE FROM `conversation_line_template` WHERE `Id` IN (15605,15606);
INSERT INTO `conversation_line_template` (`Id`, `UiCameraID`, `ActorIdx`, `Flags`, `ChatType`, `VerifiedBuild`, `Unk`) VALUES
(15605, 0, 0, 0, 0, 69587, 0),
(15606, 0, 0, 0, 0, 69587, 0);
-- =========================
-- Mag ' har Orc Starting Zone
-- =========================
-- ========================================
-- Quest Stranger in a Strange Land (53502)
-- ========================================
UPDATE ` quest_poi_points ` SET ` X ` = 1600 , ` Y ` = - 4372 , ` Z ` = 21 WHERE ` QuestID ` = 53502 AND ` Idx1 ` = 0 AND ` Idx2 ` = 0 ;
-- =====================================
-- Quest Heritage of the Mag'har (51484)
-- =====================================
-- NPC Overlord Geya'rah (143845)
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` = 143845 AND ` source_type ` = 0 ;
INSERT INTO ` smart_scripts ` ( ` entryorguid ` , ` source_type ` , ` id ` , ` link ` , ` event_type ` , ` event_phase_mask ` , ` event_chance ` , ` event_flags ` , ` event_param1 ` , ` event_param2 ` , ` event_param3 ` , ` event_param4 ` , ` action_type ` , ` action_param1 ` , ` action_param2 ` , ` action_param3 ` , ` action_param4 ` , ` action_param5 ` , ` action_param6 ` , ` target_type ` , ` target_param1 ` , ` target_param2 ` , ` target_param3 ` , ` target_x ` , ` target_y ` , ` target_z ` , ` target_o ` , ` comment ` ) VALUES
( 143845 , 0 , 0 , 0 , 19 , 0 , 100 , 0 , 51485 , 0 , 0 , 0 , 143 , 20000 , 0 , 0 , 0 , 0 , 0 , 7 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' Overlord Geya\ ' rah - On Quest Taken - Run Conversation ' ),
(143845, 0, 1, 0, 20, 0, 100, 0, 51484, 0, 0, 0, 143, 20006, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, ' Overlord Geya \ ' rah - On Quest Rewarded - Run Conversation ' ) ;
-- Conversation (20006)
DELETE FROM ` conversation_template ` WHERE ` Id ` = 20006 ;
INSERT INTO ` conversation_template ` ( ` Id ` , ` FirstLineId ` , ` TextureKitId ` , ` Flags ` , ` ScriptName ` , ` VerifiedBuild ` ) VALUES
( 20006 , 22095 , 0 , 0 , ' ' , 68974 ) ;
DELETE FROM ` conversation_actors ` WHERE ` ConversationId ` = 20006 ;
INSERT INTO ` conversation_actors ` ( ` ConversationId ` , ` ConversationActorId ` , ` ConversationActorGuid ` , ` ConversationActorNearId ` , ` Idx ` , ` CreatureId ` , ` CreatureDisplayInfoId ` , ` NoActorObject ` , ` ActivePlayerObject ` , ` VerifiedBuild ` ) VALUES
( 20006 , 51686 , 241300 , 0 , 0 , 0 , 0 , 0 , 0 , 68974 ) ;
DELETE FROM ` conversation_line_template ` WHERE ` Id ` IN ( 22095 , 22096 ) ;
INSERT INTO ` conversation_line_template ` ( ` Id ` , ` UiCameraID ` , ` ActorIdx ` , ` Flags ` , ` ChatType ` , ` VerifiedBuild ` , ` Unk ` ) VALUES
( 22095 , 0 , 0 , 0 , 0 , 68974 , 0 ) ,
( 22096 , 0 , 0 , 0 , 0 , 68974 , 0 ) ;
-- =============================
-- Zandalari Troll Starting Zone
-- =============================
-- ========================================
-- Quest Stranger in a Strange Land (55138)
-- ========================================
DELETE FROM ` quest_poi ` WHERE ` QuestID ` = 55138 ;
INSERT INTO ` quest_poi ` ( ` QuestID ` , ` BlobIndex ` , ` Idx1 ` , ` ObjectiveIndex ` , ` QuestObjectiveID ` , ` QuestObjectID ` , ` MapID ` , ` UiMapID ` , ` Priority ` , ` Flags ` , ` WorldEffectID ` , ` PlayerConditionID ` , ` NavigationPlayerConditionID ` , ` SpawnTrackingID ` , ` AlwaysAllowMergingBlobs ` , ` VerifiedBuild ` ) VALUES
( 55138 , 0 , 0 , - 1 , 0 , 0 , 1 , 85 , 0 , 0 , 0 , 0 , 0 , 1731071 , 0 , 69587 ) ,
( 55138 , 0 , 1 , 0 , 388747 , 167032 , 1 , 85 , 0 , 0 , 0 , 0 , 0 , 1986596 , 0 , 69587 ) ,
( 55138 , 0 , 2 , 32 , 0 , 0 , 1 , 85 , 0 , 0 , 0 , 0 , 0 , 1457285 , 0 , 69587 ) ;
DELETE FROM ` quest_poi_points ` WHERE ` QuestID ` = 55138 ;
INSERT INTO ` quest_poi_points ` ( ` QuestID ` , ` Idx1 ` , ` Idx2 ` , ` X ` , ` Y ` , ` Z ` , ` VerifiedBuild ` ) VALUES
( 55138 , 0 , 0 , 1600 , - 4372 , 21 , 69587 ) ,
( 55138 , 1 , 0 , 1557 , - 4217 , 56 , 69587 ) ,
( 55138 , 2 , 0 , 1564 , - 4192 , 54 , 69587 ) ;
-- =======================================
-- Quest Heritage of the Zandalari (53721)
-- =======================================
-- NPC Queen Talanji (146335)
DELETE FROM ` spell_area ` WHERE ` area ` = 8670 ;
DELETE FROM ` creature_addon ` WHERE ` guid ` = 529578 ;
UPDATE ` creature_template_addon ` SET ` SheathState ` = 0 WHERE ` entry ` = 146335 ;
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` = 146335 AND ` source_type ` = 0 ;
INSERT INTO ` smart_scripts ` ( ` entryorguid ` , ` source_type ` , ` id ` , ` link ` , ` event_type ` , ` event_phase_mask ` , ` event_chance ` , ` event_flags ` , ` event_param1 ` , ` event_param2 ` , ` event_param3 ` , ` event_param4 ` , ` action_type ` , ` action_param1 ` , ` action_param2 ` , ` action_param3 ` , ` action_param4 ` , ` action_param5 ` , ` action_param6 ` , ` target_type ` , ` target_param1 ` , ` target_param2 ` , ` target_param3 ` , ` target_x ` , ` target_y ` , ` target_z ` , ` target_o ` , ` comment ` ) VALUES
( 146335 , 0 , 0 , 0 , 19 , 0 , 100 , 0 , 55137 , 0 , 0 , 0 , 143 , 20001 , 0 , 0 , 0 , 0 , 0 , 7 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' Queen Talanji - On Quest Taken - Run Conversation ' ) ,
( 146335 , 0 , 1 , 0 , 20 , 0 , 100 , 0 , 53721 , 0 , 0 , 0 , 143 , 20007 , 0 , 0 , 0 , 0 , 0 , 7 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' Queen Talanji - On Quest Rewarded - Run Conversation ' ) ;
-- Conversation (20007)
DELETE FROM ` conversation_template ` WHERE ` Id ` = 20007 ;
INSERT INTO ` conversation_template ` ( ` Id ` , ` FirstLineId ` , ` TextureKitId ` , ` Flags ` , ` ScriptName ` , ` VerifiedBuild ` ) VALUES
( 20007 , 26507 , 0 , 0 , ' ' , 68974 ) ;
DELETE FROM ` conversation_actors ` WHERE ` ConversationId ` = 20007 ;
INSERT INTO ` conversation_actors ` ( ` ConversationId ` , ` ConversationActorId ` , ` ConversationActorGuid ` , ` ConversationActorNearId ` , ` Idx ` , ` CreatureId ` , ` CreatureDisplayInfoId ` , ` NoActorObject ` , ` ActivePlayerObject ` , ` VerifiedBuild ` ) VALUES
( 20007 , 51687 , 529578 , 0 , 0 , 0 , 0 , 0 , 0 , 68974 ) ;
DELETE FROM ` conversation_line_template ` WHERE ` Id ` IN ( 26507 , 26508 ) ;
INSERT INTO ` conversation_line_template ` ( ` Id ` , ` UiCameraID ` , ` ActorIdx ` , ` Flags ` , ` ChatType ` , ` VerifiedBuild ` , ` Unk ` ) VALUES
( 26507 , 0 , 0 , 0 , 0 , 68974 , 0 ) ,
( 26508 , 0 , 0 , 0 , 0 , 68974 , 0 ) ;
-- GO Portal to Zuldazar (284431,289697,293551,323855,327527)
UPDATE ` gameobject_template ` SET ` displayId ` = 55667 , ` IconName ` = ' openhandglow ' WHERE ` entry ` IN ( 284431 , 289697 , 293551 , 323855 , 327527 ) ;
UPDATE ` gameobject_template ` SET ` Data0 ` = 299895 WHERE ` entry ` = 293551 ;
DELETE FROM ` gameobject_addon ` WHERE ` guid ` IN ( 208885 , 207881 , 113677 , 184616 , 184781 , 185127 , 181860 , 175794 ) ;
DELETE FROM ` gameobject ` WHERE ` guid ` IN ( 208885 , 207881 , 113677 , 184616 , 184781 , 185127 , 181860 , 175794 ) ;
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
( 208885 , 327527 , 1 , 1637 , 11386 , ' 0 ' , 0 , 0 , 0 , - 1 , 1445 . 04 , - 4512 . 84 , - 2 . 95483 , 4 . 79989 , 0 , 0 , - 0 . 675504 , 0 . 737356 , 180 , 255 , 1 , 0 , ' ' , NULL , 69587 ) ;
DELETE FROM ` gameobject_template_addon ` WHERE ` entry ` IN ( 284431 , 289697 , 293551 , 323855 , 327527 ) ;
INSERT INTO ` gameobject_template_addon ` ( ` entry ` , ` faction ` , ` flags ` , ` mingold ` , ` maxgold ` , ` artkit0 ` , ` artkit1 ` , ` artkit2 ` , ` artkit3 ` , ` artkit4 ` , ` WorldEffectID ` , ` AIAnimKitID ` ) VALUES
( 284431 , 1735 , 33554432 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3503 ) ,
( 289697 , 1735 , 33554432 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3503 ) ,
( 293551 , 1735 , 33554432 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3503 ) ,
( 323855 , 1735 , 33554432 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3503 ) ,
( 327527 , 1735 , 33554432 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 3503 ) ;
DELETE FROM ` gameobject_template_locale ` WHERE ` entry ` IN ( 284431 , 289697 , 293551 , 323855 , 327527 ) ;
INSERT INTO ` gameobject_template_locale ` ( ` entry ` , ` locale ` , ` name ` , ` castBarCaption ` , ` unk1 ` , ` VerifiedBuild ` ) VALUES
( 284431 , ' deDE ' , ' Portal nach Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' esES ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' esMX ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' frFR ' , ' Portail vers Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' itIT ' , ' Portale per Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' koKR ' , ' 줄다자르로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 284431 , ' ptBR ' , ' Portal para Zuldazar ' , ' ' , NULL , 69587 ) ,
( 284431 , ' ruRU ' , ' Портал в Зулдазар ' , ' ' , NULL , 69587 ) ,
( 284431 , ' zhCN ' , ' 通往祖达萨的传送门 ' , ' ' , NULL , 69587 ) ,
( 284431 , ' zhTW ' , ' 通往祖達薩的傳送門 ' , ' ' , NULL , 69587 ) ,
( 289697 , ' deDE ' , ' Portal nach Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' esES ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' esMX ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' frFR ' , ' Portail vers Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' itIT ' , ' Portale per Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' koKR ' , ' 줄다자르로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 289697 , ' ptBR ' , ' Portal para Zuldazar ' , ' ' , NULL , 69587 ) ,
( 289697 , ' ruRU ' , ' Портал в Зулдазар ' , ' ' , NULL , 69587 ) ,
( 289697 , ' zhCN ' , ' 通往祖达萨的传送门 ' , ' ' , NULL , 69587 ) ,
( 289697 , ' zhTW ' , ' 通往祖達薩的傳送門 ' , ' ' , NULL , 69587 ) ,
( 293551 , ' deDE ' , ' Portal nach Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' esES ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' esMX ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' frFR ' , ' Portail vers Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' itIT ' , ' Portale per Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' koKR ' , ' 줄다자르로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 293551 , ' ptBR ' , ' Portal para Zuldazar ' , ' ' , NULL , 69587 ) ,
( 293551 , ' ruRU ' , ' Портал в Зулдазар ' , ' ' , NULL , 69587 ) ,
( 293551 , ' zhCN ' , ' 通往祖达萨的传送门 ' , ' ' , NULL , 69587 ) ,
( 293551 , ' zhTW ' , ' 通往祖達薩的傳送門 ' , ' ' , NULL , 69587 ) ,
( 323855 , ' deDE ' , ' Portal nach Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' esES ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' esMX ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' frFR ' , ' Portail vers Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' itIT ' , ' Portale per Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' koKR ' , ' 줄다자르로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 323855 , ' ptBR ' , ' Portal para Zuldazar ' , ' ' , NULL , 69587 ) ,
( 323855 , ' ruRU ' , ' Портал в Зулдазар ' , ' ' , NULL , 69587 ) ,
( 323855 , ' zhCN ' , ' 通往祖达萨的传送门 ' , ' ' , NULL , 69587 ) ,
( 323855 , ' zhTW ' , ' 通往祖達薩的傳送門 ' , ' ' , NULL , 69587 ) ,
( 327527 , ' deDE ' , ' Portal nach Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' esES ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' esMX ' , ' Portal a Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' frFR ' , ' Portail vers Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' itIT ' , ' Portale per Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' koKR ' , ' 줄다자르로 통하는 차원문 ' , ' ' , NULL , 69587 ) ,
( 327527 , ' ptBR ' , ' Portal para Zuldazar ' , ' ' , NULL , 69587 ) ,
( 327527 , ' ruRU ' , ' Портал в Зулдазар ' , ' ' , NULL , 69587 ) ,
( 327527 , ' zhCN ' , ' 通往祖达萨的传送门 ' , ' ' , NULL , 69587 ) ,
( 327527 , ' zhTW ' , ' 通往祖達薩的傳送門 ' , ' ' , NULL , 69587 ) ;
-- NPC Zandalari Arcanital (148265)
UPDATE ` creature_template ` SET ` AIName ` = ' ' WHERE ` entry ` = 148265 ;
UPDATE ` creature_template_addon ` SET ` SheathState ` = 0 WHERE ` entry ` = 148265 ;
DELETE FROM ` creature ` WHERE ` id ` = 148265 ;
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
( 233860 , 148265 , 1 , 1637 , 11386 , ' 0 ' , 0 , 0 , 0 , - 1 , 0 , 0 , 1447 . 57 , - 4510 . 35 , - 3 . 20483 , 3 . 90152 , 180 , 0 , 0 , NULL , 0 , NULL , NULL , NULL , NULL , ' ' , NULL , 69587 ) ,
( 233861 , 148265 , 1 , 1637 , 11386 , ' 0 ' , 0 , 0 , 0 , - 1 , 0 , 0 , 1441 . 88 , - 4510 . 47 , - 3 . 14567 , 5 . 49022 , 180 , 0 , 0 , NULL , 0 , NULL , NULL , NULL , NULL , ' ' , NULL , 69587 ) ;
-- ======================
-- Void Elf Starting Zone
-- ======================
-- NPC Silvermoon Scholar (132616)
UPDATE ` creature_template_addon ` SET ` StandState ` = 0 , ` SheathState ` = 0 WHERE ` entry ` = 132616 ;
DELETE FROM ` creature_addon ` WHERE ` guid ` IN ( 243498 , 243506 ) ;
INSERT INTO ` creature_addon ` ( ` guid ` , ` PathId ` , ` mount ` , ` MountCreatureID ` , ` StandState ` , ` AnimTier ` , ` VisFlags ` , ` SheathState ` , ` PvPFlags ` , ` emote ` , ` aiAnimKit ` , ` movementAnimKit ` , ` meleeAnimKit ` , ` visibilityDistanceType ` , ` auras ` ) VALUES
( 243498 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' ) ,
( 243506 , 0 , 0 , 0 , 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' ) ;
-- =================================
-- Lightforged Draenei Starting Zone
-- =================================
-- NPC Lightforged Vindicator (132215)
DELETE FROM ` creature ` WHERE ` guid ` = 243592 ;
DELETE FROM ` creature_addon ` WHERE ` guid ` = 243592 ;
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` = - 243592 AND ` source_type ` = 0 ;
-- =============================
-- Dark Iron Dwarf Starting Zone
-- =============================
-- NPC Dark Iron Mole Machine (143925)
DELETE FROM ` smart_scripts ` WHERE ` entryorguid ` IN ( 143925 , - 439584 ) AND ` source_type ` = 0 ;
INSERT 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
( 143925 , 0 , 0 , 0 , ' ' , 54 , 0 , 100 , 1 , 0 , 0 , 0 , 0 , 0 , ' ' , 160 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 23 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Dark Iron Mole Machine - On Just Summoned - Add Personal Visible ' ) ,
( 143925 , 0 , 1 , 0 , ' ' , 60 , 0 , 100 , 1 , 60000 , 60000 , 0 , 0 , 0 , ' ' , 41 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Dark Iron Mole Machine - On Update - Despawn Instant ' ) ,
( 143925 , 0 , 2 , 3 , ' ' , 73 , 0 , 100 , 1 , 0 , 0 , 0 , 0 , 0 , ' ' , 62 , 2081 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 1629 . 025 , 529 . 127 , 201 . 441 , 5 . 511 , ' Dark Iron Mole Machine - On Spellclick - Teleport Player ' ) ,
( 143925 , 0 , 3 , 0 , ' ' , 61 , 0 , 100 , 1 , 0 , 0 , 0 , 0 , 0 , ' ' , 41 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 1 , 0 , 0 , 0 , 0 , NULL , 0 , 0 , 0 , 0 , ' Dark Iron Mole Machine - Despawn Instant ' ) ,
( - 439584 , 0 , 0 , 0 , ' ' , 73 , 0 , 100 , 0 , 0 , 0 , 0 , 0 , 0 , ' ' , 62 , 2081 , 0 , 0 , 0 , 0 , 0 , 0 , NULL , 7 , 0 , 0 , 0 , 0 , NULL , 1629 . 025 , 529 . 127 , 201 . 441 , 5 . 511 , ' Dark Iron Mole Machine - On Spellclick - Teleport Player ' ) ;
DELETE FROM ` conditions ` WHERE ` SourceTypeOrReferenceId ` = 18 AND ` SourceGroup ` = 143925 AND ` SourceEntry ` = 86515 ;
INSERT INTO ` conditions ` ( ` SourceTypeOrReferenceId ` , ` SourceGroup ` , ` SourceEntry ` , ` SourceId ` , ` ElseGroup ` , ` ConditionTypeOrReference ` , ` ConditionTarget ` , ` ConditionValue1 ` , ` ConditionValue2 ` , ` ConditionValue3 ` , ` ConditionStringValue1 ` , ` NegativeCondition ` , ` ErrorType ` , ` ErrorTextId ` , ` ScriptName ` , ` Comment ` ) VALUES
( 18 , 143925 , 86515 , 0 , 0 , 16 , 0 , 2048 , 0 , 0 , ' ' , 0 , 0 , 0 , ' ' , ' Dark Iron Mole Machine - Allow Spellclick if Player is Dark Iron Dwarf ' ) ;