From c2ab5ee974d65d218e177ac6a0ab06b30f8d9ab4 Mon Sep 17 00:00:00 2001 From: SignFinder Date: Sun, 22 Jul 2012 02:59:20 +0100 Subject: DB/Conditions: Missing condition for gameobject Sha'ni Proudtusk's Remains Closes #6863 Signed-off-by: Nay --- sql/updates/world/2012_07_22_12_creature_template.sql | 2 -- sql/updates/world/2012_07_22_12_world_creature_template.sql | 2 ++ sql/updates/world/2012_07_22_13_world_conditions.sql | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) delete mode 100644 sql/updates/world/2012_07_22_12_creature_template.sql create mode 100644 sql/updates/world/2012_07_22_12_world_creature_template.sql create mode 100644 sql/updates/world/2012_07_22_13_world_conditions.sql (limited to 'sql/updates') diff --git a/sql/updates/world/2012_07_22_12_creature_template.sql b/sql/updates/world/2012_07_22_12_creature_template.sql deleted file mode 100644 index 51e2b36d15d..00000000000 --- a/sql/updates/world/2012_07_22_12_creature_template.sql +++ /dev/null @@ -1,2 +0,0 @@ --- Fix Night Elf Corpse (16804) so it can't be attacked -UPDATE `creature_template` SET `unit_flags`=768, `dynamicflags`=40 WHERE `entry` = 16804; diff --git a/sql/updates/world/2012_07_22_12_world_creature_template.sql b/sql/updates/world/2012_07_22_12_world_creature_template.sql new file mode 100644 index 00000000000..51e2b36d15d --- /dev/null +++ b/sql/updates/world/2012_07_22_12_world_creature_template.sql @@ -0,0 +1,2 @@ +-- Fix Night Elf Corpse (16804) so it can't be attacked +UPDATE `creature_template` SET `unit_flags`=768, `dynamicflags`=40 WHERE `entry` = 16804; diff --git a/sql/updates/world/2012_07_22_13_world_conditions.sql b/sql/updates/world/2012_07_22_13_world_conditions.sql new file mode 100644 index 00000000000..896257d3f92 --- /dev/null +++ b/sql/updates/world/2012_07_22_13_world_conditions.sql @@ -0,0 +1,3 @@ +DELETE FROM conditions WHERE SourceTypeOrReferenceId=22 AND SourceEntry=160445; +INSERT INTO conditions (SourceTypeOrReferenceId, SourceGroup, SourceEntry, SourceId, ElseGroup, ConditionTypeOrReference, ConditionTarget, ConditionValue1, ConditionValue2, ConditionValue3, NegativeCondition, ErrorTextId, ScriptName, Comment) VALUES +(22, 1, 160445, 1, 0, 28, 0, 3821, 0, 0, 0, 0, '', 'Execute SmartAI for gameobject 160445 only if player has complete quest 3821'); -- cgit v1.2.3