aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
authorNay <dnpd.dd@gmail.com>2011-10-30 01:08:16 +0100
committerNay <dnpd.dd@gmail.com>2011-10-30 01:08:16 +0100
commit82fa5c97d64e9862787295917dd4ef9bfdeb5d33 (patch)
treedfc39199c8b6d2b42c1af59c133c7af283a27e40 /sql/updates
parent550f3c907adea079dae152756a7f1bcb93fadb9f (diff)
DB/Quests/IC: Fix quest Tempering The Blade
Closes #837
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/world/2011_10_30_00_world_misc.sql20
1 files changed, 20 insertions, 0 deletions
diff --git a/sql/updates/world/2011_10_30_00_world_misc.sql b/sql/updates/world/2011_10_30_00_world_misc.sql
new file mode 100644
index 00000000000..912f13f364c
--- /dev/null
+++ b/sql/updates/world/2011_10_30_00_world_misc.sql
@@ -0,0 +1,20 @@
+-- trigger spawn X: 5672.294 Y: 2520.686 Z: 713.4386 O: 0.9599311 (21:01:58)
+-- at 21:04:00 it casts 70663 (Shadownova) (when spellhit by 69922)
+-- at 21:04:00 it casts 69956 (Return Tempered Quel'Delar) at player
+
+UPDATE `creature_template` SET `faction_A`=190,`faction_H`=190,`baseattacktime`=2000,`unit_flags`=`unit_flags`|768,`flags_extra`=`flags_extra`|128,`AIName`='SmartAI' WHERE `entry`=37094; -- Crucible of Souls
+
+UPDATE `creature_model_info` SET `bounding_radius`=1.25,`combat_reach`=2.5,`gender`=2 WHERE `modelid`=30822; -- Crucible of Souls
+
+DELETE FROM `creature_template_addon` WHERE `entry`=37094;
+INSERT INTO `creature_template_addon` (`entry`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`) VALUES
+(37094,0,0,1,0, '69859'); -- Crucible of Souls (Crucible of Souls Visual)
+
+DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=69922;
+INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
+(13,0,69922,0,18,1,37094,0,0,'', 'Temper Quel''Delar - Crucible of Souls');
+
+DELETE FROM `smart_scripts` WHERE `entryorguid`=37094 AND `source_type`=0;
+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
+(37094,0,0,1,8,0,0,0,69922,0,0,0,11,70663,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Crucible of Souls - On spellhit by Temper Quel''Delar cast Shadownova'),
+(37094,0,1,0,61,0,0,0,69922,0,0,0,11,69956,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Crucible of Souls - On spellhit by Temper Quel''Delar (link) cast Return Tempered Quel''Delar');