aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKillyana <morphone1@gmail.com>2019-06-16 21:54:40 +0200
committerShauren <shauren.trinity@gmail.com>2021-12-11 14:21:11 +0100
commit934efded41dbd4389b01886292845285674c5d5e (patch)
tree2764c828e89bb2162b7592d05357ae73a8ff2625
parentcf71e5f4b269625b22256cbf572bf0d7f69998d7 (diff)
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)
-rw-r--r--sql/updates/world/master/2021_12_11_16_world_2019_06_16_03_world.sql12
1 files changed, 12 insertions, 0 deletions
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;