From a08f931d42812540cec7e7e946d6a14e6ea2e218 Mon Sep 17 00:00:00 2001 From: DDuarte Date: Tue, 22 Jul 2014 18:13:37 +0100 Subject: DB/Quests: Add conditions to quest The Symbol of Live Closes #11444 --- sql/updates/world/2014_07_22_00_world_conditions.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/2014_07_22_00_world_conditions.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2014_07_22_00_world_conditions.sql b/sql/updates/world/2014_07_22_00_world_conditions.sql new file mode 100644 index 00000000000..a13a495f737 --- /dev/null +++ b/sql/updates/world/2014_07_22_00_world_conditions.sql @@ -0,0 +1,4 @@ +DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=19 AND `SourceEntry`=1790; +INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES +(19,0,1790,0,0,8,0,1786,0,0,1,0,0,'','Show quest ''The Symbol of Life'' only if quest ''The Tome of Divinity'' is not rewarded'), +(19,0,1790,0,0,28,0,1786,0,0,1,0,0,'','Show quest ''The Symbol of Life'' only if quest ''The Tome of Divinity'' is not completed'); -- cgit v1.2.3 From 2117810aa460eae8d2d560b1f83f104e69f99443 Mon Sep 17 00:00:00 2001 From: DDuarte Date: Tue, 22 Jul 2014 22:34:57 +0100 Subject: DB/Schema: Change playercreateinfo_skills engine to MyISAM --- sql/updates/world/2014_07_22_01_world_playercreateinfo_skills.sql | 1 + 1 file changed, 1 insertion(+) create mode 100644 sql/updates/world/2014_07_22_01_world_playercreateinfo_skills.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2014_07_22_01_world_playercreateinfo_skills.sql b/sql/updates/world/2014_07_22_01_world_playercreateinfo_skills.sql new file mode 100644 index 00000000000..325d326107b --- /dev/null +++ b/sql/updates/world/2014_07_22_01_world_playercreateinfo_skills.sql @@ -0,0 +1 @@ +ALTER TABLE `playercreateinfo_skills` ENGINE MyISAM; -- cgit v1.2.3 From 1bebe15698bea8ff314bfdf93b205e9dc17aeced Mon Sep 17 00:00:00 2001 From: Aokromes Date: Wed, 23 Jul 2014 00:19:24 +0200 Subject: DB/Quest: Fix quest credit for the first trial By dr-j, closes #12600 --- sql/updates/world/2014_07_23_00_world_misc.sql | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sql/updates/world/2014_07_23_00_world_misc.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2014_07_23_00_world_misc.sql b/sql/updates/world/2014_07_23_00_world_misc.sql new file mode 100644 index 00000000000..3cd67bd0106 --- /dev/null +++ b/sql/updates/world/2014_07_23_00_world_misc.sql @@ -0,0 +1,4 @@ +-- +DELETE FROM `smart_scripts` WHERE `entryorguid`=17716 AND `source_type`=0 AND `id`=1; +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 +(17716, 0, 1, 0, 6, 0, 100, 1, 0, 30, 0, 0, 15, 9678, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sangrias Stillblade - On Death - Complete quest'); -- cgit v1.2.3