mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Merge branch 'master' of https://github.com/TrinityCore/TrinityCore into 4.3.4
This commit is contained in:
19
.travis.yml
19
.travis.yml
@@ -2,6 +2,9 @@ language: cpp
|
||||
compiler:
|
||||
- clang
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
before_install:
|
||||
- echo "yes" | sudo add-apt-repository ppa:kalakris/cmake
|
||||
- echo "yes" | sudo add-apt-repository ppa:boost-latest/ppa
|
||||
@@ -11,11 +14,19 @@ before_install:
|
||||
- sudo apt-get -qq install libssl-dev libmysqlclient15-dev libmysql++-dev libreadline6-dev zlib1g-dev libbz2-dev
|
||||
- sudo apt-get -qq install libboost1.55-dev libboost-thread1.55-dev libboost-system1.55-dev libboost-program-options1.55-dev
|
||||
|
||||
script:
|
||||
install:
|
||||
- mysql -uroot -e 'create database test_mysql;'
|
||||
- mkdir bin
|
||||
- cd bin
|
||||
- cmake ../ -DWITH_WARNINGS=1 -DWITH_COREDEBUG=1 -DUSE_COREPCH=0 -DUSE_SCRIPTPCH=0 -DTOOLS=1 -DSCRIPTS=1 -DSERVERS=1 -DCMAKE_BUILD_TYPE=Release
|
||||
- make -j 8
|
||||
|
||||
git:
|
||||
depth: 1
|
||||
script:
|
||||
- cd ..
|
||||
- mysql -uroot < sql/create/create_mysql.sql
|
||||
- mysql -uroot auth < sql/base/auth_database.sql
|
||||
- mysql -uroot characters < sql/base/characters_database.sql
|
||||
- mysql -uroot world < sql/base/world_database.sql
|
||||
- for file in sql/updates/world/*.sql; do mysql -uroot world < $file; done
|
||||
- mysql -uroot < sql/create/drop_mysql.sql
|
||||
- cd bin
|
||||
- make -j 8
|
||||
|
||||
3662
sql/base/world_database.sql
Normal file
3662
sql/base/world_database.sql
Normal file
File diff suppressed because it is too large
Load Diff
25
sql/updates/world/2014_07_27_04_world_sai.sql
Normal file
25
sql/updates/world/2014_07_27_04_world_sai.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=4721;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=4721 AND `source_type`=0;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=472100 AND `source_type`=9;
|
||||
|
||||
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
|
||||
(4721, 0, 0, 0,68, 0, 100, 0, 25, 0, 0, 0, 53, 0, 4721, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - On Event Start - Start WP'),
|
||||
(4721, 0, 1, 2,40, 0, 100, 0, 1, 4721, 0, 0, 54, 25000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - On Reached WP1 - Pause WP'),
|
||||
(4721, 0, 2, 3,61, 0, 100, 0, 0, 0, 0, 0, 80, 472100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Run Script'),
|
||||
(4721, 0, 3, 0,61, 0, 100, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Set Phase 2'),
|
||||
(4721, 0, 4, 5,40, 0, 100, 0, 2, 4721, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 4.74729, 'Zangen Stonehoof - On Reached WP2 - Set Orientation'),
|
||||
(4721, 0, 5, 0,61, 0, 100, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Linked with Previous Event - Set Phase 1'),
|
||||
(4721, 0, 6, 0,1, 2, 100, 0, 0, 0, 3125, 3125, 4, 6675, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - OOC (Phase 2) - Play Sound'),
|
||||
(472100, 9, 0, 0,0, 0, 100, 0, 7000, 7000, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Say'),
|
||||
(472100, 9, 1, 0,0, 0, 100, 0, 3000, 3000, 0, 0, 11, 21392, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Cast Fire Channeling'),
|
||||
(472100, 9, 2, 0,0, 0, 100, 0, 11000, 11000, 0, 0, 9, 0, 0, 0, 0, 0, 0, 14, 20556, 178571, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Activate Bonfire'),
|
||||
(472100, 9, 3, 0,0, 0, 100, 0, 1000, 1000, 0, 0, 28, 21392, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Zangen Stonehoof - Script - Remove Aura Fire Channeling');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=4721;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES
|
||||
(4721, 0, 0, 'The Earth Mother watch over us; under cover of the night as in the day. Let this fire illuminate both our bodies and spirits and remind us of our honored ancestors, who are ever present and guiding our way.', 12, 3, 100, 1, 0, 0, 'Zangen Stonehoof', 8677);
|
||||
|
||||
DELETE FROM `waypoints` WHERE `entry` =4721;
|
||||
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `point_comment`) VALUES
|
||||
(4721, 1, -1207.747, -59.47412, 158.3598, 'Zangen Stonehoof'),
|
||||
(4721, 2, -1207.755, -57.32731, 158.6144, 'Zangen Stonehoof');
|
||||
3
sql/updates/world/2014_07_27_05_world_sai.sql
Normal file
3
sql/updates/world/2014_07_27_05_world_sai.sql
Normal file
@@ -0,0 +1,3 @@
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=17240 AND `source_type`=0 AND `id`=2;
|
||||
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
|
||||
(17240, 0, 2, 0, 64, 0, 100, 0, 0, 0, 0, 0, 33, 17240, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Admiral Odesyus - On Gossip Hello - Quest Credit \'The Kessel Run\'');
|
||||
2
sql/updates/world/2014_07_28_00_world_creature.sql
Normal file
2
sql/updates/world/2014_07_28_00_world_creature.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
--
|
||||
UPDATE `creature` SET `position_x`=-9080.099, `position_y`=823.0909, `position_z`=108.5025, `orientation`=0.5585054 WHERE `id`=1141;
|
||||
258
sql/updates/world/2014_07_28_01_world_misc.sql
Normal file
258
sql/updates/world/2014_07_28_01_world_misc.sql
Normal file
@@ -0,0 +1,258 @@
|
||||
-- Kil'sorrow Spellbinder SAI
|
||||
SET @ENTRY := 17146;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,34447,64,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - In Combat CMC - Cast 'Arcane Missiles'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,3000,6000,20000,25000,11,22744,0,0,0,0,0,5,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - In Combat - Cast 'Chains of Ice'"),
|
||||
(@ENTRY,0,2,0,13,0,90,0,25000,25000,0,0,11,31999,0,0,0,0,0,7,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - Target Casting - Cast 'Counterspell'"),
|
||||
(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Spellbinder - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
-- Kil'sorrow Cultist SAI
|
||||
SET @ENTRY := -28654;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Kil'sorrow Cultist SAI
|
||||
SET @ENTRY := -28655;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Kil'sorrow Cultist SAI
|
||||
SET @ENTRY := -28656;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Kil'sorrow Cultist SAI
|
||||
SET @ENTRY := -28657;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,1,1000,1000,1000,1000,11,31902,0,0,0,0,0,1,0,0,0,0,0,0,0,"Kil'sorrow Cultist - Reset - Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,1,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Kil'sorrow Cultist SAI
|
||||
SET @ENTRY := 17147;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,85,0,4500,4500,7000,11000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Kil'sorrow Cultist - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Kil'sorrow Cultist fix up addons
|
||||
DELETE FROM `creature_addon` WHERE `guid` IN (28654,28655,28656,28657,60213,60215,60221);
|
||||
DELETE FROM `creature_template_addon` WHERE `entry`=17147;
|
||||
INSERT INTO `creature_template_addon` (`entry`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`auras`)VALUES (17147,0,0,0,1,0, '16592');
|
||||
|
||||
-- Add spell condition for Purple Beam
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry`=31902;
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(13, 1, 31902, 0, 0, 31, 0, 3, 19656, 0, 0, 0, 0, '', 'Purple Beam Targets Invisible Location Trigger');
|
||||
|
||||
-- Add Missing Kil'sorrow Spellbinder & Cultist Spawns
|
||||
SET @CGUID := 213225;
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+9;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@CGUID+0, 17147, 530, 1, 1, 1, -2966.403, 6452.863, 84.96134, 6.021386, 120, 0, 0),
|
||||
(@CGUID+1, 17146, 530, 1, 1, 1, -2966.403, 6450.863, 84.96134, 6.021386, 120, 0, 0),
|
||||
(@CGUID+2, 17147, 530, 1, 1, 1, -2884.375, 6580.407, 49.82686, 4.698485, 120, 0, 0),
|
||||
(@CGUID+3, 17146, 530, 1, 1, 1, -2886.375, 6580.407, 49.82686, 4.698485, 120, 0, 0),
|
||||
(@CGUID+4, 17147, 530, 1, 1, 1, -2794.054, 6424.335, 62.25868, 4.572828, 120, 0, 0),
|
||||
(@CGUID+5, 17146, 530, 1, 1, 1, -2796.054, 6424.335, 62.25868, 4.572828, 120, 0, 0),
|
||||
(@CGUID+6, 17147, 530, 1, 1, 1, -2857.618, 6466.858, 82.75233, 4.788821, 120, 0, 0),
|
||||
(@CGUID+7, 17146, 530, 1, 1, 1, -2858.218, 6466.858, 82.75233, 4.788821, 120, 0, 0),
|
||||
(@CGUID+8, 17147, 530, 1, 1, 1, -2934.352, 6331.253, 88.43297, 1.203481, 120, 0, 0),
|
||||
(@CGUID+9, 17146, 530, 1, 1, 1, -2932.352, 6330.253, 88.43297, 1.203481, 120, 0, 0);
|
||||
|
||||
-- Kil'sorrow Spellbinder / Cultist Formations
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (213226,213228,213230,213232,213234);
|
||||
INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES
|
||||
(213226,213226,0,0,2),(213226,213225,2,270,2),
|
||||
(213228,213228,0,0,2),(213228,213227,2,270,2),
|
||||
(213230,213230,0,0,2),(213230,213229,2,270,2),
|
||||
(213232,213232,0,0,2),(213232,213231,2,270,2),
|
||||
(213234,213234,0,0,2),(213234,213233,2,270,2);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 213226;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2966.403,`position_y`=6450.863,`position_z`=84.96134 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2966.403,6450.863,84.96134,0,0,0,0,100,0),
|
||||
(@PATH,2,-2951.366,6451.252,84.06266,0,0,0,0,100,0),
|
||||
(@PATH,3,-2947.001,6458.422,83.78898,0,0,0,0,100,0),
|
||||
(@PATH,4,-2933.374,6459.891,82.71134,0,0,0,0,100,0),
|
||||
(@PATH,5,-2928.819,6466.733,82.45881,0,0,0,0,100,0),
|
||||
(@PATH,6,-2933.261,6499.875,81.98237,0,0,0,0,100,0),
|
||||
(@PATH,7,-2932.741,6517.529,76.60457,0,0,0,0,100,0),
|
||||
(@PATH,8,-2924.629,6533.378,69.05309,0,0,0,0,100,0),
|
||||
(@PATH,9,-2899.833,6556.306,55.69653,0,0,0,0,100,0),
|
||||
(@PATH,10,-2878.803,6570.991,49.01436,0,0,0,0,100,0),
|
||||
(@PATH,11,-2855.887,6555.953,40.81544,0,0,0,0,100,0),
|
||||
(@PATH,12,-2878.803,6570.991,49.01436,0,0,0,0,100,0),
|
||||
(@PATH,13,-2899.833,6556.306,55.69653,0,0,0,0,100,0),
|
||||
(@PATH,14,-2924.472,6533.658,69.22276,0,0,0,0,100,0),
|
||||
(@PATH,15,-2932.741,6517.529,76.60457,0,0,0,0,100,0),
|
||||
(@PATH,16,-2933.261,6499.875,81.98237,0,0,0,0,100,0),
|
||||
(@PATH,17,-2928.819,6466.733,82.45881,0,0,0,0,100,0),
|
||||
(@PATH,18,-2933.374,6459.891,82.71134,0,0,0,0,100,0),
|
||||
(@PATH,19,-2947.001,6458.422,83.78898,0,0,0,0,100,0),
|
||||
(@PATH,20,-2951.366,6451.252,84.06266,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 213228;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2886.375,`position_y`=6580.407,`position_z`=49.82686 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2886.375,6580.407,49.82686,0,0,0,0,100,0),
|
||||
(@PATH,2,-2889.297,6558.6,52.20752,0,0,0,0,100,0),
|
||||
(@PATH,3,-2875.24,6533.176,54.37968,0,0,0,0,100,0),
|
||||
(@PATH,4,-2866.895,6523.676,56.61101,0,0,0,0,100,0),
|
||||
(@PATH,5,-2845.4,6500.211,62.02013,0,0,0,0,100,0),
|
||||
(@PATH,6,-2833.535,6486.23,62.87733,0,0,0,0,100,0),
|
||||
(@PATH,7,-2822.089,6466.063,63.05643,0,0,0,0,100,0),
|
||||
(@PATH,8,-2813.894,6437.624,63.46805,0,0,0,0,100,0),
|
||||
(@PATH,9,-2800.375,6432.741,62.70899,0,0,0,0,100,0),
|
||||
(@PATH,10,-2782.428,6431.978,61.04139,0,0,0,0,100,0),
|
||||
(@PATH,11,-2800.375,6432.741,62.70899,0,0,0,0,100,0),
|
||||
(@PATH,12,-2813.894,6437.624,63.46805,0,0,0,0,100,0),
|
||||
(@PATH,13,-2822.089,6466.063,63.05643,0,0,0,0,100,0),
|
||||
(@PATH,14,-2833.535,6486.23,62.87733,0,0,0,0,100,0),
|
||||
(@PATH,15,-2845.4,6500.211,62.02013,0,0,0,0,100,0),
|
||||
(@PATH,16,-2866.895,6523.676,56.61101,0,0,0,0,100,0),
|
||||
(@PATH,17,-2875.24,6533.176,54.37968,0,0,0,0,100,0),
|
||||
(@PATH,18,-2889.303,6558.567,52.30542,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 213230;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2796.054,`position_y`=6424.335,`position_z`=62.25868 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2796.054,6424.335,62.25868,0,0,0,0,100,0),
|
||||
(@PATH,2,-2800.321,6399.666,62.34266,0,0,0,0,100,0),
|
||||
(@PATH,3,-2799.676,6388.983,63.19019,0,0,0,0,100,0),
|
||||
(@PATH,4,-2792.213,6366.481,63.53901,0,0,0,0,100,0),
|
||||
(@PATH,5,-2800.327,6352.1,63.54148,0,0,0,0,100,0),
|
||||
(@PATH,6,-2811.064,6333.319,63.71547,0,0,0,0,100,0),
|
||||
(@PATH,7,-2820.251,6313.478,63.65468,0,0,0,0,100,0),
|
||||
(@PATH,8,-2833.449,6304.563,65.49826,0,0,0,0,100,0),
|
||||
(@PATH,9,-2867.439,6307.764,77.54279,0,0,0,0,100,0),
|
||||
(@PATH,10,-2878.416,6326.375,83.02692,0,0,0,0,100,0),
|
||||
(@PATH,11,-2867.439,6307.764,77.54279,0,0,0,0,100,0),
|
||||
(@PATH,12,-2833.449,6304.563,65.49826,0,0,0,0,100,0),
|
||||
(@PATH,13,-2820.251,6313.478,63.65468,0,0,0,0,100,0),
|
||||
(@PATH,14,-2811.064,6333.319,63.71547,0,0,0,0,100,0),
|
||||
(@PATH,15,-2800.327,6352.1,63.54148,0,0,0,0,100,0),
|
||||
(@PATH,16,-2792.213,6366.481,63.53901,0,0,0,0,100,0),
|
||||
(@PATH,17,-2799.676,6388.983,63.19019,0,0,0,0,100,0),
|
||||
(@PATH,18,-2800.321,6399.666,62.34266,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 213232;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2858.218,`position_y`=6466.858,`position_z`=82.75233 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2858.218,6466.858,82.75233,0,0,0,0,100,0),
|
||||
(@PATH,2,-2857.816,6444.058,82.75547,0,0,0,0,100,0),
|
||||
(@PATH,3,-2866.552,6441.649,82.75547,0,0,0,0,100,0),
|
||||
(@PATH,4,-2879.884,6432.936,82.39103,0,0,0,0,100,0),
|
||||
(@PATH,5,-2899.292,6416.391,82.04545,0,0,0,0,100,0),
|
||||
(@PATH,6,-2913.055,6413.213,82.4074,0,0,0,0,100,0),
|
||||
(@PATH,7,-2923.442,6433.533,82.46134,0,0,0,0,100,0),
|
||||
(@PATH,8,-2929.056,6459.67,82.58634,0,0,0,0,100,0),
|
||||
(@PATH,9,-2943.927,6460.137,83.43241,0,0,0,0,100,0),
|
||||
(@PATH,10,-2947.446,6466.739,84.1551,0,0,0,0,100,0),
|
||||
(@PATH,11,-2972.279,6499.877,91.33967,0,0,0,0,100,0),
|
||||
(@PATH,12,-2982.886,6518.872,96.93003,0,0,0,0,100,0),
|
||||
(@PATH,13,-2981.053,6533.41,97.79256,0,0,0,0,100,0),
|
||||
(@PATH,14,-2989.642,6543.227,97.79256,0,0,0,0,100,0),
|
||||
(@PATH,15,-2999.918,6546.718,97.91756,0,0,0,0,100,0),
|
||||
(@PATH,16,-2989.642,6543.227,97.79256,0,0,0,0,100,0),
|
||||
(@PATH,17,-2981.053,6533.41,97.79256,0,0,0,0,100,0),
|
||||
(@PATH,18,-2982.886,6518.872,96.93003,0,0,0,0,100,0),
|
||||
(@PATH,19,-2972.279,6499.877,91.33967,0,0,0,0,100,0),
|
||||
(@PATH,20,-2947.446,6466.739,84.1551,0,0,0,0,100,0),
|
||||
(@PATH,21,-2943.927,6460.137,83.43241,0,0,0,0,100,0),
|
||||
(@PATH,22,-2929.056,6459.67,82.58634,0,0,0,0,100,0),
|
||||
(@PATH,23,-2923.442,6433.533,82.46134,0,0,0,0,100,0),
|
||||
(@PATH,24,-2913.055,6413.213,82.4074,0,0,0,0,100,0),
|
||||
(@PATH,25,-2899.292,6416.391,82.04545,0,0,0,0,100,0),
|
||||
(@PATH,26,-2879.884,6432.936,82.39103,0,0,0,0,100,0),
|
||||
(@PATH,27,-2866.552,6441.649,82.75547,0,0,0,0,100,0),
|
||||
(@PATH,28,-2857.816,6444.058,82.75547,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 213234;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2932.352,`position_y`=6330.253,`position_z`=88.43297 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2932.352,6330.253,88.43297,0,0,0,0,100,0),
|
||||
(@PATH,2,-2923.53,6348.927,88.30698,0,0,0,0,100,0),
|
||||
(@PATH,3,-2911.74,6366.638,86.12277,0,0,0,0,100,0),
|
||||
(@PATH,4,-2911.893,6383.025,84.73821,0,0,0,0,100,0),
|
||||
(@PATH,5,-2900.083,6384.457,82.65923,0,0,0,0,100,0),
|
||||
(@PATH,6,-2866.759,6392.461,80.9828,0,0,0,0,100,0),
|
||||
(@PATH,7,-2853.948,6386.78,79.65498,0,0,0,0,100,0),
|
||||
(@PATH,8,-2842.023,6385.775,79.38105,0,0,0,0,100,0),
|
||||
(@PATH,9,-2857.746,6387.74,80.24799,0,0,0,0,100,0),
|
||||
(@PATH,10,-2857.456,6398.598,79.31879,0,0,0,0,100,0),
|
||||
(@PATH,11,-2834.581,6418.426,71.13242,0,0,0,0,100,0),
|
||||
(@PATH,12,-2819.072,6434.312,64.01407,0,0,0,0,100,0),
|
||||
(@PATH,13,-2834.581,6418.426,71.13242,0,0,0,0,100,0),
|
||||
(@PATH,14,-2857.456,6398.598,79.31879,0,0,0,0,100,0),
|
||||
(@PATH,15,-2857.746,6387.74,80.24799,0,0,0,0,100,0),
|
||||
(@PATH,16,-2842.023,6385.775,79.38105,0,0,0,0,100,0),
|
||||
(@PATH,17,-2853.948,6386.78,79.65498,0,0,0,0,100,0),
|
||||
(@PATH,18,-2866.759,6392.461,80.9828,0,0,0,0,100,0),
|
||||
(@PATH,19,-2900.083,6384.457,82.65923,0,0,0,0,100,0),
|
||||
(@PATH,20,-2911.893,6383.025,84.73821,0,0,0,0,100,0),
|
||||
(@PATH,21,-2911.74,6366.638,86.12277,0,0,0,0,100,0),
|
||||
(@PATH,22,-2923.53,6348.927,88.30698,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Kil'sorrow Spellbinder Entry: 17146
|
||||
SET @NPC := 60206;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2937.746,`position_y`=6326.745,`position_z`=89.08513 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2937.746,6326.745,89.08513,0,0,0,0,100,0),
|
||||
(@PATH,2,-2935.963,6330.98,88.382,0,0,0,0,100,0),
|
||||
(@PATH,3,-2939.063,6332.813,88.37883,0,17000,0,476,100,0),
|
||||
(@PATH,4,-2945.232,6323.478,89.62395,0,0,0,21,100,0),
|
||||
(@PATH,5,-2959.155,6319.953,88.50652,0,0,0,0,100,0),
|
||||
(@PATH,6,-2967.078,6318.835,87.68221,0,0,0,0,100,0),
|
||||
(@PATH,7,-2968.813,6321.961,88.57487,0,20000,0,476,100,0),
|
||||
(@PATH,8,-2960.756,6319.746,88.10429,0,0,0,21,100,0),
|
||||
(@PATH,9,-2960.143,6317.857,88.76093,0,2000,0,0,100,0),
|
||||
(@PATH,10,-2960.174,6317.34,88.76093,0,5000,0,50,100,0),
|
||||
(@PATH,11,-2960.174,6317.34,88.76093,0,3000,0,12,100,0),
|
||||
(@PATH,12,-2946.525,6321.191,89.73332,0,0,0,0,100,0);
|
||||
|
||||
DELETE FROM `waypoint_scripts` WHERE `id`=21;
|
||||
INSERT INTO `waypoint_scripts` (`id`,`delay`,`command`,`datalong`,`datalong2`,`dataint`,`x`,`y`,`z`,`o`,`guid`) VALUES
|
||||
(21,0,1,0,1,0,0,0,0,0,21);
|
||||
89
sql/updates/world/2014_07_28_02_world_misc.sql
Normal file
89
sql/updates/world/2014_07_28_02_world_misc.sql
Normal file
@@ -0,0 +1,89 @@
|
||||
-- Pathing for Murkblood Invader Entry: 18238
|
||||
SET @NPC := 65511;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-975.0311,`position_y`=8003.268,`position_z`=24.70724 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,17891, '');
|
||||
UPDATE `creature` SET `position_x`=-967.0311,`position_y`=8010.268,`position_z`=25.46785,`orientation`=3.095328 WHERE `guid`=65510;
|
||||
UPDATE `creature` SET `position_x`=-959.0311,`position_y`=8016.268,`position_z`=26.73114,`orientation`=3.095328 WHERE `guid`=65509;
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID`=65511;
|
||||
INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES
|
||||
(65511,65511,0,0,2),(65511,65510,10,0,2),(65511,65509,20,0,2);
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-975.0311,8003.268,24.70724,0,0,0,0,100,0),
|
||||
(@PATH,2,-997.3242,7988.124,23.90081,0,0,0,0,100,0),
|
||||
(@PATH,3,-1024.918,7967.106,22.78156,0,0,0,0,100,0),
|
||||
(@PATH,4,-1048.562,7947.569,21.29751,0,0,0,0,100,0),
|
||||
(@PATH,5,-1066.489,7937.455,20.27663,0,0,0,0,100,0),
|
||||
(@PATH,6,-1088.943,7921.778,18.32084,0,0,0,0,100,0),
|
||||
(@PATH,7,-1102.926,7906.132,16.31742,0,0,0,0,100,0),
|
||||
(@PATH,8,-1114.524,7884.297,15.90722,0,0,0,0,100,0),
|
||||
(@PATH,9,-1123.868,7866.92,15.65722,0,0,0,0,100,0),
|
||||
(@PATH,10,-1136.17,7848.297,14.90967,0,0,0,0,100,0),
|
||||
(@PATH,11,-1151.416,7823.156,13.6708,0,0,0,0,100,0),
|
||||
(@PATH,12,-1154.832,7816.532,13.38034,0,0,0,0,100,0),
|
||||
(@PATH,13,-1166.244,7797.691,11.91216,0,0,0,0,100,0),
|
||||
(@PATH,14,-1169.851,7792.627,12.57034,0,0,0,0,100,0),
|
||||
(@PATH,15,-1180.903,7774.724,12.0325,0,0,0,0,100,0),
|
||||
(@PATH,16,-1186.413,7751.253,11.90193,0,0,0,0,100,0),
|
||||
(@PATH,17,-1216.748,7712.277,10.70068,0,0,0,0,100,0),
|
||||
(@PATH,18,-1241.251,7681.352,9.454306,0,0,0,0,100,0),
|
||||
(@PATH,19,-1216.748,7712.277,10.70068,0,0,0,0,100,0),
|
||||
(@PATH,20,-1186.413,7751.253,11.90193,0,0,0,0,100,0),
|
||||
(@PATH,21,-1180.903,7774.724,12.0325,0,0,0,0,100,0),
|
||||
(@PATH,22,-1169.851,7792.627,12.57034,0,0,0,0,100,0),
|
||||
(@PATH,23,-1166.244,7797.691,11.91216,0,0,0,0,100,0),
|
||||
(@PATH,24,-1154.972,7816.302,13.51729,0,0,0,0,100,0),
|
||||
(@PATH,25,-1151.416,7823.156,13.6708,0,0,0,0,100,0),
|
||||
(@PATH,26,-1136.17,7848.297,14.90967,0,0,0,0,100,0),
|
||||
(@PATH,27,-1123.868,7866.92,15.65722,0,0,0,0,100,0),
|
||||
(@PATH,28,-1114.524,7884.297,15.90722,0,0,0,0,100,0),
|
||||
(@PATH,29,-1102.926,7906.132,16.31742,0,0,0,0,100,0),
|
||||
(@PATH,30,-1088.943,7921.778,18.32084,0,0,0,0,100,0),
|
||||
(@PATH,31,-1066.489,7937.455,20.27663,0,0,0,0,100,0),
|
||||
(@PATH,32,-1048.562,7947.569,21.29751,0,0,0,0,100,0),
|
||||
(@PATH,33,-1024.918,7967.106,22.78156,0,0,0,0,100,0),
|
||||
(@PATH,34,-997.3242,7988.124,23.90081,0,0,0,0,100,0),
|
||||
(@PATH,35,-975.0311,8003.268,24.70724,0,0,0,0,100,0),
|
||||
(@PATH,36,-950.7655,8028.221,26.45019,0,0,0,0,100,0),
|
||||
(@PATH,37,-927.2802,8053.072,23.7813,0,0,0,0,100,0),
|
||||
(@PATH,38,-923.4583,8083.05,20.75642,0,0,0,0,100,0),
|
||||
(@PATH,39,-942.1875,8120.313,15.28892,0,0,0,0,100,0),
|
||||
(@PATH,40,-941.4887,8118.656,15.8869,0,0,0,0,100,0),
|
||||
(@PATH,41,-960.761,8156.537,10.70663,0,0,0,0,100,0),
|
||||
(@PATH,42,-967.709,8169.791,14.39479,0,0,0,0,100,0),
|
||||
(@PATH,43,-972.3214,8185.858,15.8854,0,0,0,0,100,0),
|
||||
(@PATH,44,-972.4633,8204.367,16.85678,0,0,0,0,100,0),
|
||||
(@PATH,45,-969.6346,8233.534,18.45239,0,0,0,0,100,0),
|
||||
(@PATH,46,-963.277,8258.822,19.3653,0,0,0,0,100,0),
|
||||
(@PATH,47,-952.5289,8277.955,19.9442,0,0,0,0,100,0),
|
||||
(@PATH,48,-941.4935,8296.437,21.77709,0,0,0,0,100,0),
|
||||
(@PATH,49,-927.161,8313.917,23.47841,0,0,0,0,100,0),
|
||||
(@PATH,50,-904.2444,8338.236,24.87936,0,0,0,0,100,0),
|
||||
(@PATH,51,-875.242,8346.935,27.22016,0,0,0,0,100,0),
|
||||
(@PATH,52,-845.6073,8354.45,29.7155,0,0,0,0,100,0),
|
||||
(@PATH,53,-821.9045,8365.908,31.60839,0,0,0,0,100,0),
|
||||
(@PATH,54,-797.6428,8377.114,32.67945,0,0,0,0,100,0),
|
||||
(@PATH,55,-774.5784,8385.888,33.82203,0,0,0,0,100,0),
|
||||
(@PATH,56,-754.1369,8393.085,33.83342,0,0,0,0,100,0),
|
||||
(@PATH,57,-774.5784,8385.888,33.82203,0,0,0,0,100,0),
|
||||
(@PATH,58,-797.6428,8377.114,32.67945,0,0,0,0,100,0),
|
||||
(@PATH,59,-821.9045,8365.908,31.60839,0,0,0,0,100,0),
|
||||
(@PATH,60,-845.3145,8354.584,29.7509,0,0,0,0,100,0),
|
||||
(@PATH,61,-875.242,8346.935,27.22016,0,0,0,0,100,0),
|
||||
(@PATH,62,-904.2444,8338.236,24.87936,0,0,0,0,100,0),
|
||||
(@PATH,63,-927.161,8313.917,23.47841,0,0,0,0,100,0),
|
||||
(@PATH,64,-941.4935,8296.437,21.77709,0,0,0,0,100,0),
|
||||
(@PATH,65,-952.5289,8277.955,19.9442,0,0,0,0,100,0),
|
||||
(@PATH,66,-963.277,8258.822,19.3653,0,0,0,0,100,0),
|
||||
(@PATH,67,-969.6346,8233.534,18.45239,0,0,0,0,100,0),
|
||||
(@PATH,68,-972.4633,8204.367,16.85678,0,0,0,0,100,0),
|
||||
(@PATH,69,-972.3214,8185.858,15.8854,0,0,0,0,100,0),
|
||||
(@PATH,70,-966.993,8169.693,14.49245,0,0,0,0,100,0),
|
||||
(@PATH,71,-960.761,8156.537,10.70663,0,0,0,0,100,0),
|
||||
(@PATH,72,-941.4887,8118.656,15.8869,0,0,0,0,100,0),
|
||||
(@PATH,73,-942.1875,8120.313,15.28892,0,0,0,0,100,0),
|
||||
(@PATH,74,-923.4583,8083.05,20.75642,0,0,0,0,100,0),
|
||||
(@PATH,75,-927.2802,8053.072,23.7813,0,0,0,0,100,0),
|
||||
(@PATH,76,-950.7655,8028.221,26.45019,0,0,0,0,100,0);
|
||||
77
sql/updates/world/2014_07_28_03_world_sai.sql
Normal file
77
sql/updates/world/2014_07_28_03_world_sai.sql
Normal file
@@ -0,0 +1,77 @@
|
||||
|
||||
|
||||
-- Quest 9667 "Saving Princess Stillpine" 24099
|
||||
-- Princess Stillpine Cage SAI
|
||||
SET @ENTRY := 181928; -- GO entry
|
||||
SET @ENTRY2 := 17682; -- NPC entry
|
||||
|
||||
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI',`ScriptName`='' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY*100;
|
||||
|
||||
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
|
||||
(@ENTRY,1,0,1,70,0,100,0,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Princess Stillpine Cage - On StateChange 0 - Store target'),
|
||||
(@ENTRY,1,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,@ENTRY2,0,0,0,0,0,0, 'Princess Stillpine Cage - On StateChange 0 - Send target'),
|
||||
(@ENTRY,1,2,3,61,0,100,0,0,0,0,0,45,0,1,0,0,0,0,19,@ENTRY2,0,0,0,0,0,0,'Princess Stillpine Cage - On StateChange 0 - Set data 0 1 for entry 17682'),
|
||||
(@ENTRY,1,3,0,61,0,100,0,0,0,0,0,80,@ENTRY*100,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine Cage - Run Script - Quest credit'),
|
||||
(@ENTRY*100,9,0,0,0,0,100,0,5000,5000,0,0,32,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine Cage - Script - Reset GO');
|
||||
|
||||
-- Princess Stillpine SAI
|
||||
SET @SPELL := 31003; -- Opening Princess Stillpine's Cage
|
||||
UPDATE `creature` SET `spawntimesecs`=120 WHERE `guid`=63442;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI',`ScriptName`='' WHERE `entry`=@ENTRY2;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY2;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=9 AND `entryorguid`=@ENTRY2*100;
|
||||
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
|
||||
(@ENTRY2,0,0,1,38,0,100,0,0,1,0,0,80,@ENTRY2*100,2,0,0,0,0,1,0,0,0,0,0,0,0, 'Princess Stillpine - On dataset - run script'),
|
||||
(@ENTRY2,0,1,0,61,0,100,0,0,0,0,0,33,@ENTRY2,0,0,0,0,0,12,1,0,0,0,0,0,0, 'Princess Stillpine - On dataset - run script'),
|
||||
(@ENTRY2,0,2,0,25,0,100,0,0,0,0,0,82,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - On reset - add questgiver flag'),
|
||||
(@ENTRY2,0,3,0,40,0,100,0,16,@ENTRY2,0,0,41,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - On Reached WP15 - Despawn'),
|
||||
(@ENTRY2*100,9,0,0,0,0,100,0,100,100,100,100,83,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - Script - Remove questgiver flag'),
|
||||
(@ENTRY2*100,9,1,0,0,0,100,0,2000,2000,2000,2000,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Princess Stillpine - Script - Say 0'),
|
||||
(@ENTRY2*100,9,2,0,0,0,100,0,3000,3000,3000,3000,53,1,@ENTRY2,0,0,0,0,1,0,0,0,0,0,0,0,'Princess Stillpine - Script - Load path');
|
||||
|
||||
-- Waypoints for Princess Stillpine (From sniff)
|
||||
DELETE FROM `waypoints` WHERE `entry`=@ENTRY2;
|
||||
INSERT INTO `waypoints` (`entry`,`pointid`,`position_x`,`position_y`,`position_z`,`point_comment`) VALUES
|
||||
|
||||
(@ENTRY2,1,-2548.469, -12304.25, 13.79256, 'Princess Stillpine'),
|
||||
(@ENTRY2,2,-2548.579, -12304.57, 13.88506, 'Princess Stillpine'),
|
||||
(@ENTRY2,3,-2550.079, -12304.57, 13.63506, 'Princess Stillpine'),
|
||||
(@ENTRY2,4,-2555.079, -12305.82, 13.13506, 'Princess Stillpine'),
|
||||
(@ENTRY2,5,-2564.135, -12308.1, 12.65816, 'Princess Stillpine'),
|
||||
(@ENTRY2,6,-2600.635, -12304.1, 11.90816, 'Princess Stillpine'),
|
||||
(@ENTRY2,7,-2600.886, -12303.71, 11.80368, 'Princess Stillpine'),
|
||||
(@ENTRY2,8,-2602.636, -12303.71, 11.55368, 'Princess Stillpine'),
|
||||
(@ENTRY2,9,-2612.636, -12299.71, 12.05368, 'Princess Stillpine'),
|
||||
(@ENTRY2,10,-2614.386, -12299.46, 12.55368, 'Princess Stillpine'),
|
||||
(@ENTRY2,11,-2617.386, -12298.21, 13.05368, 'Princess Stillpine'),
|
||||
(@ENTRY2,12,-2620.136, -12297.21, 13.55368, 'Princess Stillpine'),
|
||||
(@ENTRY2,13,-2626.813, -12294.75, 13.78559, 'Princess Stillpine'),
|
||||
(@ENTRY2,14,-2635.313, -12289.5, 13.03559, 'Princess Stillpine'),
|
||||
(@ENTRY2,15,-2647.063, -12282.5, 12.53559, 'Princess Stillpine'),
|
||||
(@ENTRY2,16,-2657.313, -12276.25, 12.03559, 'Princess Stillpine');
|
||||
|
||||
-- NPC talk text insert from sniff
|
||||
DELETE FROM `creature_text` WHERE `entry` IN(@ENTRY2,17702) AND `groupid`=0;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES
|
||||
(@ENTRY2,0,0, 'Thank you for saving me, $N! My father will be delighted!',12,0,100,0,0,0, 'Princess Stillpine',14323),
|
||||
(17702, 0, 0, 'Face the wrath of Bristlelimb!', 14, 0, 100, 0, 0, 0, 'High Chief Bristlelimb',14322);
|
||||
|
||||
UPDATE `creature_template` SET `ainame`='SmartAI', `scriptname`='' WHERE `entry` IN(17320,17321,17702);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN(17320,17321,17702) 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
|
||||
(17320,0,0,0,0,0,100,0,5000,15000,60000,75000,11,32968,0,0,0,0,0,1,0,0,0,0,0,0,0,'Bristlelimb Shaman - IC - Cast Scorching Totem'),
|
||||
(17320,0,1,0,0,0,100,0,0,3000,11000,15000,11,32967,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bristlelimb Shaman - IC - Cast Flame Shock'),
|
||||
(17320,0,2,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,84085,17702,0,0,0,0,0,'Bristlelimb Shaman - On Death - Set Data High Chief Bristlelimb'),
|
||||
(17321,0,0,0,9,0,100,0,0,5,3000,7000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,'Bristlelimb Warrior - IC - Cast Strike'),
|
||||
(17321,0,1,0,6,0,100,0,0,0,0,0,45,1,1,0,0,0,0,10,84085,17702,0,0,0,0,0,'Bristlelimb Warriot - On Death - Set Data High Chief Bristlelimb'),
|
||||
(17702,0,0,1,25,0,100,0,0,0,0,0,47,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Reset - Set Invisible'),
|
||||
(17702,0,1,0,61,0,100,0,0,0,0,0,18,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Reset - Set Unit Flags Immune to NPC/PC'),
|
||||
(17702,0,2,3,38,0,20,0,1,1,0,0,47,1,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data Set - Set Visible'),
|
||||
(17702,0,3,4,61,0,100,0,0,0,0,0,19,768,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data set - Remove Unit Flags Immune to NPC/PC'),
|
||||
(17702,0,4,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Data set - Say'),
|
||||
(17702,0,5,0,4,0,100,0,0,0,0,0,11,20753,0,0,0,0,0,1,0,0,0,0,0,0,0,'High Chief Bristlelimb - On Agro - Cast Demoralizing Roar'),
|
||||
(17702,0,6,0,9,0,100,0,0,5,3000,5000,11,15793,0,0,0,0,0,2,0,0,0,0,0,0,0,'High Chief Bristlelimb - IC - Cast Maul');
|
||||
1226
sql/updates/world/2014_07_28_04_world_waypoints.sql
Normal file
1226
sql/updates/world/2014_07_28_04_world_waypoints.sql
Normal file
File diff suppressed because it is too large
Load Diff
1
sql/updates/world/2014_07_28_05_world_misc.sql
Normal file
1
sql/updates/world/2014_07_28_05_world_misc.sql
Normal file
@@ -0,0 +1 @@
|
||||
UPDATE `creature_template` SET `spell1`=32969 WHERE `entry`=18795;
|
||||
25
sql/updates/world/2014_07_28_06_world_misc.sql
Normal file
25
sql/updates/world/2014_07_28_06_world_misc.sql
Normal file
@@ -0,0 +1,25 @@
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=16777216 WHERE `entry`=26809;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=26809 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
|
||||
(26809, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 11, 31261, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 'Ravaged Crystalline Ice Giant - On Spawn - Cast Permanent Feign Death (Root) on self'),
|
||||
(26809, 0, 1, 0, 73, 0, 100, 0, 0, 0, 0, 0, 56, 36765, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ravaged Crystalline Ice Giant - On Spellclick - Add Sample of Rockflesh');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =26809;
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =26048;
|
||||
|
||||
DELETE FROM `npc_spellclick_spells` WHERE `npc_entry` IN(26809, 26048);
|
||||
INSERT INTO `npc_spellclick_spells` (`npc_entry`, `spell_id`, `cast_flags`, `user_type`) VALUES
|
||||
(26809, 47416, 0, 0),
|
||||
(26048, 46407, 0, 0);
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=18 AND `SourceGroup` IN(26809,26048);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(18, 26809, 47416, 0, 0, 9, 0, 12075, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick'),
|
||||
(18, 26048, 46407, 0, 0, 9, 0, 11895, 0, 0, 0, 0, 0, '', 'Required quest active for spellclick');
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=6 AND `link`=0;
|
||||
UPDATE `smart_scripts` SET `event_type`=73 WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=0 AND `link`=1;
|
||||
UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=2604800 AND `source_type`=9 AND `id`=0 AND `link`=0;
|
||||
UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=26048 AND `source_type`=0 AND `id`=4 AND `link`=0;
|
||||
UPDATE `smart_scripts` SET `action_param1`=16777216 WHERE `entryorguid`=26045 AND `source_type`=0 AND `id`=8 AND `link`=9;
|
||||
80
sql/updates/world/2014_07_28_07_world_sai.sql
Normal file
80
sql/updates/world/2014_07_28_07_world_sai.sql
Normal file
@@ -0,0 +1,80 @@
|
||||
SET @NPC := 45211;
|
||||
|
||||
-- SAI for Ulfang/Sage Mistwalker/Watcher Moonleaf
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=24261;
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI',`npcflag`=3 WHERE `entry` IN(24186, 24273);
|
||||
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` IN(24186,24261,24273) 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
|
||||
(24261, 0, 0, 0, 19, 0, 100, 0, 11326, 0, 0, 0, 85, 50102, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ulfang - On Quest Accept Alpha Worg - Invoker Cast Ulfang: Force Cast Player Eyes of the Eagle'),
|
||||
(24261, 0, 1, 0, 19, 0, 100, 0, 11324, 0, 0, 0, 85, 50102, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Ulfang - On Quest Accept Alpha Worg - Invoker cast Ulfang: Force Cast Player Eyes of the Eagle'),
|
||||
(24273, 0, 0, 1, 20, 0, 100, 0, 11326, 0, 0, 0, 28, 50102, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - On Quest Reward Alpha Worg - Remove Aura Ulfang: Force Cast Player Eyes of the Eagle'),
|
||||
(24273, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43060, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Remove Aura Eyes of the Eagle'),
|
||||
(24273, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43369, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Remove Aura Worg Disguise'),
|
||||
(24273, 0, 3, 4, 62, 0, 100, 0, 8918, 0, 0, 0, 85, 43379, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - On Gossip Option Select - Invoker Cast The Cleansing: Create Worg Disguise'),
|
||||
(24273, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Watcher Moonleaf - Linked with Previous Event - Close Gossip'),
|
||||
(24186, 0, 0, 1, 20, 0, 100, 0, 11324, 0, 0, 0, 28, 50102, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - On Quest Reward Alpha Worg - Remove Aura Ulfang: Force Cast Player Eyes of the Eagle'),
|
||||
(24186, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43060, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Remove Aura Eyes of the Eagle'),
|
||||
(24186, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 28, 43369, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Remove Aura Worg Disguise'),
|
||||
(24186, 0, 3, 4, 62, 0, 100, 0, 8908, 0, 0, 0, 85, 43379, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - On Gossip Option Select - Invoker Cast The Cleansing: Create Worg Disguise'),
|
||||
(24186, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 'Sage Mistwalker - Linked with Previous Event - Close Gossip');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup` IN(8918,8908);
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
|
||||
(15, 8918, 0, 0, 0, 8, 0, 11322, 0, 0, 0, 0, 0, '', 'Gossip Option requires The Cleansing rewarded'),
|
||||
(15, 8918, 0, 0, 0, 2, 0, 33618, 1, 0, 1, 0, 0, '', 'Gossip Option requires Player does not have worg disguise'),
|
||||
(15, 8918, 0, 0, 0, 8, 0, 11326, 0, 0, 1, 0, 0, '', 'Gossip Option requires Alpha Worg not rewarded'),
|
||||
(15, 8908, 0, 0, 0, 8, 0, 11317, 0, 0, 0, 0, 0, '', 'Gossip Option requires The Cleansing rewarded'),
|
||||
(15, 8908, 0, 0, 0, 2, 0, 33618, 1, 0, 1, 0, 0, '', 'Gossip Option requires Player does not have worg disguise'),
|
||||
(15, 8908, 0, 0, 0, 8, 0, 11324, 0, 0, 1, 0, 0, '', 'Gossip Option requires Alpha Worg not rewarded');
|
||||
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id` IN(8918,8908);
|
||||
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES
|
||||
(8918, 0, 0, 'I have misplaced my worg disguise.', 23068, 1, 1, 0, 0, 0, 0, '', 0),
|
||||
(8908, 0, 0, 'I have misplaced my worg disguise.', 23068, 1, 1, 0, 0, 0, 0, '', 0);
|
||||
|
||||
-- Pathing for Garwal Entry: 24277
|
||||
SET @PATH := @NPC * 10;
|
||||
|
||||
UPDATE `creature_template` SET `faction`=1971 WHERE `entry`=24277;
|
||||
|
||||
DELETE FROM `creature_template_addon` WHERE `entry`=24277;
|
||||
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `bytes1`, `bytes2`, `auras`) VALUES
|
||||
(24277, @PATH, 0x10000, 0x1, '43062'); -- Alpha Worg: Garwal's Invisibility is in spell_DBC but does not work so npc is friendly spell 43060 makes this creature hostile to player and is also the see invisibilty spell
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` = @NPC;
|
||||
INSERT INTO `creature` (`guid`,`id`,`map`,`spawnMask`,`phaseMask`,`position_x`,`position_y`,`position_z`,`orientation`,`spawntimesecs`,`spawndist`,`MovementType`) VALUES
|
||||
(@NPC, 24277,571,1,1,2724.867,-2996.879,91.80984,6.232399,120,0,2);
|
||||
|
||||
-- NPC talk text insert from sniff
|
||||
DELETE FROM `creature_text` WHERE `entry`=24277;
|
||||
INSERT INTO `creature_text` (`entry`,`groupid`,`id`,`text`,`type`,`language`,`probability`,`emote`,`duration`,`sound`,`comment`, `BroadcastTextID`) VALUES
|
||||
(24277,0,0, 'Enough of this charade!',12,0,100,0,0,0, 'Garwal',23064);
|
||||
|
||||
-- SAI for Garwal
|
||||
SET @ENTRY := 24277;
|
||||
SET @SPELL1 := 6749; -- Wide Swipe
|
||||
SET @SPELL2 := 13443; -- Rend
|
||||
SET @SPELL3 := 31279; -- Swipe
|
||||
SET @SPELL4 := 50047; -- Broken Bone
|
||||
UPDATE `creature_template` SET `AIName`='SmartAI' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=0 AND `entryorguid`=@ENTRY;
|
||||
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
|
||||
(@ENTRY,0,0,0,25,0,100,0,0,0,0,0,3,0,22233,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On Reset - Set Model'),
|
||||
(@ENTRY,0,1,2,2,0,100,1,0,50,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On HP@50% - Say text'),
|
||||
(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,3,0,26791,0,0,0,0,1,0,0,0,0,0,0,0, 'Garwal - On HP@50% - Set Model'),
|
||||
-- Combat (Needs Timing)
|
||||
(@ENTRY,0,3,0,9,0,100,0,0,5,13000,18000,11,@SPELL1,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Wide Swipe'), -- Duration 5 sec
|
||||
(@ENTRY,0,4,0,9,0,100,0,0,5,21000,31000,11,@SPELL2,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Rend'), -- Duration 15 sec
|
||||
(@ENTRY,0,5,0,9,0,100,0,0,5,3000,7000,11,@SPELL3,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Swipe'),
|
||||
(@ENTRY,0,7,0,0,0,100,0,0,5,15000,26000,11,@SPELL4,0,0,0,0,0,2,0,0,0,0,0,0,0, 'Garwal - Combat - Cast Spell Broken Bone'); -- Duration 8 sec
|
||||
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,2724.867,-2996.879,91.80984,0,0,0,100,0),
|
||||
(@PATH,2,2751.252,-3001.074,89.98224,0,0,0,100,0),
|
||||
(@PATH,3,2779.356,-3012.149,91.01633,0,0,0,100,0),
|
||||
(@PATH,4,2790.117,-3024.486,94.64133,0,0,0,100,0),
|
||||
(@PATH,5,2793.189,-3046.271,97.17670,0,0,0,100,0);
|
||||
160
sql/updates/world/2014_07_28_08_world_misc.sql
Normal file
160
sql/updates/world/2014_07_28_08_world_misc.sql
Normal file
@@ -0,0 +1,160 @@
|
||||
-- Pathing for Sparik Entry: 19012
|
||||
SET @NPC := 68323;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `equipment_id`=1,`spawndist`=0,`MovementType`=2,`position_x`=-2539.584,`position_y`=7356.25,`position_z`=7.047175 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`,`emote`) VALUES (@NPC,@PATH,257,0, '', 233);
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2539.584,7356.25,7.047175,0,0,0,0,100,0),
|
||||
(@PATH,2,-2542.437,7364.194,7.077205,0,0,0,0,100,0),
|
||||
(@PATH,3,-2541.9,7364.772,7.012752,0,45000,0,0,100,0),
|
||||
(@PATH,4,-2539.584,7356.25,7.047175,0,0,0,0,100,0),
|
||||
(@PATH,5,-2533.325,7352.424,9.283463,0,0,0,0,100,0),
|
||||
(@PATH,6,-2530.663,7354.053,9.283456,0,60000,0,0,100,0);
|
||||
|
||||
DELETE FROM `creature_equip_template` WHERE `entry` IN (19012,17134);
|
||||
INSERT INTO `creature_equip_template` (`entry`,`id`,`itemEntry1`,`itemEntry2`,`itemEntry3`,`VerifiedBuild`) VALUES
|
||||
(19012,1,5956,13611,0,18414),
|
||||
(17134,1,3326,0,0,18414),
|
||||
(17134,2,5292,0,0,18414),
|
||||
(17134,3,5293,0,0,18414),
|
||||
(17134,4,5300,0,0,18414),
|
||||
(17134,5,5301,0,0,18414),
|
||||
(17134,6,5491,0,0,18414),
|
||||
(17134,7,17942,0,0,18414);
|
||||
|
||||
-- Pathing for Boulderfist Crusher Entry: 17134
|
||||
SET @NPC := 60060;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2257.554,`position_y`=6220.683,`position_z`=44.19547 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2257.554,6220.683,44.19547,0,0,0,0,100,0),
|
||||
(@PATH,2,-2269.54,6185.135,50.54529,0,0,0,0,100,0),
|
||||
(@PATH,3,-2300.504,6160.397,57.35026,0,0,0,0,100,0),
|
||||
(@PATH,4,-2333.537,6174.551,51.46076,0,0,0,0,100,0),
|
||||
(@PATH,5,-2354.695,6165.477,54.33383,0,0,0,0,100,0),
|
||||
(@PATH,6,-2353.252,6135.473,60.3641,0,0,0,0,100,0),
|
||||
(@PATH,7,-2345.113,6126.771,60.89935,0,0,0,0,100,0),
|
||||
(@PATH,8,-2353.252,6135.473,60.3641,0,0,0,0,100,0),
|
||||
(@PATH,9,-2354.915,6165.381,54.32211,0,0,0,0,100,0),
|
||||
(@PATH,10,-2333.537,6174.551,51.46076,0,0,0,0,100,0),
|
||||
(@PATH,11,-2300.504,6160.397,57.35026,0,0,0,0,100,0),
|
||||
(@PATH,12,-2269.54,6185.135,50.54529,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Boulderfist Crusher Entry: 17134
|
||||
SET @NPC := 60059;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2399.844,`position_y`=6147.982,`position_z`=71.06328 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2399.844,6147.982,71.06328,0,0,0,0,100,0),
|
||||
(@PATH,2,-2432.956,6121.422,83.23274,0,0,0,0,100,0),
|
||||
(@PATH,3,-2466.083,6121.511,88.61314,0,0,0,0,100,0),
|
||||
(@PATH,4,-2481.856,6120.785,91.89808,0,0,0,0,100,0),
|
||||
(@PATH,5,-2498.95,6129.08,92.34127,0,0,0,0,100,0),
|
||||
(@PATH,6,-2509.331,6142.653,93.18784,0,0,0,0,100,0),
|
||||
(@PATH,7,-2498.272,6119,92.22591,0,0,0,0,100,0),
|
||||
(@PATH,8,-2478.536,6077.883,93.76772,0,0,0,0,100,0),
|
||||
(@PATH,9,-2465.792,6100.151,92.3082,0,0,0,0,100,0),
|
||||
(@PATH,10,-2448.861,6127.569,83.04636,0,0,0,0,100,0),
|
||||
(@PATH,11,-2448.847,6140.451,77.72874,0,0,0,0,100,0),
|
||||
(@PATH,12,-2474.902,6153.139,63.35086,0,0,0,0,100,0),
|
||||
(@PATH,13,-2500.071,6186.787,60.56055,0,0,0,0,100,0),
|
||||
(@PATH,14,-2533.038,6182.577,60.19934,0,0,0,0,100,0),
|
||||
(@PATH,15,-2541.146,6187.5,60.79309,0,0,0,0,100,0),
|
||||
(@PATH,16,-2500.569,6181.5,60.06873,0,0,0,0,100,0),
|
||||
(@PATH,17,-2466.607,6169.582,58.25665,0,0,0,0,100,0),
|
||||
(@PATH,18,-2447.577,6166.336,54.24046,0,0,0,0,100,0),
|
||||
(@PATH,19,-2450.868,6199.792,31.97747,0,0,0,0,100,0),
|
||||
(@PATH,20,-2470.541,6233.041,30.6633,0,0,0,0,100,0),
|
||||
(@PATH,21,-2466.961,6261.01,31.04571,0,0,0,0,100,0),
|
||||
(@PATH,22,-2499.331,6266.069,27.68829,0,0,0,0,100,0),
|
||||
(@PATH,23,-2466.961,6261.01,31.04571,0,0,0,0,100,0),
|
||||
(@PATH,24,-2470.675,6233.3,30.707,0,0,0,0,100,0),
|
||||
(@PATH,25,-2450.868,6199.792,31.97747,0,0,0,0,100,0),
|
||||
(@PATH,26,-2447.577,6166.336,54.24046,0,0,0,0,100,0),
|
||||
(@PATH,27,-2466.316,6169.527,58.25665,0,0,0,0,100,0),
|
||||
(@PATH,28,-2500.569,6181.5,60.06873,0,0,0,0,100,0),
|
||||
(@PATH,29,-2541.146,6187.5,60.79309,0,0,0,0,100,0),
|
||||
(@PATH,30,-2533.038,6182.577,60.19934,0,0,0,0,100,0),
|
||||
(@PATH,31,-2500.071,6186.787,60.56055,0,0,0,0,100,0),
|
||||
(@PATH,32,-2475.183,6153.281,63.52248,0,0,0,0,100,0),
|
||||
(@PATH,33,-2449.129,6140.594,77.34264,0,0,0,0,100,0),
|
||||
(@PATH,34,-2448.861,6127.569,83.04636,0,0,0,0,100,0),
|
||||
(@PATH,35,-2465.792,6100.151,92.3082,0,0,0,0,100,0),
|
||||
(@PATH,36,-2478.536,6077.883,93.76772,0,0,0,0,100,0),
|
||||
(@PATH,37,-2498.272,6119,92.22591,0,0,0,0,100,0),
|
||||
(@PATH,38,-2509.331,6142.653,93.18784,0,0,0,0,100,0),
|
||||
(@PATH,39,-2498.95,6129.08,92.34127,0,0,0,0,100,0),
|
||||
(@PATH,40,-2466.666,6121.875,88.72591,0,0,0,0,100,0),
|
||||
(@PATH,41,-2432.956,6121.422,83.23274,0,0,0,0,100,0),
|
||||
(@PATH,42,-2399.844,6147.982,71.06328,0,0,0,0,100,0),
|
||||
(@PATH,43,-2367.009,6154.886,59.9362,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Boulderfist Crusher Entry: 17134
|
||||
SET @NPC := 60064;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-2241.646,`position_y`=6073.002,`position_z`=73.11702 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-2241.646,6073.002,73.11702,0,0,0,0,100,0),
|
||||
(@PATH,2,-2251.782,6080.446,76.50385,0,0,0,0,100,0),
|
||||
(@PATH,3,-2257.793,6097.254,77.32147,0,0,0,0,100,0),
|
||||
(@PATH,4,-2269.76,6109.586,74.90349,0,0,0,0,100,0),
|
||||
(@PATH,5,-2298.05,6128.994,63.42472,0,0,0,0,100,0),
|
||||
(@PATH,6,-2269.76,6109.586,74.90349,0,0,0,0,100,0),
|
||||
(@PATH,7,-2258.203,6097.282,77.32253,0,0,0,0,100,0),
|
||||
(@PATH,8,-2251.782,6080.446,76.50385,0,0,0,0,100,0),
|
||||
(@PATH,9,-2241.646,6073.002,73.11702,0,0,0,0,100,0),
|
||||
(@PATH,10,-2219.986,6071.252,71.84301,0,0,0,0,100,0),
|
||||
(@PATH,11,-2189.278,6094.729,72.98857,0,0,0,0,100,0),
|
||||
(@PATH,12,-2207.289,6076.843,72.2662,0,0,0,0,100,0),
|
||||
(@PATH,13,-2203.843,6069.921,72.09104,0,0,0,0,100,0),
|
||||
(@PATH,14,-2215.665,6058.173,68.39651,0,0,0,0,100,0),
|
||||
(@PATH,15,-2210.043,6046.705,67.68399,0,0,0,0,100,0),
|
||||
(@PATH,16,-2199.021,6048.374,68.0714,0,0,0,0,100,0),
|
||||
(@PATH,17,-2187.256,6042.542,67.49065,0,0,0,0,100,0),
|
||||
(@PATH,18,-2185.898,6029.625,66.28046,0,0,0,0,100,0),
|
||||
(@PATH,19,-2197.731,6020.948,66.3587,0,0,0,0,100,0),
|
||||
(@PATH,20,-2216.761,6010.768,67.10131,0,0,0,0,100,0),
|
||||
(@PATH,21,-2197.731,6020.948,66.3587,0,0,0,0,100,0),
|
||||
(@PATH,22,-2185.898,6029.625,66.28046,0,0,0,0,100,0),
|
||||
(@PATH,23,-2187.256,6042.542,67.49065,0,0,0,0,100,0),
|
||||
(@PATH,24,-2199.021,6048.374,68.0714,0,0,0,0,100,0),
|
||||
(@PATH,25,-2210.043,6046.705,67.68399,0,0,0,0,100,0),
|
||||
(@PATH,26,-2215.665,6058.173,68.39651,0,0,0,0,100,0),
|
||||
(@PATH,27,-2203.843,6069.921,72.09104,0,0,0,0,100,0),
|
||||
(@PATH,28,-2207.289,6076.843,72.2662,0,0,0,0,100,0),
|
||||
(@PATH,29,-2189.263,6094.723,72.98553,0,0,0,0,100,0),
|
||||
(@PATH,30,-2219.709,6071.23,71.80058,0,0,0,0,100,0);
|
||||
|
||||
UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `guid` IN (60048,60049,60061,60089,60073);
|
||||
UPDATE `creature` SET `position_x`=-2254.501,`position_y`=6228.208,`position_z`=43.00068,`orientation`=4.066617 WHERE `guid`=60070;
|
||||
UPDATE `creature` SET `position_x`=-2258.156,`position_y`=6223.644,`position_z`=43.70845,`orientation`=0.8377581 WHERE `guid`=60071;
|
||||
UPDATE `creature` SET `id`=17135,`position_x`=-2353.576,`position_y`=6196.409,`position_z`=49.09693,`orientation`=0 WHERE `guid`=60069;
|
||||
|
||||
-- Boulderfist Crusher SAI
|
||||
SET @ENTRY := 17134;
|
||||
UPDATE `creature` SET `equipment_id`=-1 WHERE `id`=@ENTRY;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,15000,15000,12000,12000,11,2676,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Crusher - In Combat - Cast 'Pulverize'");
|
||||
|
||||
-- Boulderfist Mystic SAI
|
||||
SET @ENTRY := 17135;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,4000,8000,4000,8000,5,1,0,0,0,0,0,9,17135,4,7,0,0,0,0,"Boulderfist Mystic - Out of Combat - Emote talk"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,6000,6000,8000,12000,11,9532,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Mystic - In Combat - Cast 'Lightning Bolt'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,9000,9000,12000,16000,11,13281,0,0,0,0,0,2,0,0,0,0,0,0,0,"Boulderfist Mystic - In Combat - Cast 'Earth Shock'"),
|
||||
(@ENTRY,0,3,0,2,0,100,0,0,49,22000,22000,11,11431,0,0,0,0,0,1,0,0,0,0,0,0,0,"Boulderfist Mystic - Hp below 50 - Cast 'Healing Touch'");
|
||||
117
sql/updates/world/2014_07_28_09_world_waypoints.sql
Normal file
117
sql/updates/world/2014_07_28_09_world_waypoints.sql
Normal file
@@ -0,0 +1,117 @@
|
||||
-- [ph] bat target & [ph] cave bat
|
||||
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry` IN (22039,22040);
|
||||
|
||||
-- Pathing for Mature Cavern Crawler Entry: 22132
|
||||
SET @NPC := 77719;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1236.683,`position_y`=6974.834,`position_z`=86.52148 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1236.683,6974.834,86.52148,0,0,0,0,100,0),
|
||||
(@PATH,2,1213.585,6994.503,96.45895,0,0,0,0,100,0),
|
||||
(@PATH,3,1191.594,7009.763,104.1238,0,0,0,0,100,0),
|
||||
(@PATH,4,1179.399,7021.068,106.6655,0,0,0,0,100,0),
|
||||
(@PATH,5,1191.594,7009.763,104.1238,0,0,0,0,100,0),
|
||||
(@PATH,6,1213.585,6994.503,96.45895,0,0,0,0,100,0),
|
||||
(@PATH,7,1236.552,6974.855,86.55492,0,0,0,0,100,0),
|
||||
(@PATH,8,1259.068,6971.35,87.20951,0,0,0,0,100,0),
|
||||
(@PATH,9,1302.526,6966.913,92.38039,0,0,0,0,100,0),
|
||||
(@PATH,10,1315.864,6961.601,92.83173,0,0,0,0,100,0),
|
||||
(@PATH,11,1328.682,6944.249,93.1772,0,0,0,0,100,0),
|
||||
(@PATH,12,1334.158,6919.819,94.02305,0,0,0,0,100,0),
|
||||
(@PATH,13,1341.481,6899.75,94.77781,0,0,0,0,100,0),
|
||||
(@PATH,14,1355.231,6884.747,95.21254,0,0,0,0,100,0),
|
||||
(@PATH,15,1373.986,6866.587,97.52299,0,0,0,0,100,0),
|
||||
(@PATH,16,1390.79,6861.882,102.2583,0,0,0,0,100,0),
|
||||
(@PATH,17,1407.61,6858.912,108.0289,0,0,0,0,100,0),
|
||||
(@PATH,18,1390.79,6861.882,102.2583,0,0,0,0,100,0),
|
||||
(@PATH,19,1373.986,6866.587,97.52299,0,0,0,0,100,0),
|
||||
(@PATH,20,1355.231,6884.747,95.21254,0,0,0,0,100,0),
|
||||
(@PATH,21,1341.481,6899.75,94.77781,0,0,0,0,100,0),
|
||||
(@PATH,22,1334.158,6919.819,94.02305,0,0,0,0,100,0),
|
||||
(@PATH,23,1328.682,6944.249,93.1772,0,0,0,0,100,0),
|
||||
(@PATH,24,1315.864,6961.601,92.83173,0,0,0,0,100,0),
|
||||
(@PATH,25,1302.526,6966.913,92.38039,0,0,0,0,100,0),
|
||||
(@PATH,26,1259.068,6971.35,87.20951,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77191;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1252.224,`position_y`=6959.56,`position_z`=109.6476 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1252.224,6959.56,109.6476,0,0,1,0,100,0),
|
||||
(@PATH,2,1305.89,6960.333,103.8583,0,0,1,0,100,0),
|
||||
(@PATH,3,1330.604,6925.649,102.9162,0,0,1,0,100,0),
|
||||
(@PATH,4,1342.882,6882.453,111.1166,0,0,1,0,100,0),
|
||||
(@PATH,5,1330.604,6925.649,102.9162,0,0,1,0,100,0),
|
||||
(@PATH,6,1305.89,6960.333,103.8583,0,0,1,0,100,0),
|
||||
(@PATH,7,1254.092,6959.132,109.3246,0,0,1,0,100,0),
|
||||
(@PATH,8,1213.555,6978.563,119.4476,0,0,1,0,100,0),
|
||||
(@PATH,9,1182.203,7005.035,122.6381,0,0,1,0,100,0),
|
||||
(@PATH,10,1213.555,6978.563,119.4476,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77192;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1308.526,`position_y`=6957.836,`position_z`=103.7312 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1308.526,6957.836,103.7312,0,0,1,0,100,0),
|
||||
(@PATH,2,1329.486,6927.308,102.9568,0,0,1,0,100,0),
|
||||
(@PATH,3,1342.306,6884.338,110.7806,0,0,1,0,100,0),
|
||||
(@PATH,4,1331.965,6921.992,103.4478,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77193;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1182.27,`position_y`=7005.14,`position_z`=122.562 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1182.27,7005.14,122.562,0,0,1,0,100,0),
|
||||
(@PATH,2,1252.268,6959.663,109.5825,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77194;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1213.555,`position_y`=6978.563,`position_z`=119.4476 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1213.555,6978.563,119.4476,0,0,1,0,100,0),
|
||||
(@PATH,2,1252.222,6959.555,109.6505,0,0,1,0,100,0),
|
||||
(@PATH,3,1305.89,6960.333,103.8584,0,0,1,0,100,0),
|
||||
(@PATH,4,1254.092,6959.148,109.3239,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77195;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1331.969,`position_y`=6921.993,`position_z`=103.4453 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1331.969,6921.993,103.4453,0,0,1,0,100,0),
|
||||
(@PATH,2,1342.366,6884.349,110.745,0,0,1,0,100,0);
|
||||
|
||||
-- Pathing for [PH] Cave Bat JZB Entry: 22040
|
||||
SET @NPC := 77196;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1308.01,`position_y`=6958.695,`position_z`=103.7117 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1308.01,6958.695,103.7117,0,0,1,0,100,0),
|
||||
(@PATH,2,1255.087,6959.109,109.2217,0,0,1,0,100,0),
|
||||
(@PATH,3,1304.895,6960.3,103.9611,0,0,1,0,100,0),
|
||||
(@PATH,4,1329.993,6926.441,102.9424,0,0,1,0,100,0);
|
||||
32
sql/updates/world/2014_07_28_10_world_waypoints.sql
Normal file
32
sql/updates/world/2014_07_28_10_world_waypoints.sql
Normal file
@@ -0,0 +1,32 @@
|
||||
-- Pathing for Stronglimb Deeproot Entry: 21023
|
||||
SET @NPC := 73833;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=1650.715,`position_y`=6811.52,`position_z`=132.5538 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,1650.715,6811.52,132.5538,0,0,0,0,100,0),
|
||||
(@PATH,2,1628.184,6815.862,131.3629,0,0,0,0,100,0),
|
||||
(@PATH,3,1599.084,6824.647,129.789,0,0,0,0,100,0),
|
||||
(@PATH,4,1581.409,6824.936,128.5162,0,0,0,0,100,0),
|
||||
(@PATH,5,1551.037,6811.217,124.748,2.932153,60000,0,0,100,0),
|
||||
(@PATH,6,1622.58,6818.295,130.9403,0,0,0,0,100,0),
|
||||
(@PATH,7,1656.376,6811.235,133.1554,0,0,0,0,100,0),
|
||||
(@PATH,8,1669.519,6812.476,134.4982,0,0,0,0,100,0),
|
||||
(@PATH,9,1702.385,6827.354,136.0371,0,0,0,0,100,0),
|
||||
(@PATH,10,1725.43,6823.907,136.0948,0,0,0,0,100,0),
|
||||
(@PATH,11,1761.477,6809.948,137.2298,0,0,0,0,100,0),
|
||||
(@PATH,12,1795.978,6805.205,137.4428,0,0,0,0,100,0),
|
||||
(@PATH,13,1832.179,6817.382,139.1403,0,0,0,0,100,0),
|
||||
(@PATH,14,1854.523,6825.783,141.8726,0,0,0,0,100,0),
|
||||
(@PATH,15,1897.89,6833.999,146.2742,0,0,0,0,100,0),
|
||||
(@PATH,16,1909.732,6837.443,147.4987,3.141593,30000,0,0,100,0),
|
||||
(@PATH,17,1897.89,6833.999,146.2742,0,0,0,0,100,0),
|
||||
(@PATH,18,1854.523,6825.783,141.8726,0,0,0,0,100,0),
|
||||
(@PATH,19,1833.455,6816.629,139.1143,0,0,0,0,100,0),
|
||||
(@PATH,20,1797.23,6805.472,137.537,0,0,0,0,100,0),
|
||||
(@PATH,21,1766.808,6807.917,137.1803,0,0,0,0,100,0),
|
||||
(@PATH,22,1724.682,6823.42,136.2871,0,0,0,0,100,0),
|
||||
(@PATH,23,1703.281,6827.58,136.0371,0,0,0,0,100,0),
|
||||
(@PATH,24,1666.315,6811.949,134.0508,0,0,0,0,100,0);
|
||||
453
sql/updates/world/2014_07_28_11_world_misc.sql
Normal file
453
sql/updates/world/2014_07_28_11_world_misc.sql
Normal file
@@ -0,0 +1,453 @@
|
||||
-- Twilight Ridge, Nagrand Update
|
||||
SET @OGUID := 5479;
|
||||
SET @CGUID := 77840;
|
||||
|
||||
DELETE FROM `gameobject` WHERE `guid`=@OGUID;
|
||||
INSERT INTO `gameobject` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
|
||||
(@OGUID+0, 186177, 530, 1, 1, -1537.953, 9728.839, 202.396, 3.141593, 0, 0, 0, 1, 120, 255, 1);
|
||||
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+2;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@CGUID+0, 22341, 530, 1, 1, -1442.521, 9847.013, 200.6711, 6.021386, 300, 0, 0),
|
||||
(@CGUID+1, 22341, 530, 1, 1, -1455.099, 9854.964, 200.7248, 2.513274, 300, 0, 0),
|
||||
(@CGUID+2, 22342, 530, 1, 1, -1452.337, 9837.591, 200.6221, 1.815142, 300, 0, 0);
|
||||
|
||||
DELETE FROM creature WHERE id IN (22362);
|
||||
|
||||
-- Deathshadow Overlord SAI
|
||||
SET @ENTRY := 22393;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,15228,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat CMC - Cast 'Fireball'"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,3000,4000,6000,8000,11,15232,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat - Cast 'Shadow Bolt'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,8000,15000,20000,35000,11,37579,32,0,0,0,0,6,0,0,0,0,0,0,0,"Deathshadow Overlord - In Combat - Cast 'Impending Doom'"),
|
||||
(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Overlord - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
-- Deathshadow Warlock SAI
|
||||
SET @ENTRY := 22363;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM creature_addon WHERE guid IN (SELECT guid FROM creature WHERE id=@ENTRY);
|
||||
UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,1000,1000,1800000,1800000,11,13787,1,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - Out of Combat - Cast 'Demon Armor'"),
|
||||
(@ENTRY,0,1,0,25,0,100,1,3000,3000,0,0,11,38980,1,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - On Reset - Cast 'Summon Twilight Ridge Imp' (No Repeat)"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,0,0,2400,3800,11,9613,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat CMC - Cast 'Shadow Bolt'"),
|
||||
(@ENTRY,0,3,0,0,0,100,0,4000,8000,18000,24000,11,11962,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Warlock - In Combat - Cast 'Immolate'"),
|
||||
(@ENTRY,0,4,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Warlock - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
-- Deathshadow Hound SAI
|
||||
SET @ENTRY := 22394;
|
||||
DELETE FROM creature_addon WHERE guid=78726;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
UPDATE `creature_template_addon` SET `auras`= '18950' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,8000,8000,6000,12000,11,30639,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Hound - In Combat - Cast 'Carnivorous Bite'");
|
||||
|
||||
-- Deathshadow Imp SAI
|
||||
SET @ENTRY := 22362;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,0,0,2400,3800,11,20801,64,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Imp - In Combat CMC - Cast 'Firebolt'");
|
||||
|
||||
-- Deathshadow Acolyte SAI
|
||||
SET @ENTRY := 22341;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,3000,3000,8000,14000,11,32000,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Acolyte - In Combat - Cast 'Mind Sear'");
|
||||
|
||||
-- Deathshadow Spellbinder SAI
|
||||
SET @ENTRY := 22342;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
UPDATE `creature_template_addon` SET `auras`= '39102' WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,1,0,100,0,0,0,20000,20000,11,39123,0,0,0,0,0,19,22400,35,0,0,0,0,0,"Deathshadow Spellbinder - Out of Combat - Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,1,0,1,0,100,0,15000,15000,20000,20000,92,0,39123,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Spellbinder - Out of Combat - Interupt Cast 'Purple Beam'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,0,40,2400,3800,11,34447,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat CMC - Cast 'Arcane Missiles'"),
|
||||
(@ENTRY,0,3,0,0,0,100,0,9000,14000,14000,20000,11,22744,0,0,0,0,0,5,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat - Cast 'Chains of Ice'"),
|
||||
(@ENTRY,0,4,0,0,0,100,0,6000,9000,7000,14000,11,31999,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Spellbinder - In Combat - Cast 'Counterspell'"),
|
||||
(@ENTRY,0,5,0,2,0,100,1,0,15,0,0,25,1,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Spellbinder - Between 0-15% Health - Flee For Assist (No Repeat)");
|
||||
|
||||
-- Deathshadow Archon SAI
|
||||
SET @ENTRY := 22343;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,0,0,100,0,10000,10000,12000,18000,11,31996,0,0,0,0,0,2,0,0,0,0,0,0,0,"Deathshadow Archon - In Combat - Cast 'Bloodthirst'"),
|
||||
(@ENTRY,0,1,2,2,0,100,1,0,20,0,0,11,8599,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Archon - Between 0-20% Health - Cast 'Enrage' (No Repeat)"),
|
||||
(@ENTRY,0,2,0,61,0,100,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,"Deathshadow Archon - Between 0-20% Health - Say Line 0 (No Repeat)");
|
||||
|
||||
-- Twilight Ridge Target
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=0 WHERE `guid` IN (78732,78733,78734);
|
||||
UPDATE `creature` SET `spawndist`=5,`MovementType`=1 WHERE `id`=23026;
|
||||
UPDATE `creature_template` SET `InhabitType`=4 WHERE `entry`=22400;
|
||||
|
||||
-- Pathing for Reth'hedron the Subduer Entry: 22357
|
||||
SET @NPC := 86754;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1470.79,`position_y`=9695.277,`position_z`=201.9155 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1470.79,9695.277,201.9155,0,0,0,0,100,0),
|
||||
(@PATH,2,-1463.57,9667.397,201.1194,0,0,0,0,100,0),
|
||||
(@PATH,3,-1435.975,9657.146,201.4469,0,0,0,0,100,0),
|
||||
(@PATH,4,-1413.262,9667.886,200.9825,0,0,0,0,100,0),
|
||||
(@PATH,5,-1402.246,9689.202,200.9537,0,0,0,0,100,0),
|
||||
(@PATH,6,-1414.642,9716.702,202.2037,0,0,0,0,100,0),
|
||||
(@PATH,7,-1441.109,9724.775,200.4537,0,0,0,0,100,0),
|
||||
(@PATH,8,-1461.794,9742.569,200.4468,0,0,0,0,100,0),
|
||||
(@PATH,9,-1469.654,9771.815,199.9872,0,0,0,0,100,0),
|
||||
(@PATH,10,-1469.748,9806.641,201.1348,0,0,0,0,100,0),
|
||||
(@PATH,11,-1502.839,9806.935,199.2431,0,0,0,0,100,0),
|
||||
(@PATH,12,-1514.049,9782.884,199.0504,0,0,0,0,100,0),
|
||||
(@PATH,13,-1507.741,9758.235,200.8756,0,0,0,0,100,0),
|
||||
(@PATH,14,-1497.913,9735.084,200.8304,0,0,0,0,100,0),
|
||||
(@PATH,15,-1479.92,9715.552,200.603,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Overlord Entry: 22393
|
||||
SET @NPC := 78720;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1472.134,`position_y`=9677.515,`position_z`=200.7376 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1472.134,9677.515,200.7376,0,0,0,0,100,0),
|
||||
(@PATH,2,-1491.902,9675.239,200.4876,0,0,0,0,100,0),
|
||||
(@PATH,3,-1513.64,9685.378,199.8625,0,0,0,0,100,0),
|
||||
(@PATH,4,-1520.162,9704.591,199.7671,0,0,0,0,100,0),
|
||||
(@PATH,5,-1524.718,9729.45,200.9875,0,0,0,0,100,0),
|
||||
(@PATH,6,-1530.212,9756.966,199.9298,0,0,0,0,100,0),
|
||||
(@PATH,7,-1532.913,9774.135,199.8195,0,0,0,0,100,0),
|
||||
(@PATH,8,-1530.212,9756.966,199.9298,0,0,0,0,100,0),
|
||||
(@PATH,9,-1524.718,9729.45,200.9875,0,0,0,0,100,0),
|
||||
(@PATH,10,-1520.162,9704.591,199.7671,0,0,0,0,100,0),
|
||||
(@PATH,11,-1513.64,9685.378,199.8625,0,0,0,0,100,0),
|
||||
(@PATH,12,-1491.902,9675.239,200.4876,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Overlord Entry: 22393
|
||||
SET @NPC := 78721;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1612.896,`position_y`=9760.403,`position_z`=201.8589 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1612.896,9760.403,201.8589,0,0,0,0,100,0),
|
||||
(@PATH,2,-1607.772,9783.831,203.7104,0,0,0,0,100,0),
|
||||
(@PATH,3,-1612.043,9799.692,204.3501,0,0,0,0,100,0),
|
||||
(@PATH,4,-1619.067,9821.793,203.2391,0,0,0,0,100,0),
|
||||
(@PATH,5,-1611.496,9847.096,202.69,0,0,0,0,100,0),
|
||||
(@PATH,6,-1599.807,9862.187,202.3747,0,0,0,0,100,0),
|
||||
(@PATH,7,-1581.539,9874.061,201.7294,0,0,0,0,100,0),
|
||||
(@PATH,8,-1555.31,9883.893,201.0461,0,0,0,0,100,0),
|
||||
(@PATH,9,-1526.078,9884.972,201.6419,0,0,0,0,100,0),
|
||||
(@PATH,10,-1499.578,9886.692,200.8129,0,0,0,0,100,0),
|
||||
(@PATH,11,-1526.078,9884.972,201.6419,0,0,0,0,100,0),
|
||||
(@PATH,12,-1555.31,9883.893,201.0461,0,0,0,0,100,0),
|
||||
(@PATH,13,-1581.539,9874.061,201.7294,0,0,0,0,100,0),
|
||||
(@PATH,14,-1599.807,9862.187,202.3747,0,0,0,0,100,0),
|
||||
(@PATH,15,-1611.496,9847.096,202.69,0,0,0,0,100,0),
|
||||
(@PATH,16,-1619.067,9821.793,203.2391,0,0,0,0,100,0),
|
||||
(@PATH,17,-1612.043,9799.692,204.3501,0,0,0,0,100,0),
|
||||
(@PATH,18,-1607.772,9783.831,203.7104,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Overlord Entry: 22393
|
||||
SET @NPC := 78722;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1403.312,`position_y`=9723.152,`position_z`=202.818 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1403.312,9723.152,202.818,0,0,0,0,100,0),
|
||||
(@PATH,2,-1401.001,9745.885,201.6062,0,0,0,0,100,0),
|
||||
(@PATH,3,-1406.874,9760.674,203.3052,0,0,0,0,100,0),
|
||||
(@PATH,4,-1421.809,9777.302,201.2571,0,0,0,0,100,0),
|
||||
(@PATH,5,-1437.867,9789.925,200.9305,0,0,0,0,100,0),
|
||||
(@PATH,6,-1439.766,9805.536,201.9659,0,0,0,0,100,0),
|
||||
(@PATH,7,-1454.237,9824.521,199.9593,0,0,0,0,100,0),
|
||||
(@PATH,8,-1472.978,9831.495,200.4266,0,0,0,0,100,0),
|
||||
(@PATH,9,-1497.168,9823.096,199.8583,0,0,0,0,100,0),
|
||||
(@PATH,10,-1472.978,9831.495,200.4266,0,0,0,0,100,0),
|
||||
(@PATH,11,-1454.237,9824.521,199.9593,0,0,0,0,100,0),
|
||||
(@PATH,12,-1439.766,9805.536,201.9659,0,0,0,0,100,0),
|
||||
(@PATH,13,-1437.867,9789.925,200.9305,0,0,0,0,100,0),
|
||||
(@PATH,14,-1421.809,9777.302,201.2571,0,0,0,0,100,0),
|
||||
(@PATH,15,-1406.874,9760.674,203.3052,0,0,0,0,100,0),
|
||||
(@PATH,16,-1401.001,9745.885,201.6062,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Overlord Entry: 22393
|
||||
SET @NPC := 78723;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1453.536,`position_y`=9636.821,`position_z`=201.6882 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1453.536,9636.821,201.6882,0,0,0,0,100,0),
|
||||
(@PATH,2,-1432.65,9646.109,201.1936,0,0,0,0,100,0),
|
||||
(@PATH,3,-1405.079,9634.173,200.4417,0,0,0,0,100,0),
|
||||
(@PATH,4,-1376.064,9616.104,201.409,0,0,0,0,100,0),
|
||||
(@PATH,5,-1359.878,9605.575,202.9046,0,0,0,0,100,0),
|
||||
(@PATH,6,-1340.019,9602.568,203.2547,0,0,0,0,100,0),
|
||||
(@PATH,7,-1324.825,9604.699,203.3278,0,0,0,0,100,0),
|
||||
(@PATH,8,-1307.901,9605.091,203.8469,0,0,0,0,100,0),
|
||||
(@PATH,9,-1324.825,9604.699,203.3278,0,0,0,0,100,0),
|
||||
(@PATH,10,-1340.019,9602.568,203.2547,0,0,0,0,100,0),
|
||||
(@PATH,11,-1359.878,9605.575,202.9046,0,0,0,0,100,0),
|
||||
(@PATH,12,-1376.064,9616.104,201.409,0,0,0,0,100,0),
|
||||
(@PATH,13,-1405.079,9634.173,200.4417,0,0,0,0,100,0),
|
||||
(@PATH,14,-1432.65,9646.109,201.1936,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Overlord Entry: 22393
|
||||
SET @NPC := 78724;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1402.76,`position_y`=9588.803,`position_z`=204.4954 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1402.76,9588.803,204.4954,0,0,0,0,100,0),
|
||||
(@PATH,2,-1419.219,9590.156,203.1769,0,0,0,0,100,0),
|
||||
(@PATH,3,-1438.877,9599.831,202.1304,0,0,0,0,100,0),
|
||||
(@PATH,4,-1453.35,9623.946,201.2587,0,0,0,0,100,0),
|
||||
(@PATH,5,-1456.293,9653.96,201.7509,0,0,0,0,100,0),
|
||||
(@PATH,6,-1453.35,9623.946,201.2587,0,0,0,0,100,0),
|
||||
(@PATH,7,-1438.877,9599.831,202.1304,0,0,0,0,100,0),
|
||||
(@PATH,8,-1419.219,9590.156,203.1769,0,0,0,0,100,0);
|
||||
|
||||
-- Deathshadow Archon / Hound Formations
|
||||
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (78605,78607,78608,78609,78611);
|
||||
INSERT INTO `creature_formations` (`leaderGUID`,`memberGUID`,`dist`,`angle`,`groupAI`)VALUES
|
||||
(78605,78605,0,0,2),(78605,78725,3,90,2),
|
||||
(78607,78607,0,0,2),(78607,78726,3,90,2),
|
||||
(78608,78608,0,0,2),(78608,78727,3,90,2),
|
||||
(78609,78609,0,0,2),(78609,78728,3,90,2),
|
||||
(78611,78611,0,0,2),(78611,78729,3,90,2);
|
||||
|
||||
-- Pathing for Deathshadow Archon Entry: 22343
|
||||
SET @NPC := 78605;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1534.346,`position_y`=9692.919,`position_z`=201.5745 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1534.346,9692.919,201.5745,0,0,0,0,100,0),
|
||||
(@PATH,2,-1528.828,9701.563,200.6345,0,0,0,0,100,0),
|
||||
(@PATH,3,-1524.337,9711.724,200.1727,0,0,0,0,100,0),
|
||||
(@PATH,4,-1523.669,9722.655,200.5154,0,0,0,0,100,0),
|
||||
(@PATH,5,-1526.62,9737.559,201.3112,0,0,0,0,100,0),
|
||||
(@PATH,6,-1532.228,9749.707,201.0745,0,0,0,0,100,0),
|
||||
(@PATH,7,-1541.164,9759.324,201.4725,0,0,0,0,100,0),
|
||||
(@PATH,8,-1549.85,9760.534,201.3854,0,0,0,0,100,0),
|
||||
(@PATH,9,-1556.002,9754.084,202.2479,0,0,0,0,100,0),
|
||||
(@PATH,10,-1561.292,9745.524,202.4582,0,0,0,0,100,0),
|
||||
(@PATH,11,-1556.002,9754.084,202.2479,0,0,0,0,100,0),
|
||||
(@PATH,12,-1549.85,9760.534,201.3854,0,0,0,0,100,0),
|
||||
(@PATH,13,-1541.164,9759.324,201.4725,0,0,0,0,100,0),
|
||||
(@PATH,14,-1532.228,9749.707,201.0745,0,0,0,0,100,0),
|
||||
(@PATH,15,-1526.62,9737.559,201.3112,0,0,0,0,100,0),
|
||||
(@PATH,16,-1523.669,9722.655,200.5154,0,0,0,0,100,0),
|
||||
(@PATH,17,-1524.337,9711.724,200.1727,0,0,0,0,100,0),
|
||||
(@PATH,18,-1528.828,9701.563,200.6345,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Archon Entry: 22343
|
||||
SET @NPC := 78607;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1440.525,`position_y`=9826.043,`position_z`=200.2045 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1440.525,9826.043,200.2045,0,0,0,0,100,0),
|
||||
(@PATH,2,-1450.976,9827.416,199.9427,0,0,0,0,100,0),
|
||||
(@PATH,3,-1462.63,9831.848,200.9427,0,0,0,0,100,0),
|
||||
(@PATH,4,-1473.203,9842.879,199.9138,0,0,0,0,100,0),
|
||||
(@PATH,5,-1480.496,9852.528,200.9736,0,0,0,0,100,0),
|
||||
(@PATH,6,-1482.375,9864.082,200.7059,0,0,0,0,100,0),
|
||||
(@PATH,7,-1473.433,9874.989,200.3353,0,0,0,0,100,0),
|
||||
(@PATH,8,-1455.629,9873.264,200.673,0,0,0,0,100,0),
|
||||
(@PATH,9,-1441.467,9870.78,201.3422,0,0,0,0,100,0),
|
||||
(@PATH,10,-1428.149,9859.59,200.5119,0,0,0,0,100,0),
|
||||
(@PATH,11,-1425.271,9844.913,200.1369,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Archon Entry: 22343
|
||||
SET @NPC := 78608;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1380.653,`position_y`=9741.172,`position_z`=204.1218 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1380.653,9741.172,204.1218,0,0,0,0,100,0),
|
||||
(@PATH,2,-1366.514,9729.669,205.0716,0,0,0,0,100,0),
|
||||
(@PATH,3,-1358.867,9717.195,205.8663,0,0,0,0,100,0),
|
||||
(@PATH,4,-1359.007,9702.771,204.7408,0,0,0,0,100,0),
|
||||
(@PATH,5,-1362.371,9691.935,204.1954,0,0,0,0,100,0),
|
||||
(@PATH,6,-1372.498,9687.396,203.4136,0,0,0,0,100,0),
|
||||
(@PATH,7,-1382.632,9687.841,202.6673,0,0,0,0,100,0),
|
||||
(@PATH,8,-1392.327,9693.781,202.8044,0,0,0,0,100,0),
|
||||
(@PATH,9,-1401.115,9712.122,204.2574,0,0,0,0,100,0),
|
||||
(@PATH,10,-1400.316,9733.862,202.404,0,0,0,0,100,0),
|
||||
(@PATH,11,-1391.65,9744.087,202.7115,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Archon Entry: 22343
|
||||
SET @NPC := 78609;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1319.207,`position_y`=9624.372,`position_z`=202.1915 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1319.207,9624.372,202.1915,0,0,0,0,100,0),
|
||||
(@PATH,2,-1313.734,9614.496,202.0793,0,0,0,0,100,0),
|
||||
(@PATH,3,-1307.775,9608.104,203.4543,0,0,0,0,100,0),
|
||||
(@PATH,4,-1296.253,9600.599,204.4624,0,0,0,0,100,0),
|
||||
(@PATH,5,-1288.214,9592.333,205.6772,0,0,0,0,100,0),
|
||||
(@PATH,6,-1281.956,9581.45,207.4987,0,0,0,0,100,0),
|
||||
(@PATH,7,-1278.26,9572.817,209.6956,0,0,0,0,100,0),
|
||||
(@PATH,8,-1274.736,9562.393,213.2931,0,0,0,0,100,0),
|
||||
(@PATH,9,-1278.26,9572.813,209.7968,0,0,0,0,100,0),
|
||||
(@PATH,10,-1281.956,9581.45,207.4987,0,0,0,0,100,0),
|
||||
(@PATH,11,-1288.214,9592.333,205.6772,0,0,0,0,100,0),
|
||||
(@PATH,12,-1296.253,9600.599,204.4624,0,0,0,0,100,0),
|
||||
(@PATH,13,-1307.6,9607.918,203.4799,0,0,0,0,100,0),
|
||||
(@PATH,14,-1313.734,9614.496,202.0793,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Archon Entry: 22343
|
||||
SET @NPC := 78611;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1404.827,`position_y`=9588.393,`position_z`=204.2825 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1404.827,9588.393,204.2825,0,0,0,0,100,0),
|
||||
(@PATH,2,-1394.6,9596.54,203.1423,0,0,0,0,100,0),
|
||||
(@PATH,3,-1383.312,9601.47,202.3112,0,0,0,0,100,0),
|
||||
(@PATH,4,-1368.525,9602.146,202.7189,0,0,0,0,100,0),
|
||||
(@PATH,5,-1356.474,9599.088,203.8475,0,0,0,0,100,0),
|
||||
(@PATH,6,-1350.076,9591.939,205.7526,0,0,0,0,100,0),
|
||||
(@PATH,7,-1356.474,9599.088,203.8475,0,0,0,0,100,0),
|
||||
(@PATH,8,-1368.525,9602.146,202.7189,0,0,0,0,100,0),
|
||||
(@PATH,9,-1383.312,9601.47,202.3112,0,0,0,0,100,0),
|
||||
(@PATH,10,-1394.6,9596.54,203.1423,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Hound Entry: 22394
|
||||
SET @NPC := 78725;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1534.346,`position_y`=9692.919,`position_z`=201.5745 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1534.346,9692.919,201.5745,0,0,0,0,100,0),
|
||||
(@PATH,2,-1528.828,9701.563,200.6345,0,0,0,0,100,0),
|
||||
(@PATH,3,-1524.337,9711.724,200.1727,0,0,0,0,100,0),
|
||||
(@PATH,4,-1523.669,9722.655,200.5154,0,0,0,0,100,0),
|
||||
(@PATH,5,-1526.62,9737.559,201.3112,0,0,0,0,100,0),
|
||||
(@PATH,6,-1532.228,9749.707,201.0745,0,0,0,0,100,0),
|
||||
(@PATH,7,-1541.164,9759.324,201.4725,0,0,0,0,100,0),
|
||||
(@PATH,8,-1549.85,9760.534,201.3854,0,0,0,0,100,0),
|
||||
(@PATH,9,-1556.002,9754.084,202.2479,0,0,0,0,100,0),
|
||||
(@PATH,10,-1561.292,9745.524,202.4582,0,0,0,0,100,0),
|
||||
(@PATH,11,-1556.002,9754.084,202.2479,0,0,0,0,100,0),
|
||||
(@PATH,12,-1549.85,9760.534,201.3854,0,0,0,0,100,0),
|
||||
(@PATH,13,-1541.164,9759.324,201.4725,0,0,0,0,100,0),
|
||||
(@PATH,14,-1532.228,9749.707,201.0745,0,0,0,0,100,0),
|
||||
(@PATH,15,-1526.62,9737.559,201.3112,0,0,0,0,100,0),
|
||||
(@PATH,16,-1523.669,9722.655,200.5154,0,0,0,0,100,0),
|
||||
(@PATH,17,-1524.337,9711.724,200.1727,0,0,0,0,100,0),
|
||||
(@PATH,18,-1528.828,9701.563,200.6345,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Hound Entry: 22394
|
||||
SET @NPC := 78726;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1440.525,`position_y`=9826.043,`position_z`=200.2045 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1440.525,9826.043,200.2045,0,0,0,0,100,0),
|
||||
(@PATH,2,-1450.976,9827.416,199.9427,0,0,0,0,100,0),
|
||||
(@PATH,3,-1462.63,9831.848,200.9427,0,0,0,0,100,0),
|
||||
(@PATH,4,-1473.203,9842.879,199.9138,0,0,0,0,100,0),
|
||||
(@PATH,5,-1480.496,9852.528,200.9736,0,0,0,0,100,0),
|
||||
(@PATH,6,-1482.375,9864.082,200.7059,0,0,0,0,100,0),
|
||||
(@PATH,7,-1473.433,9874.989,200.3353,0,0,0,0,100,0),
|
||||
(@PATH,8,-1455.629,9873.264,200.673,0,0,0,0,100,0),
|
||||
(@PATH,9,-1441.467,9870.78,201.3422,0,0,0,0,100,0),
|
||||
(@PATH,10,-1428.149,9859.59,200.5119,0,0,0,0,100,0),
|
||||
(@PATH,11,-1425.271,9844.913,200.1369,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Hound Entry: 22394
|
||||
SET @NPC := 78727;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1380.653,`position_y`=9741.172,`position_z`=204.1218 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1380.653,9741.172,204.1218,0,0,0,0,100,0),
|
||||
(@PATH,2,-1366.514,9729.669,205.0716,0,0,0,0,100,0),
|
||||
(@PATH,3,-1358.867,9717.195,205.8663,0,0,0,0,100,0),
|
||||
(@PATH,4,-1359.007,9702.771,204.7408,0,0,0,0,100,0),
|
||||
(@PATH,5,-1362.371,9691.935,204.1954,0,0,0,0,100,0),
|
||||
(@PATH,6,-1372.498,9687.396,203.4136,0,0,0,0,100,0),
|
||||
(@PATH,7,-1382.632,9687.841,202.6673,0,0,0,0,100,0),
|
||||
(@PATH,8,-1392.327,9693.781,202.8044,0,0,0,0,100,0),
|
||||
(@PATH,9,-1401.115,9712.122,204.2574,0,0,0,0,100,0),
|
||||
(@PATH,10,-1400.316,9733.862,202.404,0,0,0,0,100,0),
|
||||
(@PATH,11,-1391.65,9744.087,202.7115,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Hound Entry: 22394
|
||||
SET @NPC := 78728;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1319.207,`position_y`=9624.372,`position_z`=202.1915 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1319.207,9624.372,202.1915,0,0,0,0,100,0),
|
||||
(@PATH,2,-1313.734,9614.496,202.0793,0,0,0,0,100,0),
|
||||
(@PATH,3,-1307.775,9608.104,203.4543,0,0,0,0,100,0),
|
||||
(@PATH,4,-1296.253,9600.599,204.4624,0,0,0,0,100,0),
|
||||
(@PATH,5,-1288.214,9592.333,205.6772,0,0,0,0,100,0),
|
||||
(@PATH,6,-1281.956,9581.45,207.4987,0,0,0,0,100,0),
|
||||
(@PATH,7,-1278.26,9572.817,209.6956,0,0,0,0,100,0),
|
||||
(@PATH,8,-1274.736,9562.393,213.2931,0,0,0,0,100,0),
|
||||
(@PATH,9,-1278.26,9572.813,209.7968,0,0,0,0,100,0),
|
||||
(@PATH,10,-1281.956,9581.45,207.4987,0,0,0,0,100,0),
|
||||
(@PATH,11,-1288.214,9592.333,205.6772,0,0,0,0,100,0),
|
||||
(@PATH,12,-1296.253,9600.599,204.4624,0,0,0,0,100,0),
|
||||
(@PATH,13,-1307.6,9607.918,203.4799,0,0,0,0,100,0),
|
||||
(@PATH,14,-1313.734,9614.496,202.0793,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Deathshadow Hound Entry: 22394
|
||||
SET @NPC := 78729;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1404.827,`position_y`=9588.393,`position_z`=204.2825 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1404.827,9588.393,204.2825,0,0,0,0,100,0),
|
||||
(@PATH,2,-1394.6,9596.54,203.1423,0,0,0,0,100,0),
|
||||
(@PATH,3,-1383.312,9601.47,202.3112,0,0,0,0,100,0),
|
||||
(@PATH,4,-1368.525,9602.146,202.7189,0,0,0,0,100,0),
|
||||
(@PATH,5,-1356.474,9599.088,203.8475,0,0,0,0,100,0),
|
||||
(@PATH,6,-1350.076,9591.939,205.7526,0,0,0,0,100,0),
|
||||
(@PATH,7,-1356.474,9599.088,203.8475,0,0,0,0,100,0),
|
||||
(@PATH,8,-1368.525,9602.146,202.7189,0,0,0,0,100,0),
|
||||
(@PATH,9,-1383.312,9601.47,202.3112,0,0,0,0,100,0),
|
||||
(@PATH,10,-1394.6,9596.54,203.1423,0,0,0,0,100,0);
|
||||
261
sql/updates/world/2014_07_28_12_world_misc.sql
Normal file
261
sql/updates/world/2014_07_28_12_world_misc.sql
Normal file
@@ -0,0 +1,261 @@
|
||||
-- Expedition Armory Fixup
|
||||
-- Add Missing spawns
|
||||
SET @CGUID := 78634;
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+7;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@CGUID+0, 16904, 530, 1, 1, -1157.934, 2530.102, 50.09461, 4.869469, 120, 0, 0),
|
||||
(@CGUID+1, 16904, 530, 1, 1, -1169.858, 2523.522, 51.36825, 4.904375, 120, 0, 0),
|
||||
(@CGUID+2, 16904, 530, 1, 1, -1181.167, 2518.094, 52.19978, 4.939282, 120, 0, 0),
|
||||
(@CGUID+3, 16904, 530, 1, 1, -1204.251, 2513.907, 50.62469, 4.991642, 120, 0, 0),
|
||||
(@CGUID+4, 16904, 530, 1, 1, -1214.583, 2514.443, 48.68005, 5.026548, 120, 0, 0),
|
||||
(@CGUID+5, 16904, 530, 1, 1, -1226.806, 2517.432, 45.69573, 5.061455, 120, 0, 0),
|
||||
(@CGUID+6, 16904, 530, 1, 1, -1240.974, 2518.019, 42.89053, 5.096361, 120, 0, 0),
|
||||
(@CGUID+7, 16904, 530, 1, 1, -1242.193, 2666.122, 5.166966, 0.8517824, 120, 5, 1);
|
||||
DELETE FROM `creature_addon` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+6;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`emote`,`auras`) VALUES
|
||||
(@CGUID+0,0,1,0, 333, ''),(@CGUID+1,0,1,0, 333, ''),(@CGUID+2,0,1,0, 333, ''),(@CGUID+3,0,1,0, 333, ''),
|
||||
(@CGUID+4,0,1,0, 333, ''),(@CGUID+5,0,1,0, 333, ''),(@CGUID+6,0,1,0, 333, '');
|
||||
|
||||
-- Replace with proper spawn location and emote
|
||||
DELETE FROM `creature` WHERE `guid`=58573;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(58573, 16904, 530, 1, 1, -1193.391, 2514.129, 52.23314, 4.974188, 120, 0, 0);
|
||||
DELETE FROM `creature_addon` WHERE `guid`=58573;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`emote`,`auras`) VALUES (58573,0,1,0, 333, '');
|
||||
|
||||
-- Add Missing spawns
|
||||
SET @CGUID := 45136;
|
||||
DELETE FROM `creature` WHERE `guid` BETWEEN @CGUID+0 AND @CGUID+0;
|
||||
INSERT INTO `creature` (`guid`, `id`, `map`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `spawndist`, `MovementType`) VALUES
|
||||
(@CGUID+0, 16906, 530, 1, 1, -1245.85, 2530.152, 39.89544, 0.3257069, 120, 0, 0);
|
||||
|
||||
-- Unyielding Footman SAI
|
||||
SET @ENTRY := 16904;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Footman - On Respawn - Cast 'Shroud of Death' (No Repeat)"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,5000,5000,10000,10000,11,11972,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Footman - In Combat - Cast 'Shield Bash'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,8000,8000,10000,10000,11,11976,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Footman - In Combat - Cast 'Strike'");
|
||||
|
||||
-- Unyielding Sorcerer SAI
|
||||
SET @ENTRY := 16905;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Sorcerer - On Respawn - Cast 'Shroud of Death' (No Repeat)"),
|
||||
(@ENTRY,0,1,0,0,0,100,0,0,0,2400,3800,11,9053,64,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Sorcerer - In Combat CMC - Cast 'Fireball'"),
|
||||
(@ENTRY,0,2,0,0,0,100,0,5000,9000,12000,15000,11,11829,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Sorcerer - In Combat - Cast 'Flamestrike'"),
|
||||
(@ENTRY,0,3,0,2,0,100,1,0,15,0,0,11,11831,1,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Sorcerer - Between 0-15% Health - Cast 'Frost Nova' (No Repeat)");
|
||||
|
||||
-- Unyielding Knight SAI
|
||||
SET @ENTRY := 16906;
|
||||
UPDATE `creature_template` SET `AIName`="SmartAI" WHERE `entry`=@ENTRY;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid`=@ENTRY 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
|
||||
(@ENTRY,0,0,0,11,0,100,1,0,0,0,0,11,33900,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Knight - On Respawn - Cast 'Shroud of Death' (No Repeat)"),
|
||||
(@ENTRY,0,1,0,4,0,75,1,0,0,0,0,11,22911,0,0,0,0,0,2,0,0,0,0,0,0,0,"Unyielding Knight - On Aggro - Cast 'Charge'"),
|
||||
(@ENTRY,0,2,0,2,0,100,0,0,49,22000,22000,11,33910,0,0,0,0,0,1,0,0,0,0,0,0,0,"Unyielding Knight - Between 0-50% Health - Cast 'Heal Other'");
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58608;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1078.709,`position_y`=2658.081,`position_z`=9.177089 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1078.709,2658.081,9.177089,0,0,0,0,100,0),
|
||||
(@PATH,2,-1096.243,2642.266,14.738,0,0,0,0,100,0),
|
||||
(@PATH,3,-1105.353,2613.758,25.22659,0,0,0,0,100,0),
|
||||
(@PATH,4,-1122.484,2589.949,32.58151,0,0,0,0,100,0),
|
||||
(@PATH,5,-1141.678,2565.609,39.58993,0,0,0,0,100,0),
|
||||
(@PATH,6,-1169.054,2546.374,42.65359,0,0,0,0,100,0),
|
||||
(@PATH,7,-1201.852,2535.243,43.5426,0,0,0,0,100,0),
|
||||
(@PATH,8,-1236.385,2534.726,39.98657,0,0,0,0,100,0),
|
||||
(@PATH,9,-1270.036,2541.282,33.16335,0,0,0,0,100,0),
|
||||
(@PATH,10,-1301.669,2538.872,24.4906,0,0,0,0,100,0),
|
||||
(@PATH,11,-1270.036,2541.282,33.16335,0,0,0,0,100,0),
|
||||
(@PATH,12,-1236.385,2534.726,39.98657,0,0,0,0,100,0),
|
||||
(@PATH,13,-1201.852,2535.243,43.5426,0,0,0,0,100,0),
|
||||
(@PATH,14,-1169.054,2546.374,42.65359,0,0,0,0,100,0),
|
||||
(@PATH,15,-1141.854,2565.387,39.52779,0,0,0,0,100,0),
|
||||
(@PATH,16,-1122.484,2589.949,32.58151,0,0,0,0,100,0),
|
||||
(@PATH,17,-1105.353,2613.758,25.22659,0,0,0,0,100,0),
|
||||
(@PATH,18,-1096.243,2642.266,14.738,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58613;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1162.367,`position_y`=2607.771,`position_z`=29.40837 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1162.367,2607.771,29.40837,0,0,0,0,100,0),
|
||||
(@PATH,2,-1164.079,2598.115,32.16755,0,0,0,0,100,0),
|
||||
(@PATH,3,-1169.018,2589.196,34.63213,0,0,0,0,100,0),
|
||||
(@PATH,4,-1179.051,2584.435,35.66524,0,0,0,0,100,0),
|
||||
(@PATH,5,-1188.898,2584.126,34.93496,0,0,0,0,100,0),
|
||||
(@PATH,6,-1197.719,2589.689,32.88239,0,0,0,0,100,0),
|
||||
(@PATH,7,-1203.93,2597.356,30.07175,0,0,0,0,100,0),
|
||||
(@PATH,8,-1203.094,2608.61,26.71258,0,0,0,0,100,0),
|
||||
(@PATH,9,-1197.07,2618.492,23.25711,0,0,0,0,100,0),
|
||||
(@PATH,10,-1204.688,2630.729,14.91746,0,0,0,0,100,0),
|
||||
(@PATH,11,-1192.009,2621.045,23.11704,0,0,0,0,100,0),
|
||||
(@PATH,12,-1180,2623.365,23.50857,0,0,0,0,100,0),
|
||||
(@PATH,13,-1169.128,2618.959,25.65092,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58609;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1157.924,`position_y`=2633.312,`position_z`=16.72635 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1157.924,2633.312,16.72635,0,0,0,0,100,0),
|
||||
(@PATH,2,-1181.425,2651.707,10.95528,0,0,0,0,100,0),
|
||||
(@PATH,3,-1199.719,2651.361,11.49239,0,0,0,0,100,0),
|
||||
(@PATH,4,-1224.046,2633.264,15.18406,0,0,0,0,100,0),
|
||||
(@PATH,5,-1222.288,2613.92,19.34373,0,0,0,0,100,0),
|
||||
(@PATH,6,-1217.993,2590.402,25.86894,0,0,0,0,100,0),
|
||||
(@PATH,7,-1200.087,2563.635,34.07263,0,0,0,0,100,0),
|
||||
(@PATH,8,-1167.751,2566.861,36.42008,0,0,0,0,100,0),
|
||||
(@PATH,9,-1147.493,2597.137,28.52765,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58619;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1493.109,`position_y`=2718.145,`position_z`=-57.93349 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1493.109,2718.145,-57.93349,0,0,0,0,100,0),
|
||||
(@PATH,2,-1468.903,2730.062,-50.4717,0,0,0,0,100,0),
|
||||
(@PATH,3,-1433.335,2745.595,-43.2352,0,0,0,0,100,0),
|
||||
(@PATH,4,-1405.03,2752.498,-40.70433,0,0,0,0,100,0),
|
||||
(@PATH,5,-1390.104,2756.25,-43.58144,0,0,0,0,100,0),
|
||||
(@PATH,6,-1376.017,2740.627,-32.08193,0,0,0,0,100,0),
|
||||
(@PATH,7,-1352.832,2718.672,-21.35978,0,0,0,0,100,0),
|
||||
(@PATH,8,-1376.017,2740.627,-32.08193,0,0,0,0,100,0),
|
||||
(@PATH,9,-1390.104,2756.25,-43.58144,0,0,0,0,100,0),
|
||||
(@PATH,10,-1405.03,2752.498,-40.70433,0,0,0,0,100,0),
|
||||
(@PATH,11,-1433.335,2745.595,-43.2352,0,0,0,0,100,0),
|
||||
(@PATH,12,-1468.903,2730.062,-50.4717,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58620;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1386.777,`position_y`=2826.613,`position_z`=-40.38738 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1386.777,2826.613,-40.38738,0,0,0,0,100,0),
|
||||
(@PATH,2,-1408.631,2819.229,-50.63119,0,0,0,0,100,0),
|
||||
(@PATH,3,-1435.901,2797.797,-55.37954,0,0,0,0,100,0),
|
||||
(@PATH,4,-1443.677,2772.503,-52.40151,0,0,0,0,100,0),
|
||||
(@PATH,5,-1446.915,2736.08,-44.52816,0,0,0,0,100,0),
|
||||
(@PATH,6,-1446.109,2711.511,-39.9799,0,0,0,0,100,0),
|
||||
(@PATH,7,-1442.769,2677.443,-35.50436,0,0,0,0,100,0),
|
||||
(@PATH,8,-1442.006,2654.465,-31.99123,0,0,0,0,100,0),
|
||||
(@PATH,9,-1442.769,2677.443,-35.50436,0,0,0,0,100,0),
|
||||
(@PATH,10,-1446.109,2711.511,-39.9799,0,0,0,0,100,0),
|
||||
(@PATH,11,-1446.915,2736.08,-44.52816,0,0,0,0,100,0),
|
||||
(@PATH,12,-1443.677,2772.503,-52.40151,0,0,0,0,100,0),
|
||||
(@PATH,13,-1435.901,2797.797,-55.37954,0,0,0,0,100,0),
|
||||
(@PATH,14,-1408.631,2819.229,-50.63119,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 58614;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1231.44,`position_y`=2673.48,`position_z`=3.212412 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1231.44,2673.48,3.212412,0,0,0,0,100,0),
|
||||
(@PATH,2,-1254.712,2666.087,4.77948,0,0,0,0,100,0),
|
||||
(@PATH,3,-1279.99,2669.128,2.280368,0,0,0,0,100,0),
|
||||
(@PATH,4,-1292.908,2659.416,5.344853,0,0,0,0,100,0),
|
||||
(@PATH,5,-1321.698,2645.006,3.804264,0,0,0,0,100,0),
|
||||
(@PATH,6,-1347.104,2642.002,-3.149265,0,0,0,0,100,0),
|
||||
(@PATH,7,-1364.082,2701.073,-19.61125,0,0,0,0,100,0),
|
||||
(@PATH,8,-1368.983,2729.167,-27.60984,0,0,0,0,100,0),
|
||||
(@PATH,9,-1353.149,2746.193,-30.35087,0,0,0,0,100,0),
|
||||
(@PATH,10,-1309.631,2746.361,-26.77184,0,0,0,0,100,0),
|
||||
(@PATH,11,-1291.355,2741.067,-22.2482,0,0,0,0,100,0),
|
||||
(@PATH,12,-1283.964,2721.001,-15.59282,0,0,0,0,100,0),
|
||||
(@PATH,13,-1245.741,2718.254,-10.36791,0,0,0,0,100,0),
|
||||
(@PATH,14,-1228.433,2697.869,-3.761098,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Knight Entry: 16906
|
||||
SET @NPC := 45136;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1245.85,`position_y`=2530.152,`position_z`=39.89544 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1245.85,2530.152,39.89544,0,0,0,0,100,0),
|
||||
(@PATH,2,-1215.004,2524.66,46.13549,0,0,0,0,100,0),
|
||||
(@PATH,3,-1199.705,2529.827,46.08618,0,0,0,0,100,0),
|
||||
(@PATH,4,-1174.797,2530.012,49.23584,0,0,0,0,100,0),
|
||||
(@PATH,5,-1148.801,2544.552,46.86727,0,0,0,0,100,0),
|
||||
(@PATH,6,-1124.96,2558.433,43.62494,0,0,0,0,100,0),
|
||||
(@PATH,7,-1109.299,2576.635,38.45712,0,0,0,0,100,0),
|
||||
(@PATH,8,-1096.697,2593.505,33.96788,0,0,0,0,100,0),
|
||||
(@PATH,9,-1087.887,2610.023,27.83411,0,0,0,0,100,0),
|
||||
(@PATH,10,-1076.242,2628.693,21.12952,0,0,0,0,100,0),
|
||||
(@PATH,11,-1087.887,2610.023,27.87952,0,0,0,0,100,0),
|
||||
(@PATH,12,-1096.697,2593.505,33.96788,0,0,0,0,100,0),
|
||||
(@PATH,13,-1109.299,2576.635,38.45712,0,0,0,0,100,0),
|
||||
(@PATH,14,-1124.96,2558.433,43.62494,0,0,0,0,100,0),
|
||||
(@PATH,15,-1148.801,2544.552,46.86727,0,0,0,0,100,0),
|
||||
(@PATH,16,-1174.797,2530.012,49.23584,0,0,0,0,100,0),
|
||||
(@PATH,17,-1199.705,2529.827,46.08618,0,0,0,0,100,0),
|
||||
(@PATH,18,-1215.004,2524.66,46.13549,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Sorcerer Entry: 16905
|
||||
SET @NPC := 58606;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1248.946,`position_y`=2795.938,`position_z`=-22.21242 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1248.946,2795.938,-22.21242,0,0,0,0,100,0),
|
||||
(@PATH,2,-1279.016,2799.39,-25.40128,0,0,0,0,100,0),
|
||||
(@PATH,3,-1291.09,2807.696,-25.71146,0,0,0,0,100,0),
|
||||
(@PATH,4,-1304.905,2801.276,-26.05369,0,0,0,0,100,0),
|
||||
(@PATH,5,-1318.396,2792.647,-27.12447,0,0,0,0,100,0),
|
||||
(@PATH,6,-1332.008,2791.637,-29.05025,0,0,0,0,100,0),
|
||||
(@PATH,7,-1349.991,2782.115,-31.00883,0,0,0,0,100,0),
|
||||
(@PATH,8,-1332.008,2791.637,-29.05025,0,0,0,0,100,0),
|
||||
(@PATH,9,-1318.396,2792.647,-27.12447,0,0,0,0,100,0),
|
||||
(@PATH,10,-1304.905,2801.276,-26.05369,0,0,0,0,100,0),
|
||||
(@PATH,11,-1291.09,2807.696,-25.71146,0,0,0,0,100,0),
|
||||
(@PATH,12,-1279.016,2799.39,-25.40128,0,0,0,0,100,0);
|
||||
|
||||
-- Pathing for Unyielding Sorcerer Entry: 16905
|
||||
SET @NPC := 58601;
|
||||
SET @PATH := @NPC * 10;
|
||||
UPDATE `creature` SET `spawndist`=0,`MovementType`=2,`position_x`=-1227.628,`position_y`=2677.318,`position_z`=2.078013 WHERE `guid`=@NPC;
|
||||
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
|
||||
INSERT INTO `creature_addon` (`guid`,`path_id`,`bytes2`,`mount`,`auras`) VALUES (@NPC,@PATH,1,0, '');
|
||||
DELETE FROM `waypoint_data` WHERE `id`=@PATH;
|
||||
INSERT INTO `waypoint_data` (`id`,`point`,`position_x`,`position_y`,`position_z`,`orientation`,`delay`,`move_type`,`action`,`action_chance`,`wpguid`) VALUES
|
||||
(@PATH,1,-1227.628,2677.318,2.078013,0,0,0,0,100,0),
|
||||
(@PATH,2,-1226.847,2697.971,-3.660757,0,0,0,0,100,0),
|
||||
(@PATH,3,-1232.792,2711.546,-7.570609,0,0,0,0,100,0),
|
||||
(@PATH,4,-1249.994,2720.591,-11.24999,0,0,0,0,100,0),
|
||||
(@PATH,5,-1271.9,2723.106,-14.73588,0,0,0,0,100,0),
|
||||
(@PATH,6,-1293.75,2719.271,-15.91459,0,0,0,0,100,0),
|
||||
(@PATH,7,-1312.421,2708.201,-14.32982,0,0,0,0,100,0),
|
||||
(@PATH,8,-1314.915,2697.092,-10.55418,0,0,0,0,100,0),
|
||||
(@PATH,9,-1299.07,2679.115,-3.104276,0,0,0,0,100,0),
|
||||
(@PATH,10,-1272.621,2669.487,2.713473,0,0,0,0,100,0),
|
||||
(@PATH,11,-1251.434,2666.855,4.773651,0,0,0,0,100,0),
|
||||
(@PATH,12,-1237.163,2669.433,4.330657,0,0,0,0,100,0);
|
||||
45
sql/updates/world/2014_07_28_13_world_sai.sql
Normal file
45
sql/updates/world/2014_07_28_13_world_sai.sql
Normal file
@@ -0,0 +1,45 @@
|
||||
UPDATE `creature_template` SET `AIName`= 'SmartAI',`ScriptName`='' WHERE `entry`=8696;
|
||||
DELETE FROM `smart_scripts` WHERE `entryorguid` =8696 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
|
||||
(8696,0,0,0,62,0,100,0,1443,2,0,0,85,13029,0,0,0,0,0,7,0,0,0,0,0,0,0,'Henry Stern - On Gossip Select - Cast Spell Goldthorn Tea'),
|
||||
(8696,0,1,0,62,0,100,0,1443,3,0,0,85,13030,0,0,0,0,0,7,0,0,0,0,0,0,0,'Henry Stern - On Gossip Select - Cast Spell Major Trolls Blood Potion'),
|
||||
(8696,0,2,0,38,0,100,0,1,1,0,0,22,2,0,0,0,0,0,1,0,0,0,0,0,0,0,'Henry Stern - On Data Set 1 1 - Set Phase 2'),
|
||||
(8696,0,3,0,1,2,100,1,3000,3000,0,0,1,0,0,0,0,0,0,12,1,0,0,0,0,0,0,'Henry Stern - OOC (Phase 2) - Say (No Repeat)');
|
||||
|
||||
DELETE FROM `creature_text` WHERE `entry`=8696;
|
||||
INSERT INTO `creature_text` (`entry`, `groupid`, `id`, `text`, `type`, `language`, `probability`, `emote`, `duration`, `sound`, `comment`, `BroadcastTextID`) VALUES
|
||||
(8696, 0, 0, 'Thank again, $n. Now I''ll just wait here until it''s safe to leave.', 12, 0, 100, 0, 0, 0, 'Henry Stern', 4575);
|
||||
|
||||
UPDATE `gameobject_template` SET `AIName`='SmartGameObjectAI',`ScriptName`='' WHERE `entry`=157818;
|
||||
DELETE FROM `smart_scripts` WHERE `source_type`=1 AND `entryorguid`=157818;
|
||||
|
||||
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
|
||||
(157818,1,0,1,70,0,100,0,2,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0, 'Holding Pen - On State Changed - Store target'),
|
||||
(157818,1,1,2,61,0,100,0,0,0,0,0,100,1,0,0,0,0,0,19,8696,0,0,0,0,0,0, 'Holding Pen - On State Changed - Send targetlist to Henry Stern'),
|
||||
(157818,1,2,0,61,0,100,0,0,0,0,0,45,1,1,0,0,0,0,19,8696,0,0,0,0,0,0,'Holding Pen - On State Changed - Set data 1 1 on Henry Stern');
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` =8696;
|
||||
|
||||
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=15 AND `SourceGroup`=1443;
|
||||
|
||||
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`SourceId`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionTarget`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`NegativeCondition`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||
(15,1443,0,0,0,7,0,185,1,0,0,0,'','Show gossip option only if player has cooking'),
|
||||
(15,1443,0,0,0,25,0,13028,0,0,1,0,'','Show gossip option only if player does not already know goldthorn tea recipe'),
|
||||
(15,1443,0,0,0,7,0,185,180,0,1,0,'','Show Gossip only if player does not have at least 180 skill in cooking'),
|
||||
(15,1443,1,0,0,7,0,171,1,0,0,0,'','Show gossip option only if player has Alchemy'),
|
||||
(15,1443,1,0,0,25,0,3451,1,0,1,0,'','Show gossip option only if player does not already know Major Trolls Blood Elixir'),
|
||||
(15,1443,1,0,0,7,0,171,175,0,1,0,'','Show gossip only if player does not have at least 175 skill in Alchemy'),
|
||||
(15,1443,2,0,0,7,0,185,1,0,0,0,'','Show gossip option only if player has cooking'),
|
||||
(15,1443,2,0,0,25,0,13028,0,0,1,0,'','Show gossip option only if player does not already know goldthorn tea recipe'),
|
||||
(15,1443,2,0,0,7,0,185,180,0,0,0,'','Show Gossip only if player has at least 180 skill in cooking'),
|
||||
(15,1443,3,0,0,7,0,171,1,0,0,0,'','Show gossip option only if player has Alchemy'),
|
||||
(15,1443,3,0,0,25,0,3451,1,0,1,0,'','Show gossip option only if player does not already know Major Trolls Blood Elixir'),
|
||||
(15,1443,3,0,0,7,0,171,175,0,0,0,'','Show gossip only if player has at least 175 skill in Alchemy');
|
||||
|
||||
DELETE FROM `gossip_menu_option` WHERE `menu_id`=1443;
|
||||
INSERT INTO `gossip_menu_option` (`menu_id`, `id`, `option_icon`, `option_text`, `OptionBroadcastTextID`, `option_id`, `npc_option_npcflag`, `action_menu_id`, `action_poi_id`, `box_coded`, `box_money`, `box_text`, `BoxBroadcastTextID`) VALUES
|
||||
(1443, 0, 0, 'You can cook? So can I! Is there a recipe you can teach me?', 4535, 1, 1, 1501, 0, 0, 0, NULL, 0),
|
||||
(1443, 1, 0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...', 4537, 1, 1, 1502, 0, 0, 0, NULL, 0),
|
||||
(1443, 2, 0, 'You can cook? So can I! Is there a recipe you can teach me?', 4535, 1, 1, 1444, 0, 0, 0, NULL, 0),
|
||||
(1443, 3, 0, 'You''re an alchemist? So am I. Perhaps you can teach me what you know...', 4537, 1, 1, 1442, 0, 0, 0, NULL, 0);
|
||||
@@ -80,8 +80,6 @@ Group::~Group()
|
||||
delete(r);
|
||||
}
|
||||
|
||||
// it is undefined whether objectmgr (which stores the groups) or instancesavemgr
|
||||
// will be unloaded first so we must be prepared for both cases
|
||||
// this may unload some instance saves
|
||||
for (uint8 i = 0; i < MAX_DIFFICULTY; ++i)
|
||||
for (BoundInstancesMap::iterator itr2 = m_boundInstances[i].begin(); itr2 != m_boundInstances[i].end(); ++itr2)
|
||||
|
||||
@@ -728,9 +728,10 @@ bool Guild::Member::LoadFromDB(Field* fields)
|
||||
|
||||
if (!m_zoneId)
|
||||
{
|
||||
TC_LOG_ERROR("guild", "Player (GUID: %u) has broken zone-data", GUID_LOPART(m_guid));
|
||||
TC_LOG_DEBUG("guild", "Player (GUID: %u) has broken zone-data", GUID_LOPART(m_guid));
|
||||
m_zoneId = Player::GetZoneIdFromDB(m_guid);
|
||||
}
|
||||
|
||||
ResetFlags();
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -39,8 +39,10 @@ uint16 InstanceSaveManager::ResetTimeDelay[] = {3600, 900, 300, 60};
|
||||
|
||||
InstanceSaveManager::~InstanceSaveManager()
|
||||
{
|
||||
// it is undefined whether this or objectmgr will be unloaded first
|
||||
// so we must be prepared for both cases
|
||||
}
|
||||
|
||||
void InstanceSaveManager::Unload()
|
||||
{
|
||||
lock_instLists = true;
|
||||
for (InstanceSaveHashMap::iterator itr = m_instanceSaveById.begin(); itr != m_instanceSaveById.end(); ++itr)
|
||||
{
|
||||
|
||||
@@ -164,6 +164,8 @@ class InstanceSaveManager
|
||||
return &instance;
|
||||
}
|
||||
|
||||
void Unload();
|
||||
|
||||
/* resetTime is a global propery of each (raid/heroic) map
|
||||
all instances of that map reset at the same time */
|
||||
struct InstResetEvent
|
||||
|
||||
@@ -191,7 +191,7 @@ void WorldSocket::AsyncWrite(WorldPacket& packet)
|
||||
bool needsWriteStart = _writeQueue.empty();
|
||||
_authCrypt.EncryptSend(header.header, header.getHeaderLength());
|
||||
|
||||
_writeQueue.emplace(header, std::move(packet));
|
||||
_writeQueue.emplace(header, packet);
|
||||
|
||||
if (needsWriteStart)
|
||||
AsyncWrite(_writeQueue.front());
|
||||
|
||||
@@ -58,7 +58,7 @@ struct WorldPacketBuffer
|
||||
|
||||
typedef boost::asio::const_buffer const* const_iterator;
|
||||
|
||||
WorldPacketBuffer(ServerPktHeader header, WorldPacket&& packet) : _header(header), _packet(std::move(packet))
|
||||
WorldPacketBuffer(ServerPktHeader header, WorldPacket const& packet) : _header(header), _packet(packet)
|
||||
{
|
||||
_buffers[0] = boost::asio::const_buffer(_header.header, _header.getHeaderLength());
|
||||
if (!_packet.empty())
|
||||
|
||||
@@ -38,73 +38,6 @@ EndContentData */
|
||||
#include "CellImpl.h"
|
||||
|
||||
/*###
|
||||
# npc_henry_stern
|
||||
####*/
|
||||
|
||||
enum Spells
|
||||
{
|
||||
SPELL_TEACHING_GOLDTHORN_TEA = 13029,
|
||||
SPELL_TEACHING_MIGHTY_TROLLS_BLOOD_POTION = 13030
|
||||
};
|
||||
|
||||
enum Gossips
|
||||
{
|
||||
GOSSIP_COOKING_SKILL_HIGH = 1444,
|
||||
GOSSIP_COOKING_SKILL_LOW = 1501,
|
||||
GOSSIP_ALCHEMY_SKILL_HIGH = 1442,
|
||||
GOSSIP_ALCHEMY_SKILL_LOW = 1502
|
||||
};
|
||||
|
||||
class npc_henry_stern : public CreatureScript
|
||||
{
|
||||
public:
|
||||
npc_henry_stern() : CreatureScript("npc_henry_stern") { }
|
||||
|
||||
struct npc_henry_sternAI : public ScriptedAI
|
||||
{
|
||||
npc_henry_sternAI(Creature* creature) : ScriptedAI(creature) { }
|
||||
|
||||
void sGossipSelect(Player* player, uint32 /*sender*/, uint32 action) override
|
||||
{
|
||||
if (action == 0)
|
||||
{
|
||||
if (player->GetBaseSkillValue(SKILL_COOKING) >= 175)
|
||||
{
|
||||
player->PrepareGossipMenu(me, GOSSIP_COOKING_SKILL_HIGH);
|
||||
player->SendPreparedGossip(me);
|
||||
DoCast(player, SPELL_TEACHING_GOLDTHORN_TEA);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->PrepareGossipMenu(me, GOSSIP_COOKING_SKILL_LOW);
|
||||
player->SendPreparedGossip(me);
|
||||
}
|
||||
}
|
||||
|
||||
if (action == 1)
|
||||
{
|
||||
if (player->GetBaseSkillValue(SKILL_ALCHEMY) >= 180)
|
||||
{
|
||||
player->PrepareGossipMenu(me, GOSSIP_ALCHEMY_SKILL_HIGH);
|
||||
player->SendPreparedGossip(me);
|
||||
DoCast(player, SPELL_TEACHING_MIGHTY_TROLLS_BLOOD_POTION);
|
||||
}
|
||||
else
|
||||
{
|
||||
player->PrepareGossipMenu(me, GOSSIP_ALCHEMY_SKILL_LOW);
|
||||
player->SendPreparedGossip(me);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
CreatureAI* GetAI(Creature* creature) const override
|
||||
{
|
||||
return new npc_henry_sternAI(creature);
|
||||
}
|
||||
};
|
||||
|
||||
/*######
|
||||
## npc_belnistrasz for Quest 3525 "Extinguishing the Idol"
|
||||
######*/
|
||||
|
||||
@@ -460,7 +393,6 @@ public:
|
||||
|
||||
void AddSC_razorfen_downs()
|
||||
{
|
||||
new npc_henry_stern();
|
||||
new npc_belnistrasz();
|
||||
new npc_idol_room_spawner();
|
||||
new npc_tomb_creature();
|
||||
|
||||
@@ -34,13 +34,40 @@ using boost::asio::ip::tcp;
|
||||
template<class T, class PacketType>
|
||||
class Socket : public std::enable_shared_from_this<T>
|
||||
{
|
||||
typedef typename std::conditional<std::is_pointer<PacketType>::value, PacketType, PacketType const&>::type WritePacketType;
|
||||
|
||||
public:
|
||||
Socket(tcp::socket&& socket, std::size_t headerSize) : _socket(std::move(socket)), _headerSize(headerSize) { }
|
||||
|
||||
virtual void Start() = 0;
|
||||
|
||||
boost::asio::ip::address GetRemoteIpAddress() const { return _socket.remote_endpoint().address(); };
|
||||
uint16 GetRemotePort() const { return _socket.remote_endpoint().port(); }
|
||||
boost::asio::ip::address GetRemoteIpAddress() const
|
||||
{
|
||||
boost::system::error_code error;
|
||||
auto ep = _socket.remote_endpoint(error);
|
||||
|
||||
if (error)
|
||||
{
|
||||
TC_LOG_DEBUG("network", "Socket::GetRemoteIpAddress: errored with: %i (%s)", error.value(), error.message().c_str());
|
||||
return boost::asio::ip::address();
|
||||
}
|
||||
else
|
||||
return ep.address();
|
||||
}
|
||||
|
||||
uint16 GetRemotePort() const
|
||||
{
|
||||
boost::system::error_code error;
|
||||
auto ep = _socket.remote_endpoint(error);
|
||||
|
||||
if (error)
|
||||
{
|
||||
TC_LOG_DEBUG("network", "Socket::GetRemotePort: errored with: %i (%s)", error.value(), error.message().c_str());
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
return ep.port();
|
||||
}
|
||||
|
||||
void AsyncReadHeader()
|
||||
{
|
||||
@@ -68,7 +95,7 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void AsyncWrite(PacketType const& data)
|
||||
void AsyncWrite(WritePacketType data)
|
||||
{
|
||||
boost::asio::async_write(_socket, boost::asio::buffer(data), std::bind(&Socket<T, PacketType>::WriteHandler, this->shared_from_this(), std::placeholders::_1,
|
||||
std::placeholders::_2));
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
#include "RealmList.h"
|
||||
#include "World.h"
|
||||
#include "MapManager.h"
|
||||
#include "InstanceSaveMgr.h"
|
||||
#include "ObjectAccessor.h"
|
||||
#include "ScriptMgr.h"
|
||||
#include "OutdoorPvP/OutdoorPvPMgr.h"
|
||||
@@ -251,6 +252,7 @@ extern int main(int argc, char** argv)
|
||||
// unload battleground templates before different singletons destroyed
|
||||
sBattlegroundMgr->DeleteAllBattlegrounds();
|
||||
|
||||
sInstanceSaveMgr->Unload();
|
||||
sMapMgr->UnloadAll(); // unload all grids (including locked in memory)
|
||||
sObjectAccessor->UnloadAll(); // unload 'i_player2corpse' storage and remove from world
|
||||
sScriptMgr->Unload();
|
||||
@@ -537,7 +539,7 @@ variables_map GetConsoleArguments(int argc, char** argv, std::string& configFile
|
||||
{
|
||||
// Silences warning about configService not be used if the OS is not Windows
|
||||
(void)configService;
|
||||
|
||||
|
||||
options_description all("Allowed options");
|
||||
all.add_options()
|
||||
("help,h", "print usage message")
|
||||
|
||||
Reference in New Issue
Block a user