aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorKittnz <Kittnz@users.noreply.github.com>2016-01-12 21:04:24 +0100
committerShauren <shauren.trinity@gmail.com>2016-03-22 22:13:31 +0100
commit78885769cbc52940993064b34f347e50c018dd52 (patch)
tree13701ff1c95e2c4fd23ee56728fa82d54613704e /sql
parentf6b60d461e293d30d4ac90ddc814c1df63deeeca (diff)
Merge pull request #16245 from sirikfoll/Turkinator
Core/Spells Implement SpellScript needed for Achievement The Turkinator (cherry picked from commit 529899675ab3ef58c7c564bd17e0339bcbbddc23)
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2016_03_22_08_world_2016_01_12_03_world.sql15
1 files changed, 15 insertions, 0 deletions
diff --git a/sql/updates/world/2016_03_22_08_world_2016_01_12_03_world.sql b/sql/updates/world/2016_03_22_08_world_2016_01_12_03_world.sql
new file mode 100644
index 00000000000..6ff3a769918
--- /dev/null
+++ b/sql/updates/world/2016_03_22_08_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');