From 35a8ac52e3edc34705eb96e2e4565615904bdfaf Mon Sep 17 00:00:00 2001 From: SnapperRy Date: Wed, 5 Oct 2016 12:40:29 +0200 Subject: Both updates are only for 3.3.5 branch. --- sql/updates/world/3.3.5/2016_10_05_04_world.sql | 55 ---------------------- .../world/3.3.5/2016_10_05_04_world_335.sql | 55 ++++++++++++++++++++++ sql/updates/world/3.3.5/2016_10_05_05_world.sql | 30 ------------ .../world/3.3.5/2016_10_05_05_world_335.sql | 30 ++++++++++++ 4 files changed, 85 insertions(+), 85 deletions(-) delete mode 100644 sql/updates/world/3.3.5/2016_10_05_04_world.sql create mode 100644 sql/updates/world/3.3.5/2016_10_05_04_world_335.sql delete mode 100644 sql/updates/world/3.3.5/2016_10_05_05_world.sql create mode 100644 sql/updates/world/3.3.5/2016_10_05_05_world_335.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2016_10_05_04_world.sql b/sql/updates/world/3.3.5/2016_10_05_04_world.sql deleted file mode 100644 index fecd2e58e14..00000000000 --- a/sql/updates/world/3.3.5/2016_10_05_04_world.sql +++ /dev/null @@ -1,55 +0,0 @@ --- -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=3695; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -(22, 1, 3695, 0, 0, 29, 1, 3693, 100, 0, 0, 0, 0, "", "Grimclaw - Execute SAI 0 only if within 100 yards of Terenthis"); - -DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3695, 369500); -DELETE FROM `smart_scripts` WHERE `entryorguid`=3693 AND `id` IN (3, 4); -INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES -(3693, 0, 3, 4, 20, 0, 100, 0, 985, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Terenthis - On Quest How Big a Threat? (Part 2) Rewarded - Remove Questgiver+Gossip npcflag"), -(3693, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 3695, 8, 0, 0, 0, 0, 8, 0, 0, 0, 6402.4761, 368.3005, 16.3091, 1.0602, "Terenthis - On Quest How Big a Threat? (Part 2) Rewarded - Summon Grimclaw"), - -(3695, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 53, 1, 3695, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Respawn - Start Waypoint"), -(3695, 0, 1, 0, 40, 0, 100, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 1 Reached - Talk 0 (Terenthis)"), -(3695, 0, 2, 0, 40, 0, 100, 0, 5, 0, 0, 0, 80, 369500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 5 Reached - Run Actionlist"), -(3695, 0, 3, 0, 40, 0, 100, 0, 9, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 9 Reached - Despawn"), - -(369500, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 57000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Pause Waypoint for 57 seconds"), -(369500, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 0"), -(369500, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 1 (Terenthis)"), -(369500, 9, 3, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 1"), -(369500, 9, 4, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 2 (Terenthis)"), -(369500, 9, 5, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 3 (Terenthis)"), -(369500, 9, 6, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 4 (Terenthis)"), -(369500, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 2"), -(369500, 9, 8, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 5 (Terenthis)"), -(369500, 9, 9, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 3"), -(369500, 9, 10, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 6 (Terenthis)"), -(369500, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 82, 3, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Add Questgiver+Gossip npcflag (Terenthis)"); - -DELETE FROM `waypoints` WHERE `entry`=3695; -INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES -(3695, 1, 6409.0093, 381.5969, 13.7997, "Grimclaw"), -(3695, 2, 6422.3823, 398.5416, 11.1623, "Grimclaw"), -(3695, 3, 6429.1572, 395.6921, 11.6041, "Grimclaw"), -(3695, 4, 6437.8657, 372.9119, 13.9415, "Grimclaw"), -(3695, 5, 6436.2852, 366.5291, 13.9415, "Grimclaw"), -(3695, 6, 6437.8657, 372.9119, 13.9415, "Grimclaw"), -(3695, 7, 6429.1572, 395.6921, 11.6041, "Grimclaw"), -(3695, 8, 6422.3823, 398.5416, 11.1623, "Grimclaw"), -(3695, 9, 6409.0093, 381.5969, 13.7997, "Grimclaw"); - -DELETE FROM `creature_text` WHERE `entry` IN (3693, 3695); -INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES -(3693, 0, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1245), 12, 7, 100, 0, 0, 0, 1245, 0, "Terenthis"), -(3693, 1, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1227), 12, 7, 100, 0, 0, 0, 1227, 0, "Terenthis"), -(3693, 2, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1229), 12, 7, 100, 0, 0, 0, 1229, 0, "Terenthis"), -(3693, 3, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1246), 16, 7, 100, 0, 0, 0, 1246, 0, "Terenthis"), -(3693, 4, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1230), 12, 7, 100, 0, 0, 0, 1230, 0, "Terenthis"), -(3693, 5, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1232), 12, 7, 100, 0, 0, 0, 1232, 0, "Terenthis"), -(3693, 6, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1384), 12, 7, 100, 0, 0, 0, 1384, 0, "Terenthis"), - -(3695, 0, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1226), 16, 7, 100, 0, 0, 0, 1226, 0, "Grimclaw"), -(3695, 1, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1228), 16, 7, 100, 0, 0, 0, 1228, 0, "Grimclaw"), -(3695, 2, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1231), 16, 7, 100, 0, 0, 0, 1231, 0, "Grimclaw"), -(3695, 3, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1233), 16, 7, 100, 0, 0, 0, 1233, 0, "Grimclaw"); diff --git a/sql/updates/world/3.3.5/2016_10_05_04_world_335.sql b/sql/updates/world/3.3.5/2016_10_05_04_world_335.sql new file mode 100644 index 00000000000..fecd2e58e14 --- /dev/null +++ b/sql/updates/world/3.3.5/2016_10_05_04_world_335.sql @@ -0,0 +1,55 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=3695; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 3695, 0, 0, 29, 1, 3693, 100, 0, 0, 0, 0, "", "Grimclaw - Execute SAI 0 only if within 100 yards of Terenthis"); + +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (3695, 369500); +DELETE FROM `smart_scripts` WHERE `entryorguid`=3693 AND `id` IN (3, 4); +INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_type`, `event_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES +(3693, 0, 3, 4, 20, 0, 100, 0, 985, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Terenthis - On Quest How Big a Threat? (Part 2) Rewarded - Remove Questgiver+Gossip npcflag"), +(3693, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 12, 3695, 8, 0, 0, 0, 0, 8, 0, 0, 0, 6402.4761, 368.3005, 16.3091, 1.0602, "Terenthis - On Quest How Big a Threat? (Part 2) Rewarded - Summon Grimclaw"), + +(3695, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 53, 1, 3695, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Respawn - Start Waypoint"), +(3695, 0, 1, 0, 40, 0, 100, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 1 Reached - Talk 0 (Terenthis)"), +(3695, 0, 2, 0, 40, 0, 100, 0, 5, 0, 0, 0, 80, 369500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 5 Reached - Run Actionlist"), +(3695, 0, 3, 0, 40, 0, 100, 0, 9, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On WP 9 Reached - Despawn"), + +(369500, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 54, 57000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Pause Waypoint for 57 seconds"), +(369500, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 0"), +(369500, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 1 (Terenthis)"), +(369500, 9, 3, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 1"), +(369500, 9, 4, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 2 (Terenthis)"), +(369500, 9, 5, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 3 (Terenthis)"), +(369500, 9, 6, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 4, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 4 (Terenthis)"), +(369500, 9, 7, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 2"), +(369500, 9, 8, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 5 (Terenthis)"), +(369500, 9, 9, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 3"), +(369500, 9, 10, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 6, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Talk 6 (Terenthis)"), +(369500, 9, 11, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 82, 3, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Grimclaw - On Script - Add Questgiver+Gossip npcflag (Terenthis)"); + +DELETE FROM `waypoints` WHERE `entry`=3695; +INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES +(3695, 1, 6409.0093, 381.5969, 13.7997, "Grimclaw"), +(3695, 2, 6422.3823, 398.5416, 11.1623, "Grimclaw"), +(3695, 3, 6429.1572, 395.6921, 11.6041, "Grimclaw"), +(3695, 4, 6437.8657, 372.9119, 13.9415, "Grimclaw"), +(3695, 5, 6436.2852, 366.5291, 13.9415, "Grimclaw"), +(3695, 6, 6437.8657, 372.9119, 13.9415, "Grimclaw"), +(3695, 7, 6429.1572, 395.6921, 11.6041, "Grimclaw"), +(3695, 8, 6422.3823, 398.5416, 11.1623, "Grimclaw"), +(3695, 9, 6409.0093, 381.5969, 13.7997, "Grimclaw"); + +DELETE FROM `creature_text` WHERE `entry` IN (3693, 3695); +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3693, 0, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1245), 12, 7, 100, 0, 0, 0, 1245, 0, "Terenthis"), +(3693, 1, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1227), 12, 7, 100, 0, 0, 0, 1227, 0, "Terenthis"), +(3693, 2, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1229), 12, 7, 100, 0, 0, 0, 1229, 0, "Terenthis"), +(3693, 3, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1246), 16, 7, 100, 0, 0, 0, 1246, 0, "Terenthis"), +(3693, 4, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1230), 12, 7, 100, 0, 0, 0, 1230, 0, "Terenthis"), +(3693, 5, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1232), 12, 7, 100, 0, 0, 0, 1232, 0, "Terenthis"), +(3693, 6, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1384), 12, 7, 100, 0, 0, 0, 1384, 0, "Terenthis"), + +(3695, 0, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1226), 16, 7, 100, 0, 0, 0, 1226, 0, "Grimclaw"), +(3695, 1, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1228), 16, 7, 100, 0, 0, 0, 1228, 0, "Grimclaw"), +(3695, 2, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1231), 16, 7, 100, 0, 0, 0, 1231, 0, "Grimclaw"), +(3695, 3, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1233), 16, 7, 100, 0, 0, 0, 1233, 0, "Grimclaw"); diff --git a/sql/updates/world/3.3.5/2016_10_05_05_world.sql b/sql/updates/world/3.3.5/2016_10_05_05_world.sql deleted file mode 100644 index a01a4b9c7b8..00000000000 --- a/sql/updates/world/3.3.5/2016_10_05_05_world.sql +++ /dev/null @@ -1,30 +0,0 @@ --- -DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=3693; -INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES -(22, 1, 3693, 0, 0, 29, 1, 3694, 100, 0, 1, 0, 0, "", "Terenthis - Execute SAI 0 only if not within 100 yards of Sentinel Selarin"), -(22, 2, 3693, 0, 0, 29, 1, 3694, 100, 0, 1, 0, 0, "", "Terenthis - Execute SAI 1 only if not within 100 yards of Sentinel Selarin"); - -DELETE FROM `creature_text` WHERE `entry`=3694; -DELETE FROM `creature_text` WHERE `entry`=3693 AND `groupid`=7; -INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES -(3694, 0, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1302), 12, 7, 100, 0, 0, 0, 1302, 0, "Sentinel Selarin"), -(3694, 1, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1303), 12, 7, 100, 0, 0, 0, 1303, 0, "Sentinel Selarin"), -(3694, 2, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1304), 12, 7, 100, 0, 0, 0, 1304, 0, "Sentinel Selarin"), -(3694, 3, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1306), 12, 7, 100, 0, 0, 0, 1306, 0, "Sentinel Selarin"), -(3693, 7, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1305), 12, 7, 100, 0, 0, 0, 1305, 0, "Terenthis"); - -UPDATE `smart_scripts` SET `link`=5 WHERE `entryorguid`=3694 AND `id`=2; -UPDATE `smart_scripts` SET `link`=6 WHERE `entryorguid`=3694 AND `id`=4; -DELETE FROM `smart_scripts` WHERE `entryorguid`=3694 AND `id` IN (5, 6); -DELETE FROM `smart_scripts` WHERE `entryorguid`=369400; -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 -(3694, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Summon - Remove Questgiver+Gossip npcflag"), -(3694, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 369400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Waypoint 12 Reached - Run Actionlist"), - -(369400, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 0"), -(369400, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 7 (Terenthis)"), -(369400, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 1"), -(369400, 9, 3, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 2"), -(369400, 9, 4, 0, 61, 0, 100, 0, 2000, 2000, 0, 0, 82, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Summon - Add Questgiver+Gossip npcflag"), -(369400, 9, 5, 0, 0, 0, 100, 0, 90000, 90000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 3"), -(369400, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Remove Questgiver+Gossip npcflag"); diff --git a/sql/updates/world/3.3.5/2016_10_05_05_world_335.sql b/sql/updates/world/3.3.5/2016_10_05_05_world_335.sql new file mode 100644 index 00000000000..a01a4b9c7b8 --- /dev/null +++ b/sql/updates/world/3.3.5/2016_10_05_05_world_335.sql @@ -0,0 +1,30 @@ +-- +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=3693; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(22, 1, 3693, 0, 0, 29, 1, 3694, 100, 0, 1, 0, 0, "", "Terenthis - Execute SAI 0 only if not within 100 yards of Sentinel Selarin"), +(22, 2, 3693, 0, 0, 29, 1, 3694, 100, 0, 1, 0, 0, "", "Terenthis - Execute SAI 1 only if not within 100 yards of Sentinel Selarin"); + +DELETE FROM `creature_text` WHERE `entry`=3694; +DELETE FROM `creature_text` WHERE `entry`=3693 AND `groupid`=7; +INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES +(3694, 0, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1302), 12, 7, 100, 0, 0, 0, 1302, 0, "Sentinel Selarin"), +(3694, 1, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1303), 12, 7, 100, 0, 0, 0, 1303, 0, "Sentinel Selarin"), +(3694, 2, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1304), 12, 7, 100, 0, 0, 0, 1304, 0, "Sentinel Selarin"), +(3694, 3, 0, (SELECT `FemaleText` FROM `broadcast_text` WHERE `ID`=1306), 12, 7, 100, 0, 0, 0, 1306, 0, "Sentinel Selarin"), +(3693, 7, 0, (SELECT `MaleText` FROM `broadcast_text` WHERE `ID`=1305), 12, 7, 100, 0, 0, 0, 1305, 0, "Terenthis"); + +UPDATE `smart_scripts` SET `link`=5 WHERE `entryorguid`=3694 AND `id`=2; +UPDATE `smart_scripts` SET `link`=6 WHERE `entryorguid`=3694 AND `id`=4; +DELETE FROM `smart_scripts` WHERE `entryorguid`=3694 AND `id` IN (5, 6); +DELETE FROM `smart_scripts` WHERE `entryorguid`=369400; +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 +(3694, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Summon - Remove Questgiver+Gossip npcflag"), +(3694, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 80, 369400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Waypoint 12 Reached - Run Actionlist"), + +(369400, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 0"), +(369400, 9, 1, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 7, 0, 0, 0, 0, 0, 19, 3693, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 7 (Terenthis)"), +(369400, 9, 2, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 1"), +(369400, 9, 3, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 2"), +(369400, 9, 4, 0, 61, 0, 100, 0, 2000, 2000, 0, 0, 82, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Summon - Add Questgiver+Gossip npcflag"), +(369400, 9, 5, 0, 0, 0, 100, 0, 90000, 90000, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Talk 3"), +(369400, 9, 6, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, "Sentinel Selarin - On Script - Remove Questgiver+Gossip npcflag"); -- cgit v1.2.3