aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2016_01_12_03_world.sql15
-rw-r--r--sql/updates/world/2016_01_12_04_world.sql14
2 files changed, 29 insertions, 0 deletions
diff --git a/sql/updates/world/2016_01_12_03_world.sql b/sql/updates/world/2016_01_12_03_world.sql
new file mode 100644
index 00000000000..6ff3a769918
--- /dev/null
+++ b/sql/updates/world/2016_01_12_03_world.sql
@@ -0,0 +1,15 @@
+UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=32820;
+DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=32820;
+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
+(32820,0,0,0,6,0,100,0,0,0,0,0,11,62014,2,0,0,0,0,7,0,0,0,0,0,0,0,"Wild Turkey - On Just Died - Cast 'Turkey Tracker'");
+
+DELETE FROM `creature_text` WHERE `entry`=32820;
+INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
+(32820,0,0,'Turkey Hunter!',42,0,100,0,0,0,33163,0,'Wild Turkey'),
+(32820,1,0,'Turkey Domination!',42,0,100,0,0,0,33164,0,'Wild Turkey'),
+(32820,2,0,'Turkey Slaughter!',42,0,100,0,0,0,33165,0,'Wild Turkey'),
+(32820,3,0,'TURKEY TRIUMPH!',42,0,100,0,0,0,33167,0,'Wild Turkey');
+
+DELETE FROM `spell_script_names` WHERE `ScriptName`='spell_pilgrims_bounty_turkey_tracker';
+INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
+(62014,'spell_pilgrims_bounty_turkey_tracker');
diff --git a/sql/updates/world/2016_01_12_04_world.sql b/sql/updates/world/2016_01_12_04_world.sql
new file mode 100644
index 00000000000..7cee9220060
--- /dev/null
+++ b/sql/updates/world/2016_01_12_04_world.sql
@@ -0,0 +1,14 @@
+SET @OGUID:=79521;
+SET @CGUID:=52265;
+SET @Event:=2;
+
+DELETE FROM `gameobject` WHERE `guid` IN (@OGUID+0);
+INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
+(@OGUID+0, 187567, 530, 1, 1, -690.7932, 2724.943, 100.9289, 6.265733, 0, 0, 0, 1, 120, 255, 1); -- 187567 (Area: 3483)
+
+DELETE FROM `game_event_gameobject` WHERE `guid` IN (@OGUID+0);
+INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
+(@Event, @OGUID+0);
+
+DELETE FROM `game_event_creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+4 AND `eventEntry`=@Event;
+INSERT INTO `game_event_creature` SELECT @Event, creature.guid FROM `creature` WHERE creature.guid BETWEEN @CGUID+0 AND @CGUID+4;