mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
Merge remote-tracking branch 'origin/master' into mmaps
This commit is contained in:
102
sql/updates/world/2012_09_22_00_world_utgarde.sql
Normal file
102
sql/updates/world/2012_09_22_00_world_utgarde.sql
Normal file
@@ -0,0 +1,102 @@
|
||||
-- Frenzied geist
|
||||
DELETE FROM `creature_loot_template` WHERE `entry`=31671;
|
||||
-- Savage worg
|
||||
DELETE FROM `creature_loot_template` WHERE `entry`=31678 AND `item` IN(39211,39212,33454);
|
||||
INSERT INTO `creature_loot_template` (`entry`, `item`, `ChanceOrQuestChance`, `mincountOrRef`, `maxcount`) VALUES
|
||||
(31678,39211,70,3,5),
|
||||
(31678,39212,16,2,4),
|
||||
(31678,33454, 3,1,1);
|
||||
|
||||
-- Keleseth
|
||||
UPDATE `creature_template` SET `mechanic_immune_mask`=617289692 WHERE `entry` IN(23953,30748);
|
||||
-- Tunneling ghoul
|
||||
DELETE FROM `creature_loot_template` WHERE `entry`=31681;
|
||||
-- Dalronn heartsplitter
|
||||
UPDATE `creature_template` SET `mindmg`=380,`maxdmg`=580,`attackpower`=0,`dmg_multiplier`=10 WHERE `entry`=31660;
|
||||
-- Frenzied geist
|
||||
UPDATE `creature_template` SET `lootid`=28419 WHERE `entry`=31671;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=28419;
|
||||
-- Skarvald the constructor - On level 81 health fits/is blizzlike, depending on wowhead his level range is 72 - 81
|
||||
UPDATE `creature_template` SET `minlevel`=81,`maxlevel`=81 WHERE `entry`=31679;
|
||||
-- Tunneling ghoul
|
||||
UPDATE `creature_template` SET `lootid`=24084 WHERE `entry`=31681;
|
||||
-- Dragonflayer runecaster
|
||||
UPDATE `creature_template` SET `ScriptName`='',`AIName`='SmartAI' WHERE `entry`=23960;
|
||||
-- Dragonflayer strategist
|
||||
UPDATE `creature_template` SET `minlevel`=80,`maxlevel`=80,`unit_flags`=`unit_flags`|131072 WHERE `entry`=32246;
|
||||
-- Ingvar and undead Ingvar
|
||||
UPDATE `creature_template` SET `mindmg`=650,`maxdmg`=900,`attackpower`=200, `dmg_multiplier`=10 WHERE `entry` IN(31673,31674);
|
||||
UPDATE `creature_template` SET `mechanic_immune_mask`=`mechanic_immune_mask`|1 WHERE `entry` IN(23954,31673,23980,31674);
|
||||
-- Throw axe dummy
|
||||
UPDATE `creature_template` SET `unit_flags`=2|131072|33554432, `flags_extra`=`flags_extra`|2, `equipment_id`=720 WHERE `entry` IN(23997,31835);
|
||||
-- Throw axe target
|
||||
UPDATE `creature_template` SET `unit_flags`=2|4|256|512, `faction_A`=35, `faction_H`=35, `flags_extra`=`flags_extra`|128 WHERE `entry`=23996;
|
||||
|
||||
-- Dragonflayer runecaster
|
||||
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=23960;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=23960 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts` (`entryorguid`, `id`, `event_type`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action_type`, `action_param1`, `target_type`, `target_param2`, `comment`) VALUES
|
||||
(23960,1,0,2,5000,7000,14000,17000,11,42740,11,30,'Dragonflayer Runecaster - In combat - Cast Njords Rune of Protection'),
|
||||
(23960,2,0,4,5000,7000,14000,17000,11,59616,11,30,'Dragonflayer Runecaster - In combat - Cast Njords Rune of Protection'),
|
||||
(23960,3,0,2,1000,2000,15000,18000,11,54965, 1, 0,'Dragonflayer Runecaster - In combat - Cast Bolthorns Rune of Flame'),
|
||||
(23960,4,0,4,1000,2000,15000,18000,11,59617, 1, 0,'Dragonflayer Runecaster - In combat - Cast Bolthorns Rune of Flame');
|
||||
|
||||
-- Frenzied geist
|
||||
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=28419;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=28419 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts`(`entryorguid`,`event_type`,`event_param1`,`event_param2`,`event_param3`,`event_param4`,`action_type`,`action_param1`,`target_type`,`comment`) VALUES
|
||||
(28419,0,5000,5000,30000,30000,11,40414,5,'Frenzied geist - In combat - Cast Fixate');
|
||||
|
||||
-- Difficulty data for spells used in utgarde keep
|
||||
DELETE FROM `spelldifficulty_dbc` WHERE `id` IN(42669,42708,42750,42723,42729,43667,42702) OR `spellid0` IN(42669,42708,42750,42723,42729,43667,42702);
|
||||
INSERT INTO `spelldifficulty_dbc`(`id`,`spellid0`,`spellid1`) VALUES
|
||||
(42669,42669,59706), -- Smash
|
||||
(42708,42708,59708), -- Staggering Roar
|
||||
(42750,42750,59719), -- Throw Axe
|
||||
(42723,42723,59709), -- Dark Smash
|
||||
(42729,42729,59734), -- Dreadful Roar
|
||||
(43667,43667,59389), -- Shadow Bolt
|
||||
(42702,42702,59397); -- Decrepify
|
||||
|
||||
-- Ticking Time Bomb, Fixate
|
||||
DELETE FROM `spell_script_names` WHERE `spell_id` IN(59686,40414);
|
||||
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
|
||||
(59686,'spell_ticking_time_bomb'),
|
||||
(40414,'spell_fixate');
|
||||
|
||||
-- Proto-drake striders
|
||||
UPDATE `creature` SET `position_x`=212.429,`position_y`=-127.793,`position_z`=256.101,`MovementType`=2 WHERE `guid`=125914;
|
||||
UPDATE `creature` SET `position_x`=211.854,`position_y`=-112.602,`position_z`=262.188,`MovementType`=2 WHERE `guid`=125915;
|
||||
UPDATE `creature` SET `position_x`=211.024,`position_y`=-100.299,`position_z`=266.201,`MovementType`=2 WHERE `guid`=125920;
|
||||
UPDATE `creature` SET `position_x`=213.777,`position_y`=-140.709,`position_z`=251.048,`MovementType`=2 WHERE `guid`=125922;
|
||||
UPDATE `creature` SET `position_x`=252.247,`position_y`=-350.532,`position_z`=185.813,`MovementType`=2 WHERE `guid`=125934;
|
||||
UPDATE `creature` SET `position_x`=243.964,`position_y`=-194.833,`position_z`=227.126,`MovementType`=2 WHERE `guid`=125936;
|
||||
UPDATE `creature` SET `position_x`=221.534,`position_y`=-239.809,`position_z`=196.459,`MovementType`=2 WHERE `guid`=125937;
|
||||
UPDATE `creature` SET `position_x`=238.382,`position_y`=-353.086,`position_z`=188.785,`MovementType`=2 WHERE `guid`=125940;
|
||||
|
||||
-- Waypoint assignments
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (125940,125934,125915,125920,125914,125936,125937,125922);
|
||||
INSERT INTO `creature_addon`(`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`auras`) VALUES
|
||||
(125914,1259140,22657,50331648,1,'54775'),
|
||||
(125915,1259150,22657,50331648,1,'54775'),
|
||||
(125920,1259200,22657,50331648,1,'54775'),
|
||||
(125922,1259220,22657,50331648,1,'54775'),
|
||||
(125934,1259340,22657,50331648,1,'54775'),
|
||||
(125936,1259360,22657,50331648,1,'54775'),
|
||||
(125937,1259370,22657,50331648,1,'54775'),
|
||||
(125940,1259400,22657,50331648,1,'54775');
|
||||
|
||||
-- Waypoint data
|
||||
DELETE FROM `waypoint_data` WHERE `id` IN (1259400,1259340,1259150,1259200,1259140,1259360,1259370,1259220);
|
||||
INSERT INTO `waypoint_data`(`id`,`point`,`position_x`,`position_y`,`position_z`) VALUES
|
||||
(1259400,1,211.864,-352.629,196.144),
|
||||
(1259340,1,271.911,-318.506,185.049),
|
||||
(1259150,1,265.478,-199.246,186.812),
|
||||
(1259200,1,346.765,-99.2527,220.519),
|
||||
(1259140,1,295.597,-181.162,207.374),
|
||||
(1259360,1,271.68,-194.911,220.248),
|
||||
(1259370,1,238.947,-255.704,191.639),
|
||||
(1259220,1,149.42,-247.696,194.145);
|
||||
|
||||
INSERT INTO `waypoint_data`(`id`,`point`,`position_x`,`position_y`,`position_z`)
|
||||
SELECT `guid`*10,2,`position_x`,`position_y`,`position_z` FROM `creature` WHERE `guid` IN (125940,125934,125915,125920,125914,125936,125937,125922);
|
||||
@@ -0,0 +1,32 @@
|
||||
-- Quest: I was a lot of things
|
||||
UPDATE `creature_template` SET `AIName`='',`ScriptName`='npc_shadowmoon_tuber_node',`flags_extra`=`flags_extra`|128 WHERE `entry`=21347;
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=36652;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`Comment`) VALUES
|
||||
(13,1,36652,31,3,21347,'Tuber Whistle targets Shadowmoon Valley Tuber Node');
|
||||
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=21195;
|
||||
DELETE FROM `creature_ai_scripts` WHERE `creature_id`=21195;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=21195 AND `source_type`=0;
|
||||
INSERT INTO `smart_scripts`(`entryorguid`,`id`,`link`,`event_type`,`event_param2`,`action_type`,`action_param1`,`action_param2`,`target_type`,`target_param1`,`target_param2`,`comment`) VALUES
|
||||
(21195,1,0,34,1,24,0,0, 1, 0,0, 'Domesticated Felboar - Movementinform - Evade (Required for core script npc_shadowmoon_tuber_node)'),
|
||||
(21195,2,0,34,1,45,1,1,11,21347,5, 'Domesticated Felboar - Movementinform - Set data (Required for core script npc_shadowmoon_tuber_node)');
|
||||
|
||||
SET @TRIGGER_GUID = 77821; -- 10
|
||||
SET @BOAR_GUID = 77832; -- 8
|
||||
|
||||
DELETE FROM `creature` WHERE `id`=21347 OR `guid` BETWEEN @TRIGGER_GUID AND @TRIGGER_GUID + 9;
|
||||
SET @TRIGGER_GUID = @TRIGGER_GUID - 1;
|
||||
INSERT INTO `creature`(`guid`,`id`,`map`,`phaseMask`,`position_x`,`position_y`,`position_z`)
|
||||
SELECT (SELECT @TRIGGER_GUID:=@TRIGGER_GUID+1),21347,`map`,3,`position_x`,`position_y`,`position_z` FROM `gameobject` WHERE `id`=184701 LIMIT 10;
|
||||
|
||||
DELETE FROM `creature` WHERE (`id`=21195 AND `map`=530) OR `guid` BETWEEN @BOAR_GUID AND @BOAR_GUID + 7;
|
||||
INSERT INTO `creature`(`guid`,`id`,`map`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`curhealth`,`MovementType`) VALUES
|
||||
(@BOAR_GUID ,21195,530,-2506.78,1190.22,55.9496,4.15084,300,5,6116,1),
|
||||
(@BOAR_GUID+1,21195,530,-2486.92,1326.49,64.4239,5.31872,300,5,6116,1),
|
||||
(@BOAR_GUID+2,21195,530,-2476.05,1284.68,48.0809,1.20087,300,5,5914,1),
|
||||
(@BOAR_GUID+3,21195,530,-2476.74,1228.44,40.4087,3.72907,300,5,5914,1),
|
||||
(@BOAR_GUID+4,21195,530,-2549.03,1162.94,78.8947,1.48754,300,5,6116,1),
|
||||
(@BOAR_GUID+5,21195,530,-2553.91,1186.80,78.5604,1.17575,300,5,6116,1),
|
||||
(@BOAR_GUID+6,21195,530,-2694.88,1495.00,19.2922,2.33106,300,5,5914,1),
|
||||
(@BOAR_GUID+7,21195,530,-2706.26,1538.41,16.6343,1.96146,300,5,5914,1);
|
||||
2
sql/updates/world/2012_09_22_03_world_game_event.sql
Normal file
2
sql/updates/world/2012_09_22_03_world_game_event.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Brewfest (372) duration fix by nelegalno
|
||||
UPDATE `game_event` SET `length` = 21600 WHERE `eventEntry` = 24;
|
||||
Reference in New Issue
Block a user