From 934efded41dbd4389b01886292845285674c5d5e Mon Sep 17 00:00:00 2001 From: Killyana Date: Sun, 16 Jun 2019 21:54:40 +0200 Subject: DB/Gameobject: Gordunni Dirt Mound Closes #23232 And fix DB errors related to repeat min/max for quest rewarded and quest accepted (cherry picked from commit 1c067b3221d956a1fe7106aad6aaaf1d1a381899) --- .../world/master/2021_12_11_16_world_2019_06_16_03_world.sql | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 sql/updates/world/master/2021_12_11_16_world_2019_06_16_03_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/master/2021_12_11_16_world_2019_06_16_03_world.sql b/sql/updates/world/master/2021_12_11_16_world_2019_06_16_03_world.sql new file mode 100644 index 00000000000..3cc14aff3c8 --- /dev/null +++ b/sql/updates/world/master/2021_12_11_16_world_2019_06_16_03_world.sql @@ -0,0 +1,12 @@ +-- +-- UPDATE `spell_dbc` SET `RangeIndex`=1, `EffectImplicitTargetA1`=18, `EffectImplicitTargetA2`=18, `EffectRadiusIndex1`=0, `EffectRadiusIndex2`=0 WHERE `id` IN (11756); +-- UPDATE `spell_dbc` SET `RangeIndex`=1, `EffectImplicitTargetA1`=18, `EffectRadiusIndex1`=0, `EffectRadiusIndex2`=0 WHERE `id` IN (19394); + +UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI' WHERE `entry` IN (144064); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (144064) AND `source_type`=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 +(144064,1,0,0,70,0,100,0,3,0,0,0,41,0,0,0,0,0,0,20,177683,4,0,0,0,0,0, "Gordunni Dirt Mound - In loot state 3 - Despawn visual gob"); + +UPDATE `smart_scripts` SET `event_param2`=0 WHERE `entryorguid`=17214 AND `source_type`=0 AND `id`=1; +UPDATE `smart_scripts` SET `event_param2`=0 WHERE `entryorguid`=17215 AND `source_type`=0 AND `id`=4; +UPDATE `smart_scripts` SET `event_param2`=0 WHERE `entryorguid`=32423 AND `source_type`=0 AND `id`=0; -- cgit v1.2.3