From 2069d78ec7e3be4e58de9962332f36f1cab61bad Mon Sep 17 00:00:00 2001 From: Killyana Date: Wed, 9 Jan 2019 16:20:48 +0100 Subject: DB/Creature: Add missing npc_flag hasgossip to some creatures Part3 Ref #22912 --- sql/updates/world/3.3.5/2019_01_09_01_world.sql | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sql/updates/world/3.3.5/2019_01_09_01_world.sql (limited to 'sql/updates') diff --git a/sql/updates/world/3.3.5/2019_01_09_01_world.sql b/sql/updates/world/3.3.5/2019_01_09_01_world.sql new file mode 100644 index 00000000000..72363552125 --- /dev/null +++ b/sql/updates/world/3.3.5/2019_01_09_01_world.sql @@ -0,0 +1,7 @@ +-- +UPDATE `creature_template` SET `npcflag`=`npcflag`|1 WHERE `entry` IN (21685,24788); +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (21685) AND `source_type`=0 AND `id`=19; +DELETE FROM `smart_scripts` WHERE `entryorguid` IN (24788) AND `source_type`=0 AND `id`=10; +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 +(21685,0, 19,0,63,0,100,0,0,0,0,0, 81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Oronok Torn-heart - On just created - Remove NPC Flags Gossip'), +(24788,0, 10,0,63,0,100,0,0,0,0,0, 81,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Jack Adams - On just created - Remove NPC Flags Gossip'); -- cgit v1.2.3