mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 08:28:32 +01:00
20
sql/updates/world/2011_10_30_00_world_misc.sql
Normal file
20
sql/updates/world/2011_10_30_00_world_misc.sql
Normal file
@@ -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');
|
||||
@@ -154,6 +154,8 @@ class boss_devourer_of_souls : public CreatureScript
|
||||
{
|
||||
DoScriptText(RAND(SAY_FACE_ANGER_AGGRO, SAY_FACE_DESIRE_AGGRO), me);
|
||||
|
||||
if (!me->FindNearestCreature(NPC_CRUCIBLE_OF_SOULS, 60)) // Prevent double spawn
|
||||
instance->instance->SummonCreature(NPC_CRUCIBLE_OF_SOULS, CrucibleSummonPos);
|
||||
events.ScheduleEvent(EVENT_PHANTOM_BLAST, 5000);
|
||||
events.ScheduleEvent(EVENT_MIRRORED_SOUL, 8000);
|
||||
events.ScheduleEvent(EVENT_WELL_OF_SOULS, 30000);
|
||||
|
||||
@@ -46,5 +46,6 @@ enum Creatures
|
||||
NPC_CHAMPION_3_HORDE = 37588,
|
||||
NPC_CHAMPION_1_ALLIANCE = 37496,
|
||||
NPC_CHAMPION_2_ALLIANCE = 37497,
|
||||
NPC_CRUCIBLE_OF_SOULS = 37094,
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user