aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorVincent_Michael <Vincent_Michael@gmx.de>2013-03-27 13:19:56 +0100
committerVincent_Michael <Vincent_Michael@gmx.de>2013-03-27 13:19:56 +0100
commit1b8d917ea9ba4cb7190a8da94d9128cb9bd561a4 (patch)
tree9479c21968ddf6b267cdc51b8586deb6986dd73d /sql/updates
parentc97c381ea0b63963b3756f531b8c64636cb5d66b (diff)
parentb78885622078bcf56b21694b39964c25ae4794f6 (diff)
Merge branch 'master' of github.com:TrinityCore/TrinityCore into 4.3.4
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/2013_03_26_00_world_a_heros_headgear.sql14
1 files changed, 14 insertions, 0 deletions
diff --git a/sql/updates/world/2013_03_26_00_world_a_heros_headgear.sql b/sql/updates/world/2013_03_26_00_world_a_heros_headgear.sql
new file mode 100644
index 00000000000..9a0ccd58fb2
--- /dev/null
+++ b/sql/updates/world/2013_03_26_00_world_a_heros_headgear.sql
@@ -0,0 +1,14 @@
+UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=28877;
+
+DELETE FROM `creature_ai_scripts` WHERE `creature_id`=28877;
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=28877 AND `source_type`=0;
+INSERT INTO `smart_scripts`(`entryorguid`,`id`,`link`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`target_type`,`comment`) VALUES
+(28877,0,0,0,3000,5000,3000,5000,11,32018,2,'Stormwatcher - In combat - Cast Call Lightning'),
+(28877,1,2,8,53145,0,0,0,11,53162,1,'Stormwatcher - On spellhit - Summon Stormwatchers Head'),
+(28877,2,0,61,0,0,0,0,41,0,1,'Stormwatcher - Linked with id 1 - Despawn');
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=17 AND `SourceEntry`=53145;
+INSERT INTO `conditions`(`SourceTypeOrReferenceId`,`SourceEntry`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`NegativeCondition`,`Comment`) VALUES
+(17,53145,31,1,3,28877,0,'Target needs to be Stormwatcher'),
+(17,53145,36,1,0,0,1,'Target needs to be dead');