Merge branch 'master' into Playerbot

# Conflicts:
#	src/server/game/Entities/Player/Player.h
This commit is contained in:
郑佩茹
2023-03-16 10:00:13 -06:00
325 changed files with 12322 additions and 7378 deletions

36
.github/workflows/cpp-check.yml vendored Normal file
View File

@@ -0,0 +1,36 @@
name: cpp-check
on:
push:
branches:
- "master"
paths:
- src/**
- "!README.md"
- "!docs/**"
pull_request:
paths:
- src/**
- "!README.md"
- "!docs/**"
jobs:
cpp-check:
strategy:
fail-fast: false
runs-on: ubuntu-22.04
name: cpp check
steps:
- uses: actions/checkout@v2
- name: cpp check
run: |
sudo apt update -y
sudo apt install -y cppcheck
cppcheck --force --inline-suppr \
-i src/server/game/Achievements/AchievementMgr.cpp \
-i src/server/game/AuctionHouse/AuctionHouseMgr.cpp \
-i src/server/game/Battlegrounds/Zones/BattlegroundSA.cpp \
-i src/server/game/DungeonFinding/LFGMgr.cpp \
-i src/server/game/Entities/GameObject/GameObject.cpp \
-i src/server/game/Entities/Pet/Pet.cpp \
-i src/server/game/Entities/Player/Player.cpp \
src/

3
.gitignore vendored
View File

@@ -27,6 +27,9 @@
/.env*
/apps/joiner
/deps/deno
/data/sql/custom/*
/src/server/scripts/Custom/*
!/src/server/scripts/Custom/README.md
/docker-compose.override.yml

View File

@@ -0,0 +1,7 @@
-- DB update 2023_01_31_00 -> 2023_03_04_00
--
DROP TABLE IF EXISTS `profanity_name`;
CREATE TABLE `profanity_name` (
`name` VARCHAR(12) NOT NULL,
PRIMARY KEY (`name`)
) ENGINE=InnoDB;

View File

@@ -0,0 +1,39 @@
-- DB update 2023_02_28_00 -> 2023_03_01_00
-- Bonechewer Messenger
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid`=21244 AND `id`=0;
-- Coilskar Cistern
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid`=-25065 AND `id`=1002;
-- The Botanica
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=9 AND `entryorguid` IN (1842000, 1842002) AND `id`=3;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=9 AND `entryorguid` IN (1842001, 1842003) AND `id`=5;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid` IN (-147029, -147030, -147031, -147032, -147034) AND `id`=1001;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid`=-147058 AND `id`=1002;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=9 AND `entryorguid`=1842100 AND `id`=5;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=9 AND `entryorguid` IN (1950501, 1950502, 1950503, 1950504) AND `id`=1;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid` IN (-147019, -147021, -147022, -147023, -147020, -147024, -147006, -147018, -147005, -147007) AND `id`=1002;
UPDATE `smart_scripts` SET `action_param6`=2 WHERE `source_type`=0 AND `entryorguid`=-147035 AND `id` IN (1001, 1004);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-147040, -147025, -147026));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-147040, 0, 0, 0, 0, 0, 100, 0, 2500, 3000, 12500, 13000, 0, 11, 34793, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - In Combat - Cast \'Arcane Blast\''),
(-147040, 0, 1, 0, 2, 0, 100, 1, 60, 80, 0, 0, 0, 11, 34791, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 60-80% Health - Cast \'Arcane Explosion\' (No Repeat)'),
(-147040, 0, 2, 0, 2, 0, 100, 1, 20, 40, 0, 0, 0, 11, 34785, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Between 20-40% Health - Cast \'Arcane Volley\' (No Repeat)'),
(-147040, 0, 1001, 1002, 10, 0, 100, 1, 0, 90, 0, 0, 1, 45, 1, 1, 0, 0, 0, 0, 10, 147025, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'),
(-147040, 0, 1002, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 147026, 17993, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Peacekeeper - Within 0-90 Range Out of Combat LoS - Set Data 1 1'),
(-147026, 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'),
(-147026, 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''),
(-147026, 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''),
(-147026, 0, 1001, 0, 58, 0, 100, 1, 6, 1799308, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'),
(-147026, 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799308, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'),
(-147026, 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed'),
(-147025, 0, 0, 0, 0, 0, 100, 1, 2000, 4000, 0, 0, 0, 11, 34784, 0, 0, 0, 0, 0, 26, 20, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Intervene\' (No Repeat)'),
(-147025, 0, 1, 0, 0, 0, 100, 0, 4000, 6000, 9000, 11000, 0, 11, 29765, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Crystal Strike\''),
(-147025, 0, 2, 0, 0, 0, 100, 0, 8000, 10000, 15000, 20000, 0, 11, 35399, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - In Combat - Cast \'Spell Reflection\''),
(-147025, 0, 1001, 0, 58, 0, 100, 1, 7, 1799309, 0, 0, 0, 80, 1799301, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Waypoint Finished - Run Script'),
(-147025, 0, 1002, 0, 38, 0, 100, 1, 1, 1, 0, 0, 0, 53, 0, 1799309, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Data Set 1 1 - Start Waypoint'),
(-147025, 0, 1003, 0, 11, 0, 100, 1, 0, 0, 0, 0, 0, 40, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Bloodwarder Protector - On Respawn - Set Sheath Unarmed');
UPDATE `creature` SET `position_x`=6.90713, `position_y`=230.813, `position_z`=-5.45704, `orientation`=3.45575 WHERE `id1`=17993 AND `guid`=147025;
UPDATE `creature` SET `position_x`=-8.30962, `position_y`=231.934, `position_z`=-5.45701, `orientation`=0.349066 WHERE `id1`=17993 AND `guid`=147026;

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_01_00 -> 2023_03_01_01
-- Delete hack fix
UPDATE `gameobject_template` SET `Data1` = 0 WHERE (`entry` = 182583);
DELETE FROM `gameobject_loot_template` WHERE `Entry` = 19414;

View File

@@ -0,0 +1,193 @@
-- DB update 2023_03_01_01 -> 2023_03_01_02
--
UPDATE `gameobject` SET `spawntimesecs`=180 WHERE `id`=184948;
DELETE FROM `gameobject` WHERE `id`=184948 AND `map`=530 AND `guid` IN (20041,20329,20330,20331,20363,20366,20370,20372,20374,20376,20401,20444,20453,20466,20474,20475,20476,20477,20497,20511,20577,20593,20594,20595,20596,20597,20598,20599,20600,20601,20602,20603,20604,20605,20606,20607,20608,20609,20610,20611,20612,20613,20614,20615,20653,20724,20734,20742,20751,20753,20754,20755,20817);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`) VALUES
(20041, 184948, 530, 3520, 1, -3177.23, 2372.84, 61.9757, -2.96704, 0, 0, -0.996194, 0.0871655, 180, 100, 1),
(20329, 184948, 530, 3520, 1, -3595.77, 2014.1, 68.6959, -2.25147, 0, 0, -0.902584, 0.430513, 180, 100, 1),
(20330, 184948, 530, 3520, 1, -3436.98, 2072.21, 80.8401, 1.18682, 0, 0, 0.559191, 0.829039, 180, 100, 1),
(20331, 184948, 530, 3520, 1, -3469.44, 1924.83, 91.0128, 0.750491, 0, 0, 0.366501, 0.930418, 180, 100, 1),
(20363, 184948, 530, 3520, 1, -3457.95, 1948.24, 86.7169, 0.715585, 0, 0, 0.350207, 0.936672, 180, 100, 1),
(20366, 184948, 530, 3520, 1, -3585.65, 2028.37, 67.4767, -0.593412, 0, 0, -0.292372, 0.956305, 180, 100, 1),
(20370, 184948, 530, 3520, 1, -3446.31, 1970.54, 83.1735, 2.58308, 0, 0, 0.961261, 0.275641, 180, 100, 1),
(20372, 184948, 530, 3520, 1, -3484.72, 1913.96, 90.9911, 0.139624, 0, 0, 0.0697553, 0.997564, 180, 100, 1),
(20374, 184948, 530, 3520, 1, -3597.36, 2068.67, 69.3172, 0.733038, 0, 0, 0.358368, 0.93358, 180, 100, 1),
(20376, 184948, 530, 3520, 1, -3467.85, 2101.52, 86.6204, -2.93214, 0, 0, -0.994521, 0.104535, 180, 100, 1),
(20401, 184948, 530, 3520, 1, -3445.23, 2089.97, 82.252, 0.872664, 0, 0, 0.422618, 0.906308, 180, 100, 1),
(20444, 184948, 530, 3520, 1, -3452.18, 2118.2, 86.034, -2.14675, 0, 0, -0.878816, 0.477161, 180, 100, 1),
(20453, 184948, 530, 3520, 1, -3488.5, 2111.64, 88.7521, 0.209439, 0, 0, 0.104528, 0.994522, 180, 100, 1),
(20466, 184948, 530, 3520, 1, -3053.35, 2390.32, 62.1312, 0.698131, 0, 0, 0.34202, 0.939693, 180, 100, 1),
(20474, 184948, 530, 3520, 1, -3268.56, 2484.83, 63.7767, 1.32645, 0, 0, 0.615661, 0.788011, 180, 100, 1),
(20475, 184948, 530, 3520, 1, -4045.82, 1988.78, 83.6576, -2.11185, 0, 0, -0.870356, 0.492423, 180, 100, 1),
(20476, 184948, 530, 3520, 1, -3232.92, 2440.37, 62.4803, 2.74016, 0, 0, 0.979924, 0.199371, 180, 100, 1),
(20477, 184948, 530, 3520, 1, -4161.6, 1688.8, 91.149, 2.9845, 0, 0, 0.996917, 0.0784656, 180, 100, 1),
(20497, 184948, 530, 3520, 1, -3336.36, 2577.88, 58.2156, -0.453785, 0, 0, -0.224951, 0.97437, 180, 100, 1),
(20511, 184948, 530, 3520, 1, -4166.13, 1668.65, 91.3104, 0.261798, 0, 0, 0.130525, 0.991445, 180, 100, 1),
(20577, 184948, 530, 3520, 1, -3365.5, 2583.54, 58.8089, -2.53072, 0, 0, -0.953716, 0.300709, 180, 100, 1),
(20593, 184948, 530, 3520, 1, -3443.75, 1923.5, 92.7791, 0.279252, 0, 0, 0.139173, 0.990268, 180, 100, 1),
(20594, 184948, 530, 3520, 1, -3421.82, 1955.19, 83.447, 2.67035, 0, 0, 0.972369, 0.233447, 180, 100, 1),
(20595, 184948, 530, 3520, 1, -3438.19, 2188.66, 76.2026, -1.78023, 0, 0, -0.777144, 0.629323, 180, 100, 1),
(20596, 184948, 530, 3520, 1, -3403.01, 2439.82, 59.7999, -0.890117, 0, 0, -0.430511, 0.902586, 180, 100, 1),
(20597, 184948, 530, 3520, 1, -3464.85, 1907, 94.9282, 3.14159, 0, 0, 1, 0.00000126759, 180, 100, 1),
(20598, 184948, 530, 3520, 1, -3433.8, 2110, 80.1981, 0.872664, 0, 0, 0.422618, 0.906308, 180, 100, 1),
(20599, 184948, 530, 3520, 1, -4149.18, 1901.43, 70.6008, -1.27409, 0, 0, -0.594823, 0.803857, 180, 100, 1),
(20600, 184948, 530, 3520, 1, -3390.48, 2348.3, 64.3622, 0.349065, 0, 0, 0.173648, 0.984808, 180, 100, 1),
(20601, 184948, 530, 3520, 1, -3610.32, 2090.33, 70.4547, 2.54818, 0, 0, 0.956305, 0.292372, 180, 100, 1),
(20602, 184948, 530, 3520, 1, -3454.63, 2382.61, 62.9693, -2.09439, 0, 0, -0.866024, 0.500002, 180, 100, 1),
(20603, 184948, 530, 3520, 1, -4161.62, 1716.38, 92.6141, -2.84488, 0, 0, -0.989015, 0.147813, 180, 100, 1),
(20604, 184948, 530, 3520, 1, -3486.04, 2451.25, 66.7612, -2.77507, 0, 0, -0.983255, 0.182237, 180, 100, 1),
(20605, 184948, 530, 3520, 1, -3256.08, 2546.08, 63.4731, 0.139624, 0, 0, 0.0697553, 0.997564, 180, 100, 1),
(20606, 184948, 530, 3520, 1, -4192.01, 1877.2, 105.001, 1.43117, 0, 0, 0.656059, 0.75471, 180, 100, 1),
(20607, 184948, 530, 3520, 1, -3346.29, 2470.03, 60.5083, -1.18682, 0, 0, -0.559191, 0.829039, 180, 100, 1),
(20608, 184948, 530, 3520, 1, -4162.95, 1878.71, 92.3995, 0.680677, 0, 0, 0.333806, 0.942642, 180, 100, 1),
(20609, 184948, 530, 3520, 1, -4206.43, 1652.69, 90.5876, 1.67551, 0, 0, 0.743143, 0.669133, 180, 100, 1),
(20610, 184948, 530, 3520, 1, -4232.03, 1656.2, 94.187, 2.42601, 0, 0, 0.936673, 0.350206, 180, 100, 1),
(20611, 184948, 530, 3520, 1, -3380.86, 2383.34, 62.0297, 2.72271, 0, 0, 0.978147, 0.207914, 180, 100, 1),
(20612, 184948, 530, 3520, 1, -3419.74, 2536.26, 52.5607, -0.104719, 0, 0, -0.0523356, 0.99863, 180, 100, 1),
(20613, 184948, 530, 3520, 1, -3477.63, 2540.58, 60.9018, 0.610864, 0, 0, 0.300705, 0.953717, 180, 100, 1),
(20614, 184948, 530, 3520, 1, -3250.76, 2549.58, 63.816, 1.98967, 0, 0, 0.838669, 0.544641, 180, 100, 1),
(20615, 184948, 530, 3520, 1, -3357.01, 2617.84, 61.5568, 0.122173, 0, 0, 0.0610485, 0.998135, 180, 100, 1),
(20653, 184948, 530, 3520, 1, -3413.61, 2610.21, 59.8124, 0.523598, 0, 0, 0.258819, 0.965926, 180, 100, 1),
(20724, 184948, 530, 3520, 1, -3443.52, 2543.19, 58.7163, 2.53072, 0, 0, 0.953716, 0.300709, 180, 100, 1),
(20734, 184948, 530, 3520, 1, -3322.32, 2588.94, 59.6109, -1.23918, 0, 0, -0.580701, 0.814117, 180, 100, 1),
(20742, 184948, 530, 3520, 1, -3550.19, 2258.08, 77.5607, 1.43117, 0, 0, 0.656059, 0.75471, 180, 100, 1),
(20751, 184948, 530, 3520, 1, -3567.57, 2204.41, 79.3999, 1.27409, 0, 0, 0.594823, 0.803857, 180, 100, 1),
(20753, 184948, 530, 3520, 1, -3400.29, 2575.96, 59.6093, -1.5708, 0, 0, -0.707108, 0.707106, 180, 100, 1),
(20754, 184948, 530, 3520, 1, -3447.04, 2525.51, 60.1205, 0.069812, 0, 0, 0.0348989, 0.999391, 180, 100, 1),
(20755, 184948, 530, 3520, 1, -3303.98, 2538.64, 58.1634, -0.209439, 0, 0, -0.104528, 0.994522, 180, 100, 1),
(20817, 184948, 530, 3520, 1, -3429.94, 2452.05, 56.4512, -2.04204, 0, 0, -0.852641, 0.522496, 180, 100, 1);
SET @POOL := 104;
DELETE FROM `pool_template` WHERE `entry`=@POOL AND `description`='Ever-burning Ash (184948)';
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES (@POOL, 68, 'Ever-burning Ash (184948)');
DELETE FROM `pool_gameobject` WHERE `pool_entry`=@POOL AND `description`='Ever-burning Ash (184948)';
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(20041 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20329 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20330 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20331 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20363 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20366 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20370 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20372 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20374 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20376 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20401 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20444 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20453 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20466 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20474 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20475 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20476 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20477 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20497 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20511 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20577 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20593 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20594 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20595 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20596 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20597 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20598 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20599 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20600 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20601 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20602 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20603 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20604 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20605 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20606 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20607 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20608 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20609 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20610 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20611 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20612 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20613 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20614 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20615 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20653 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20724 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20734 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20742 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20751 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20753 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20754 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20755 , @POOL, 0, 'Ever-burning Ash (184948)'),
(20817 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25834 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25835 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25836 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25837 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25838 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25839 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25840 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25841 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25842 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25843 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25844 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25845 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25846 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25847 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25848 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25849 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25850 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25851 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25852 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25853 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25854 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25855 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25856 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25857 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25858 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25859 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25860 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25861 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25862 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25863 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25864 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25865 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25866 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25867 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25868 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25869 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25870 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25871 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25872 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25873 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25874 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25875 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25876 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25877 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25878 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25879 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25880 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25881 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25882 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25883 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25884 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25885 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25886 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25887 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25888 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25889 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25890 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25891 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25892 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25893 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25894 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25895 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25896 , @POOL, 0, 'Ever-burning Ash (184948)'),
(25897 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28424 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28479 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28480 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28481 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28482 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28483 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28485 , @POOL, 0, 'Ever-burning Ash (184948)'),
(28486 , @POOL, 0, 'Ever-burning Ash (184948)'),
(100374, @POOL, 0, 'Ever-burning Ash (184948)');

View File

@@ -0,0 +1,89 @@
-- DB update 2023_03_01_02 -> 2023_03_01_03
-- Karsius (21877)
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21877);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21877, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 86, 37784, 0, 9, 21876, 0, 100, 19, 21867, 100, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Aggro - Cross Cast \'Enforced Submission\''),
(21877, 0, 1, 0, 38, 0, 100, 512, 2, 2, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Data Set 2 2 - Evade'),
(21877, 0, 2, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 80, 2187700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Respawn - Run Script'),
(21877, 0, 3, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 21872, 200, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Just Died - Set Data 1 1'),
(21877, 0, 4, 0, 7, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 21872, 200, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Evade - Set Data 2 2');
-- Karsius On Respawn
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2187700);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2187700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 17, 333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Respawn - Set Emote State 333'),
(2187700, 9, 1, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Respawn - Set Unit Flags'),
(2187700, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 19, 21867, 0, 0, 0, 0, 0, 0, 0, 'Karsius the Ancient Watcher - On Respawn - Set Unit Flags');
-- Success Event (On Karsius Death)
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (2187200, 2187201, 2187202));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
-- Set Event Phase for success
(2187200, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 21877, 100, 1, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Say Line 1'),
(2187200, 9, 1, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 9, 21876, 0, 200, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Despawn Chain of Shadows'),
(2187200, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 21867, 0, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Set Data 1 1'),
(2187200, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 28, 37782, 0, 0, 0, 0, 0, 17, 0, 200, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Remove Aura \'Serverside - Disembodied Spirit\''),
(2187200, 9, 4, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 28, 37748, 0, 0, 0, 0, 0, 17, 0, 200, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Remove Aura \'Teron Gorefiend\''),
(2187200, 9, 5, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 28, 37748, 0, 0, 0, 0, 0, 9, 21867, 0, 200, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Remove Aura \'Teron Gorefiend\''),
(2187200, 9, 6, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 19, 21877, 100, 1, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Death - Despawn'),
-- Failure Event 1 (Evade)
-- Set Event Phase
(2187201, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 21877, 100, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Evade - Say Line 2'),
(2187201, 9, 1, 0, 0, 0, 100, 512, 1200, 1200, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 9, 21876, 0, 200, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Evade - Despawn Instant'),
(2187201, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21797, 0, 1, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Evade - Despawn Instant'),
(2187201, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21867, 0, 1, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Evade - Despawn Instant'),
(2187201, 9, 4, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 21877, 100, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Karsius Evade - Despawn Instant');
-- Teron Gorefiend (21867)
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21867);
-- Ancient Shadowmoon Spirit (21797)
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21797);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21797, 0, 0, 1, 19, 0, 100, 512, 10645, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Quest \'Teron Gorefiend, I am...\' Taken - Store Targetlist'),
(21797, 0, 1, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 80, 2179700, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Quest \'Teron Gorefiend, I am...\' Taken - Run Script'),
(21797, 0, 2, 3, 19, 0, 100, 512, 10639, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Quest \'Teron Gorefiend, I am...\' Taken - Store Targetlist'),
(21797, 0, 3, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 80, 2179700, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Quest \'Teron Gorefiend, I am...\' Taken - Run Script'),
(21797, 0, 4, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 80, 2179701, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Data Set - Run Script 2'),
(21797, 0, 5, 0, 40, 0, 100, 512, 3, 21867, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Reached WP7 - Despawn'),
(21797, 0, 6, 7, 6, 0, 100, 512, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 21877, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Death - Set Data 2 2 on Karsius the Ancient Watcher'),
(21797, 0, 7, 8, 61, 0, 100, 512, 0, 0, 0, 0, 0, 28, 37782, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Just Died - Remove Aura Disembodied Spirit'),
(21797, 0, 8, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 28, 37748, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Just Died - Remove Aura Teron Gorefiend'),
(21797, 0, 9, 0, 60, 1, 100, 513, 300000, 300000, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - On Update - Despawn Instant (Phase 1) (No Repeat)');
-- The Voice of Gorefiend (21872)
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 21872;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21872);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21872, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 2187200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Data Set 1 1 - Run Success Script'),
(21872, 0, 1, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 80, 2187201, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'The Voice of Gorefiend - On Data Set 2 2 - Run Failure Script');
-- Script Start
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2179700);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2179700, 9, 0 , 0, 0, 0, 100, 0, 1400, 1400, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Set Orientation Player (Stored)'),
(2179700, 9, 1 , 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Say Line 0'),
(2179700, 9, 2 , 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 36, 21867, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Update Template To \'Teron Gorefiend\''),
(2179700, 9, 3 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Set Flags Immune To Players'),
(2179700, 9, 4 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Set Npc Flag '),
(2179700, 9, 5 , 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 75, 37782, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Add Aura \'Serverside - Disembodied Spirit\''),
(2179700, 9, 6 , 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 85, 37769, 2, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Invoker Cast \'Serverside - Teron Gorefiend\''),
(2179700, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Set Event Phase 1'),
(2179700, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 37789, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Cast \'Teron Freed\''),
(2179700, 9, 9, 0, 0, 0, 100, 512, 2000, 2000, 0, 0, 0, 12, 21877, 1, 300000, 0, 0, 0, 8, 0, 0, 0, 0, -4535.79, 1029.28, 8.83636, 3.78736, 'Ancient Shadowmoon Spirit - Actionlist - Summon Creature \'Karsius the Ancient Watcher\''),
(2179700, 9, 10, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 21877, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Say Line 0'),
(2179700, 9, 11, 0, 0, 0, 100, 512, 9000, 9000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 21872, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Say Line 0');
-- Script End Event
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2179701);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2179701, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Evade'),
(2179701, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Set Event Phase 0'),
(2179701, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 43, 0, 10720, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Mount To Model 10720'),
(2179701, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Say Line 0'),
(2179701, 9, 4, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Say Line 1'),
(2179701, 9, 5, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 53, 1, 21867, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ancient Shadowmoon Spirit - Actionlist - Start Waypoint');
-- Cleanup Chain of Shadows Script
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 21876) AND (`source_type` = 0) AND (`id` IN (3));

View File

@@ -0,0 +1,281 @@
-- DB update 2023_03_01_03 -> 2023_03_01_04
-- Delete old custom creature_template entries
DELETE FROM `creature_template` WHERE `entry` IN (
61021, -- Adyen the Lightwarden
50004, -- Adyen Trigger
50002, -- Exarch Orelis
50001 -- Anchorite Karja
);
-- Delete Adyen Trigger
DELETE FROM `creature` WHERE `id1`=50004 AND `guid`=3110359;
DELETE FROM `creature_equip_template` WHERE (`CreatureID` IN (50001, 50002, 61021));
DELETE FROM `creature_template_spell` WHERE (`CreatureID` IN (50001, 50002, 61021));
-- Delete old waypoints
DELETE FROM `waypoint_data` WHERE `id` IN (
610210, -- ADYEN_PATH_ID
500010, -- KARJA_PATH_ID
500020, -- ORELIS_PATH_ID
207940, -- KAYLAAN_PATH_ID1
207941, -- KAYLAAN_PATH_ID2
500050 -- ISHANAH_PATH_ID
);
-- Delete old texts
DELETE FROM `creature_text` WHERE `creatureid`=61021;
DELETE FROM `creature_text` WHERE `creatureid`=18537;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18537, 0, 0, 'We\'re here for you, lost brother. It is custom to offer you a chance to repent before you are destroyed. We offer you this chance, as the naaru\'s law commands.', 12, 0, 100, 0, 0, 0, 18389, 0, ''),
(18537, 1, 0, 'We may be few, Socrethar, but our faith is strong. Something you will never understand. Now that custom has been served, prepare to meet your end.', 12, 0, 100, 0, 0, 0, 18391, 0, ''),
(18537, 2, 0, 'How... how could you?!', 12, 0, 100, 0, 0, 0, 18393, 0, ''),
(18537, 3, 0, 'Socrethar is clouding your mind, Kaylaan! You do not mean these words! I remember training you when you were but a youngling. Your will was strong even then!', 12, 0, 100, 0, 0, 0, 18397, 0, '');
-- Add proper trigger creature
DELETE FROM `creature` WHERE `id1`=23491;
INSERT INTO `creature` (`guid`, `id1`, `map`, `zoneId`, `areaId`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `VerifiedBuild`) VALUES
(111111, 23491, 530, 3523, 3742, 4819.2363, 3775.88, 210.25194, 5.515240192413330078, 120, 48069);
-- Adyen (18537)
UPDATE `creature_template` SET `AIName` = 'SmartAI', `ScriptName` = '' WHERE (`entry` IN (
18537, -- Adyen the Lightwarden
18538, -- Ishanah
19466, -- Exarch Orelis
19467, -- Anchorite Karja
20132, -- Socrethar
20794, -- Kaylaan the Lost
23491 -- Socrethar Event Trigger
));
-- Orelis (19466)
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = -69725);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-69725, 0, 0, 0, 1, 0, 100, 512, 0, 30000, 180000, 240000, 0, 80, 1946600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - OOC - Run Script');
-- Karja (19467)
UPDATE `creature_template_addon` SET `bytes1` = 0, `bytes2` = 1 WHERE (`entry` = 19467);
DELETE FROM `creature_addon` WHERE (`guid` = 69727);
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(69727, 0, 0, 6, 4097, 0, 0, NULL);
UPDATE `creature` SET `position_x`=4946.936, `position_y`=3849.2083, `position_z`=211.5767, `orientation`=3.892084121704101562, `VerifiedBuild`=48069 WHERE `id1`=20132;
-- Waypoints
DELETE FROM `waypoints` WHERE `entry` IN (1853700, 2079400, 2079401, 2079402, 1853800, 1853801);
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES
-- Adyen
(1853700,1,4819.1963,3769.3455,210.50163,NULL,'Adyen the Lightwarden'),
(1853700,2,4842.374,3776.3086,206.5136,NULL,'Adyen the Lightwarden'),
(1853700,3,4860.4517,3791.8281,199.58647,NULL,'Adyen the Lightwarden'),
(1853700,4,4883.19,3808.0283,198.98213,NULL,'Adyen the Lightwarden'),
(1853700,5,4898.159,3817.5452,208.13782,NULL,'Adyen the Lightwarden'),
(1853700,6,4912.548,3827.1858,211.50491,NULL,'Adyen the Lightwarden'),
(1853700,7,4925.748,3835.356,211.49062,NULL,'Adyen the Lightwarden'),
-- Kaylaan
(2079400,1,4950.1494,3887.8508,212.33162,NULL,'Kaylaan the Lost'),
(2079400,2,4946.882,3872.5073,211.48543,NULL,'Kaylaan the Lost'),
(2079400,3,4939.2324,3853.8499,211.48567,NULL,'Kaylaan the Lost'),
(2079400,4,4941.726,3852.1892,211.46687,NULL,'Kaylaan the Lost'), -- Kneel
(2079401,1,4940.221,3847.4336,211.49857,NULL,'Kaylaan the Lost'), -- Stand by Socrethar
(2079402,1,4938.0044,3834.3682,211.35002,NULL,'Kaylaan the Lost'), -- Stand by Ishanah
-- Ishanah - The Decomposed Waypoints are to avoid floating/flying. If in the future movement is changed then they could be safely removed
(1853800,1 ,4881.5283,3806.9114,199.50269,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,2 ,4883.5283,3808.6614,199.50269,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,3 ,4885.7783,3810.4114,199.50269,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,4 ,4889.5283,3812.4114,202.75269,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,5 ,4894.203,3814.9324,205.52324,NULL,'Ishanah'),
(1853800,6 ,4898.7446,3817.81,208.48784,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,7 ,4907.2446,3822.81,211.73784,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,8 ,4909.8877,3824.375,211.50648,NULL,'Ishanah'),
(1853800,9 ,4910.0957,3824.607,211.6725,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,10,4919.0957,3826.607,211.6725,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,11,4919.5957,3826.607,211.6725,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,12,4922.5957,3827.357,211.6725,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,13,4923.284,3827.5364,211.48683,NULL,'Ishanah'),
(1853800,14,4926.301,3828.2864,211.71806,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,15,4932.801,3829.7864,211.71806,NULL,'Ishanah - Decomposed Waypoint'),
(1853800,16,4933.633,3830.1167,211.43718,NULL,'Ishanah'),
(1853800,17,4935.647,3831.1455,211.39305,NULL,'Ishanah'),
(1853800,18,4937.065,3832.6042,211.42769,NULL,'Ishanah');
-- Spawning Event
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 23491);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(23491, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 107, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar Event Trigger - On Data Set 1 1 - Summon Creature Group 0');
DELETE FROM `creature_summon_groups` WHERE `summonerId`=23491 AND `summonerType`=0 AND `Comment` LIKE 'Deathblow to the Legion%';
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`, `Comment`) VALUES
(23491, 0, 0, 18537, 4805.796, 3774.1116, 210.61717, 5.550147056579589843, 6, 60000, 'Deathblow to the Legion - Adyen'),
(23491, 0, 0, 19466, 4804.807, 3775.562, 210.6171, 5.532693862915039062, 6, 60000, 'Deathblow to the Legion - Orelis'),
(23491, 0, 0, 19467, 4803.6367, 3773.8438, 210.61761, 5.602506637573242187, 6, 60000, 'Deathblow to the Legion - Karja');
-- Gossips
DELETE FROM `gossip_menu` WHERE (`MenuID` = 8117);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
(8117, 10051),
(8117, 10210);
DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 8117);
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(8117, 0, 0, 'I\'m ready, Adyen.', 18591, 1, 1, 0, 0, 0, 0, '', 0, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` IN (14, 15)) AND (`SourceGroup` IN (7735, 8117));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
-- Adyen Gossip
(14, 8117, 10051, 0, 0, 23, 1, 3742, 0, 0, 1, 0, 0, '', 'Show text when outside Socrethar\'s Seat'),
(14, 8117, 10210, 0, 0, 23, 1, 3742, 0, 0, 0, 0, 0, '', 'Show text when inside Socrethar\'s Seat'),
(15, 8117, 0, 0, 0, 23, 1, 3742, 0, 0, 0, 0, 0, '', 'Show gossip option only when inside Socrethar\'s Seat'),
(15, 8117, 0, 0, 0, 29, 1, 20132, 200, 0, 0, 0, 0, '', 'Show gossip option only when Socrethar is alive'),
(15, 8117, 0, 0, 0, 29, 1, 20794, 200, 0, 1, 0, 0, '', 'Show gossip option only when Kaylaan hasn\'t spawned'),
(15, 8117, 0, 0, 0, 9, 0, 10409, 0, 0, 0, 0, 0, '', 'Show gossip option only if player has quest \'Deathblow to the Legion\''),
-- Ishanah Gossip
(14, 7735, 9457, 0, 0, 23, 1, 3703, 0, 0, 0, 0, 0, '', 'Show text only when inside Shattrath'),
(15, 7735, 0, 0, 0, 23, 1, 3703, 0, 0, 0, 0, 0, '', 'Show gossip option only when inside Shattrath'),
(15, 7735, 1, 0, 0, 23, 1, 3703, 0, 0, 0, 0, 0, '', 'Show gossip option only when inside Shattrath');
-- SAI Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceEntry` = 23491);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 23491, 0, 0, 29, 1, 18537, 200, 0, 1, 0, 0, '', 'Do not spawn Socrethar Event group if there is already one spawned within 200y'),
(22, 1, 23491, 0, 0, 29, 1, 20794, 200, 0, 1, 0, 0, '', 'Do not spawn Socrethar Event group if Kaylaan has already spawned within 200y');
-- Spell Conditions
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 13) AND (`SourceEntry` IN (35598, 35599, 35600));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13, 1, 35598, 0, 0, 31, 0, 3, 18538, 0, 0, 0, 0, '', 'Wrath of Socrethar (35598) targets Ishanah'),
(13, 1, 35599, 0, 0, 31, 0, 3, 18538, 0, 0, 0, 0, '', 'Resurrection (35599) targets Ishanah'),
(13, 1, 35600, 0, 0, 31, 0, 3, 20794, 0, 0, 0, 0, '', 'Wrath of Socrethar (35600) targets Kaylaan the Lost');
UPDATE `gameobject_template` SET `AIName` = 'SmartGameObjectAI' WHERE `entry` = 184604;
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND `entryorguid` = 184604);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(184604, 1, 0, 0, 63, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 111111, 23491, 0, 0, 0, 0, 0, 0, 'Portal to Socrethar\'s Seat - On Just Created - Set Data 1 1');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (18537, 18538, 19466, 19467, 20132, 20794));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18537, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 81, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Just Summoned - Set Npc Flags Gossip'),
(18537, 0, 1, 2, 62, 0, 100, 0, 8117, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Gossip Option 0 Selected - Store Targetlist'),
(18537, 0, 2, 3, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Gossip Option 0 Selected - Close Gossip'),
(18537, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1853700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Gossip Option 0 Selected - Run Script'),
(18537, 0, 4, 5, 58, 0, 100, 0, 7, 1853700, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Waypoint Finished - Set Data 1 1 on Socrethar (Request Event Start)'),
(18537, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Waypoint Finished - Send Target List to Socrethar'),
(18537, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 39, 30, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - On Aggro - Call For Help'),
(18537, 0, 7, 0, 0, 0, 100, 0, 0, 3500, 2000, 7500, 0, 11, 14518, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - In Combat - Cast \'Crusader Strike\''),
(18537, 0, 8, 0, 0, 0, 100, 0, 15000, 40000, 20000, 60000, 0, 11, 13005, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - In Combat - Cast \'Hammer of Justice\''),
(18538, 0, 0, 1, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1853800, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Data Set 1 1 - Start Waypoint'),
(18538, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 83, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Data Set 1 1 - Remove Npc Flags Gossip & Questgiver'),
(18538, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 250, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Data Set 1 1 - Set Faction 250'),
(18538, 0, 3, 0, 40, 0, 100, 0, 18, 1853800, 0, 0, 0, 80, 1853800, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Waypoint 18 Reached - Run Script'),
(18538, 0, 4, 0, 8, 0, 100, 0, 35598, 0, 0, 0, 0, 11, 29266, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Spellhit \'Wrath of Socrethar\' - Cast \'Permanent Feign Death\''), -- Yes, these are sniffed
(18538, 0, 5, 0, 8, 0, 100, 0, 35599, 0, 0, 0, 0, 28, 29266, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Spellhit \'Resurrection\' - Remove Aura \'Permanent Feign Death\''),
(18538, 0, 6, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 39, 50, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - On Aggro - Call For Help'),
(18538, 0, 7, 0, 0, 0, 100, 0, 0, 3500, 2500, 7500, 0, 11, 15238, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - In Combat - Cast \'Holy Smite\''),
(18538, 0, 8, 0, 14, 0, 100, 0, 5000, 40, 30000, 60000, 0, 11, 35096, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - Friendly At 5000 Health - Cast \'Greater Heal\''),
(18538, 0, 9, 0, 14, 0, 100, 0, 3000, 40, 45000, 75000, 0, 11, 22187, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - Friendly At 3000 Health - Cast \'Power Word: Shield\''),
(19466, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - On Just Summoned - Set Npc Flag '),
(19466, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1946601, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - On Data Set 1 1 - Run Script'),
(19466, 0, 2, 0, 0, 0, 100, 0, 0, 3500, 15000, 21000, 0, 11, 29426, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - In Combat - Cast \'Heroic Strike\''),
(19466, 0, 3, 0, 0, 0, 100, 0, 10000, 15000, 30000, 30000, 0, 11, 16509, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - In Combat - Cast \'Rend\''),
(19466, 0, 4, 0, 0, 0, 100, 0, 7500, 21000, 20000, 45000, 0, 11, 13730, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - In Combat - Cast \'Demoralizing Shout\''),
(19467, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 81, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - On Just Summoned - Set Npc Flag '),
(19467, 0, 1, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1946701, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - On Data Set 1 1 - Run Script'),
(19467, 0, 2, 0, 0, 0, 100, 0, 3500, 10000, 7500, 15000, 0, 11, 9734, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - In Combat - Cast \'Holy Smite\''),
(19467, 0, 3, 0, 14, 0, 100, 0, 4000, 40, 15000, 30000, 0, 11, 35096, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - Friendly At 4000 Health - Cast \'Greater Heal\''),
(20132, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 2013200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Data Set 1 1 - Run Script'),
(20132, 0, 1, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 11, 35596, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Data Set 2 2 - Cast \'Power of the Legion\''),
(20132, 0, 2, 0, 38, 0, 100, 0, 3, 3, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 18538, 50, 0, 0, 0, 0, 0, 0, 'Socrethar - On Data Set 3 3 - Set Orientation Closest Creature \'Ishanah\''),
(20132, 0, 3, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 80, 2013201, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Data Set 4 4 - Run Script'),
(20132, 0, 4, 0, 38, 0, 100, 0, 5, 5, 0, 0, 0, 80, 2013202, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Data Set 5 5 - Run Script'),
(20132, 0, 5, 6, 6, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35762, 3, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cast \'Serverside - Socrethar Quest Credit\''),
(20132, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 82, 3, 0, 0, 0, 0, 0, 19, 18538, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Add Npc Flags Gossip & Questgiver to Ishanah'),
(20132, 0, 7, 8, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 60000, 0, 0, 0, 0, 0, 19, 20794, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cleanup Event'),
(20132, 0, 8, 9, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 60000, 0, 0, 0, 0, 0, 19, 18537, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cleanup Event'),
(20132, 0, 9, 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 150000, 0, 0, 0, 0, 0, 19, 18538, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cleanup Event'),
(20132, 0, 10, 11, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 60000, 0, 0, 0, 0, 0, 19, 19466, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cleanup Event'),
(20132, 0, 11, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 60000, 0, 0, 0, 0, 0, 19, 19467, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - On Just Died - Cleanup Event'),
(20132, 0, 12, 0, 23, 0, 100, 0, 37539, 0, 3600, 3600, 0, 11, 37539, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - On Missing Aura \'Nether Protection\' - Cast \'Nether Protection\''),
(20132, 0, 13, 0, 0, 0, 100, 0, 2500, 7500, 15000, 25000, 0, 11, 15496, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - In Combat - Cast \'Cleave\''),
(20132, 0, 14, 0, 0, 0, 100, 0, 10000, 15000, 40000, 60000, 0, 11, 37538, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - In Combat - Cast \'Anti-Magic Shield\''),
(20132, 0, 15, 0, 0, 0, 100, 0, 17000, 24000, 10000, 35000, 0, 11, 28448, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - In Combat - Cast \'Shadow Bolt Volley\''),
(20132, 0, 16, 0, 0, 0, 100, 0, 30000, 40000, 30000, 40000, 0, 11, 37540, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - In Combat - Cast \'Fireball Barrage\''),
(20132, 0, 17, 0, 0, 0, 100, 0, 30000, 45000, 35000, 50000, 0, 11, 37537, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - In Combat - Cast \'Backlash\''),
(20794, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 0, 2079400, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Data Set 1 1 - Start Waypoint'),
(20794, 0, 1, 0, 58, 0, 100, 0, 4, 2079400, 0, 0, 0, 80, 2079400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Waypoint Finished - Run Script'),
(20794, 0, 2, 0, 2, 0, 100, 1, 0, 25, 0, 0, 0, 80, 2079401, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Between 0-25% Health - Run Script (No Repeat)'),
(20794, 0, 3, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 18538, 50, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Data Set 2 2 - Set Orientation Closest Creature \'Ishanah\''),
(20794, 0, 4, 0, 38, 0, 100, 0, 3, 3, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Data Set 3 3 - Set Flag Standstate Kneel'),
(20794, 0, 5, 0, 38, 0, 100, 0, 4, 4, 0, 0, 0, 80, 2079402, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Data Set 4 4 - Run Script'),
(20794, 0, 6, 0, 8, 0, 100, 0, 35600, 0, 0, 0, 0, 11, 29266, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - On Spellhit \'Wrath of Socrethar\' - Cast \'Permanent Feign Death\''),
(20794, 0, 7, 0, 0, 0, 100, 0, 2500, 7500, 3500, 8500, 0, 11, 37552, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - In Combat - Cast \'Burning Light\''),
(20794, 0, 8, 0, 0, 0, 100, 0, 8000, 12000, 12000, 21000, 0, 11, 37553, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - In Combat - Cast \'Consecration\'');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1853700, 1946601, 1946701, 2013200, 2079400, 2079401, 1853800, 2013201, 2079402, 2013202));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1853700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 19466, 15, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Set Data 1 1 on Exarch Orelis (Start Follow, Set Faction)'),
(1853700, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 19467, 15, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Set Data 1 1 on Anchorite Karja (Start Follow, Set Faction)'),
(1853700, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Remove Npc Flags Gossip'),
(1853700, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 495, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Set Faction 495'),
(1853700, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33600, 0, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Set Socrethar Flags Immune To Players & Immune To NPC\'s'),
(1853700, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1853700, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Adyen the Lightwarden - Actionlist - Start Waypoint'),
(1946601, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 495, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - Actionlist - Set Faction 495'),
(1946601, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 29, 2, 120, 0, 0, 0, 0, 19, 18537, 15, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - Actionlist - Start Follow Closest Creature \'Adyen the Lightwarden\''),
(1946601, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Exarch Orelis - Actionlist - Remove Flags Immune To NPC\'s'),
(1946701, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 495, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - Actionlist - Set Faction 495'),
(1946701, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 29, 2, 240, 0, 0, 0, 0, 19, 18537, 15, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - Actionlist - Start Follow Closest Creature \'Adyen the Lightwarden\''),
(1946701, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Anchorite Karja - Actionlist - Remove Flags Immune To NPC\'s'),
(2013200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Say Line 0 (Adyen the Lightwarden)'),
(2013200, 9, 1, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Say Line 0 (Socrethar)'),
(2013200, 9, 2, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Say Line 1 (Adyen the Lightwarden)'),
(2013200, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20794, 6, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 4955.0845, 3921.3977, 209.04483, 4.570129871368408, 'Socrethar - Actionlist - Summon Creature \'Kaylaan the Lost\''),
(2013200, 9, 5, 0, 0, 0, 100, 0, 6600, 6600, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Say Line 1 (Socrethar)'),
(2013200, 9, 6, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 20794, 100, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Set Data 1 1'),
(2079400, 9, 0, 0, 0, 0, 100, 0, 600, 600, 0, 0, 0, 90, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Flag Standstate Kneel'),
(2079400, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 2 (Adyen the Lightwarden)'),
(2079400, 9, 2, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Flag Standstate Stand Up'),
(2079400, 9, 3, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 53, 0, 2079401, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Start Waypoint'),
(2079400, 9, 4, 0, 0, 0, 100, 0, 2200, 2200, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Orientation Closest Creature \'Adyen the Lightwarden\''),
(2079400, 9, 5, 0, 0, 0, 100, 0, 3800, 3800, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 0 (Self)'),
(2079400, 9, 6, 0, 0, 0, 100, 0, 8500, 8500, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 1 (Self)'),
(2079400, 9, 7, 0, 0, 0, 100, 0, 8500, 8500, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 2 (Self)'),
(2079400, 9, 8, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 3 (Adyen the Lightwarden)'),
(2079400, 9, 9, 0, 0, 0, 100, 0, 6400, 6400, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 3 (Self)'),
(2079400, 9, 10, 0, 0, 0, 100, 0, 6400, 6400, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Data 2 2 on Socrethar - Cast \'Power of the Legion\''),
(2079400, 9, 11, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Faction 14'),
(2079400, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 2 (Socrethar)'),
(2079400, 9, 13, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Invincibility Hp 1'),
(2079400, 9, 14, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 18537, 40, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Start Attacking'),
(2079401, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Flags Immune To Players & Immune To NPC\'s'),
(2079401, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Evade'),
(2079401, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 3 (Socrethar)'),
(2079401, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 12, 18538, 6, 180000, 0, 0, 0, 8, 0, 0, 0, 0, 4866.1997, 3799.0156, 199.14102, 0.46805843710899353, 'Kaylaan the Lost - Actionlist - Summon Creature \'Ishanah\''),
(2079401, 9, 4, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 18538, 100, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Data 1 1 on Ishanah - Start WP'),
(2079401, 9, 5, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 4 (Self)'),
(2079401, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 256, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Flags Immune To Players'),
(1853800, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 19, 20794, 50, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Set Data 2 2 on Kaylaan - Set Facing'),
(1853800, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Set Data 3 3 on Socrethar - Set Facing'),
(1853800, 9, 2, 0, 0, 0, 100, 0, 100, 100, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20794, 50, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Say Line 5 (Kaylaan)'),
(1853800, 9, 3, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 19, 20794, 50, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Set Data 3 3 on Kaylaan - Set Standstate'),
(1853800, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Say Line 0 (Self)'),
(1853800, 9, 5, 0, 0, 0, 100, 0, 6200, 6200, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Say Line 1 (Self)'),
(1853800, 9, 6, 0, 0, 0, 100, 0, 7000, 7000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Say Line 4 (Socrethar)'),
(1853800, 9, 7, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 45, 4, 4, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Ishanah - Actionlist - Set Data 4 4 on Socrethar - Start Script'),
(2013201, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35598, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Cast \'Wrath of Socrethar\''),
(2013201, 9, 1, 0, 0, 0, 100, 0, 7300, 7300, 0, 0, 0, 45, 4, 4, 0, 0, 0, 0, 19, 20794, 50, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Set Data 4 4 on Kaylaan - Start Script'),
(2079402, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 6'),
(2079402, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 91, 8, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Remove FlagStandstate Kneel'),
(2079402, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35597, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Cast \'Cancel Power of the Legion\''),
(2079402, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 2079402, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Start Waypoint'),
(2079402, 9, 4, 0, 0, 0, 100, 0, 5600, 5600, 0, 0, 0, 2, 290, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Faction 290'),
(2079402, 9, 5, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 1, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Say Line 7'),
(2079402, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 13874, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Cast \'Divine Shield\''),
(2079402, 9, 7, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 11, 35599, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Cast \'Resurrection\''),
(2079402, 9, 8, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 45, 5, 5, 0, 0, 0, 0, 10, 71631, 20132, 0, 0, 0, 0, 0, 0, 'Kaylaan the Lost - Actionlist - Set Data 5 5 on Socrethar - Start Last Script'),
(2013202, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Say Line 5'),
(2013202, 9, 1, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 11, 35600, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Cast \'Wrath of Socrethar\''),
(2013202, 9, 2, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Remove Flags Immune To Players & Immune To NPC\'s'),
(2013202, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 18538, 50, 0, 0, 0, 0, 0, 0, 'Socrethar - Actionlist - Start Attacking');
-- Remove Civilian flag, Add IMMUNE_TO_PLAYERS instead
UPDATE `creature_template` SET `flags_extra`=`flags_extra`&~2, `unit_flags`=`unit_flags`|256 WHERE (`entry` IN (19466, 19467, 18538, 18537));

View File

@@ -0,0 +1,52 @@
-- DB update 2023_03_01_04 -> 2023_03_01_05
--
DELETE FROM `creature` WHERE `id1`=19823 AND `guid` IN (1007, 10994, 25745, 25746);
INSERT INTO `creature` (`guid`, `id1`, `map`, `spawnMask`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`) VALUES
(1007 , 19823, 530, 1, -4486.58, 1998.88, 112.765, 0.113942, 300, 20, 1),
(10994, 19823, 530, 1, -4527.13, 2106.33, 38.1019, 0.221064, 300, 20, 1),
(25745, 19823, 530, 1, -4561.13, 2024.76, 92.2968, 5.31829, 300, 20, 1),
(25746, 19823, 530, 1, -4399.99, 2334.17, 28.1067, 0.071826, 300, 20, 1);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19823);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19823, 0, 0, 0, 6, 0, 100, 512, 0, 0, 0, 0, 0, 11, 38223, 3, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Colossus - On Just Died - Cast \'Quest Credit: Crazed Colossus\''),
(19823, 0, 1, 0, 2, 0, 100, 1, 0, 75, 0, 0, 0, 11, 37947, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Colossus - Between 0-75% Health - Cast \'Serverside - Summon Crazed Shardling\' (No Repeat)'),
(19823, 0, 2, 0, 2, 0, 100, 1, 0, 50, 0, 0, 0, 11, 37948, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Colossus - Between 0-50% Health - Cast \'Serverside - Summon Crazed Shardling\' (No Repeat)'),
(19823, 0, 3, 0, 2, 0, 100, 1, 0, 25, 0, 0, 0, 11, 37949, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Crazed Colossus - Between 0-25% Health - Cast \'Serverside - Summon Crazed Shardling\' (No Repeat)');
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64, `EffectBasePoints_1` = 0 WHERE `ID` IN (37947, 37948, 37949);
DELETE FROM `creature_text` WHERE `CreatureID`=22054;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(22054, 0, 0, 'Brashly you have attacked my children, Illidan! The pact is broken. Giant will never side with elf! NEVER!', 14, 0, 100, 0, 0, 0, 19737, 2, 'Behemothon, King of the Colossi'),
(22054, 1, 0, '%s roars in defiance.', 16, 0, 100, 0, 0, 3685, 19739, 2, 'Behemothon, King of the Colossi');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2205400);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2205400, 9, 0, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Behemothon, King of the Colossi - Actionlist - Say Line 0'),
(2205400, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Behemothon, King of the Colossi - Actionlist - Say Line 1');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 22054;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 22054);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(22054, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 3, 0, 20577, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Behemothon, King of the Colossi - On Respawn - Hack: Change modelid to correct one by script'),
(22054, 0, 1, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Behemothon, King of the Colossi - On Respawn - Set Active On'),
(22054, 0, 2, 0, 38, 0, 100, 0, 1, 1, 60000, 60000, 0, 80, 2205400, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Behemothon, King of the Colossi - On Data Set 1 1 - Run Script');
UPDATE `creature_template_addon` SET `visibilityDistanceType` = 5 WHERE (`entry` = 22054);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21769);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21769, 0, 0, 1, 62, 0, 100, 512, 30008, 1, 0, 0, 0, 56, 31108, 1, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - On Gossip Option 1 Selected - Add Item \'Kor\'kron Flare Gun\' 1 Time'),
(21769, 0, 1, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - On Gossip Option 1 Selected - Close Gossip'),
(21769, 0, 2, 0, 1, 0, 100, 0, 120000, 120000, 300000, 300000, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - Out of Combat - Say Line 0'),
(21769, 0, 3, 4, 62, 0, 100, 512, 8443, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - On Gossip Option 0 Selected - Close Gossip'),
(21769, 0, 4, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 85, 38172, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - On Gossip Option 0 Selected - Invoker Cast \'Serverside - Create Kor`kron Flare Gun\''),
(21769, 0, 5, 0, 20, 0, 100, 0, 10769, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 77278, 22054, 0, 0, 0, 0, 0, 0, 'Overlord Or\'barokh - On Quest \'Dissension Amongst the Ranks...\' Finished - Set Data 1 1');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21773);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21773, 0, 0, 0, 1, 0, 100, 0, 120000, 120000, 200000, 260000, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Thane Yoregar - Out of Combat - Say Line 0'),
(21773, 0, 1, 2, 62, 0, 100, 512, 8457, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Thane Yoregar - On Gossip Option 0 Selected - Close Gossip'),
(21773, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 85, 38251, 2, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Thane Yoregar - On Gossip Option 0 Selected - Invoker Cast \'Serverside - Create Wildhammer Flare Gun\''),
(21773, 0, 3, 0, 20, 0, 100, 0, 10776, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 77278, 22054, 0, 0, 0, 0, 0, 0, 'Thane Yoregar - On Quest \'Dissension Amongst the Ranks...\' Finished - Set Data 1 1');

View File

@@ -0,0 +1,183 @@
-- DB update 2023_03_01_05 -> 2023_03_01_06
--
DELETE FROM `creature` WHERE `id1` IN (20561, 20340);
INSERT INTO `creature` (`guid`, `id1`, `map`, `ZoneId`, `AreaId`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `MovementType`, `wander_distance`) VALUES
(25747, 20561, 530, 3523, 3880, 1, 3835.91, 2045.9, 145.151, 0.942478, 180, 0, 0),
(25748, 20561, 530, 3523, 3880, 1, 3870.96, 2103.97, 133.353, 1.58825, 180, 0, 0),
(25749, 20561, 530, 3523, 3880, 1, 3987.21, 2132.56, 162.681, 3.40339, 180, 0, 0),
(25750, 20561, 530, 3523, 3880, 1, 3935.88, 2138.8, 160.69, 1.23918, 180, 0, 0),
(25751, 20561, 530, 3523, 3880, 1, 3968.76, 2112.71, 162.382, 6.19592, 180, 0, 0),
(25752, 20561, 530, 3523, 3880, 1, 3926.43, 2105.75, 159.264, 3.61283, 180, 0, 0),
(25753, 20561, 530, 3523, 3880, 1, 3912.87, 2079.35, 153.77, 1.37881, 180, 0, 0),
(25754, 20561, 530, 3523, 3880, 1, 3902.53, 2052.92, 150.162, 3.21141, 180, 0, 0),
(25755, 20561, 530, 3523, 3880, 1, 3908.28, 2081.01, 133.479, 4.18879, 180, 0, 0),
(25756, 20561, 530, 3523, 3880, 1, 3839.54, 2137.05, 145.967, 3.54302, 180, 0, 0),
(25757, 20561, 530, 3523, 3880, 1, 3815.1, 2102.61, 148.003, 1.72788, 180, 0, 0),
(25758, 20561, 530, 3523, 3880, 1, 3890.49, 2102.26, 153.708, 4.62512, 180, 0, 0),
(25759, 20561, 530, 3523, 3880, 1, 3881.19, 2078.43, 131.736, 3.66519, 180, 0, 0),
(25760, 20561, 530, 3523, 3880, 1, 3867.95, 2023.28, 144.585, 5.65487, 180, 0, 0),
(25761, 20561, 530, 3523, 3880, 1, 3823.88, 2064.43, 147.579, 6.21337, 180, 0, 0),
(25762, 20561, 530, 3523, 3880, 1, 3790.07, 2073.02, 153.16, 4.60767, 180, 0, 0),
(25763, 20561, 530, 3523, 3880, 1, 3711.35, 2096.57, 151.984, 1.18682, 180, 0, 0),
(25764, 20561, 530, 3523, 3880, 1, 3737.86, 2082.16, 148.9, 0.837758, 180, 0, 0),
(25765, 20561, 530, 3523, 3880, 1, 3750.9, 2055.32, 148.853, 5.44543, 180, 0, 0),
(25766, 20561, 530, 3523, 3880, 1, 3760.86, 2082.87, 152.837, 2.40855, 180, 0, 0),
(25767, 20561, 530, 3523, 3880, 1, 3840.47, 2122.01, 146.953, 1.71989, 180, 0, 0),
(25769, 20561, 530, 3523, 3880, 1, 3863.25, 2120.24, 146.842, 5.46288, 180, 0, 0),
(25770, 20561, 530, 3523, 3880, 1, 3848.73, 2147.21, 140.23, 1.94765, 180, 0, 0),
(25771, 20561, 530, 3523, 3880, 1, 3852.86, 2153.85, 140.535, 1.10727, 180, 0, 0),
(25772, 20561, 530, 3523, 3880, 1, 3875.74, 2150.16, 139.272, 3.61283, 180, 0, 0),
(25773, 20561, 530, 3523, 3880, 1, 3903.43, 2124.28, 137.706, 0.244346, 180, 0, 0),
(25774, 20340, 530, 3523, 3880, 0, 3838.25, 2043.45, 144.456, 2.28582, 300, 2, 0),
(25775, 20340, 530, 3523, 3880, 0, 3845.78, 2111.57, 148.651, 5.05916, 300, 1, 5),
(25776, 20340, 530, 3523, 3880, 0, 3970.96, 2131.35, 161.178, 0.563203, 300, 1, 5),
(25777, 20340, 530, 3523, 3880, 0, 3700.07, 2104.38, 154.187, 1.05376, 300, 2, 0),
(25778, 20340, 530, 3523, 3880, 0, 3802, 2077.1, 149.618, 2.7682, 300, 1, 5),
(25779, 20340, 530, 3523, 3880, 0, 3757.67, 2080.25, 151.914, 3.0616, 300, 1, 2),
(25780, 20340, 530, 3523, 3880, 0, 3830.72, 2152.55, 145.842, 4.57919, 300, 1, 5),
(25781, 20340, 530, 3523, 3880, 0, 3845.32, 2111.13, 148.712, 3.38892, 300, 2, 0),
(25782, 20340, 530, 3523, 3880, 0, 3864.73, 2158.55, 139.53, 5.98851, 300, 1, 5),
(25783, 20340, 530, 3523, 3880, 0, 3883.87, 2131.02, 133.884, 5.14029, 300, 1, 5),
(25784, 20340, 530, 3523, 3880, 0, 3873.85, 2104.63, 133.388, 4.74834, 300, 2, 0),
(25785, 20340, 530, 3523, 3880, 0, 3919.83, 2087.85, 133.488, 2.46537, 300, 1, 5),
(25786, 20340, 530, 3523, 3880, 0, 3895.68, 2034.48, 148.256, 3.45105, 300, 1, 5),
(25787, 20340, 530, 3523, 3880, 0, 3909.46, 2090.17, 155.839, 2.58317, 300, 1, 5),
(25788, 20340, 530, 3523, 3880, 0, 3927.87, 2118.67, 159.924, 4.58354, 300, 2, 0);
DELETE FROM `creature_addon` WHERE (`guid` IN (25774, 25777, 25781, 25784, 25788));
INSERT INTO `creature_addon` (`guid`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(25774, 257740, 0, 0, 0, 0, 0, NULL),
(25777, 257770, 0, 0, 0, 0, 0, NULL),
(25781, 257810, 0, 0, 0, 0, 0, NULL),
(25784, 257840, 0, 0, 0, 0, 0, NULL),
(25788, 257880, 0, 0, 0, 0, 0, NULL);
DELETE FROM `waypoint_data` WHERE `id` IN (257740, 257770, 257810, 257840, 257880);
INSERT INTO `waypoint_data` (`id`, `point`, `position_x`, `position_y`, `position_z`) VALUES
(257740, 1, 3828.6, 2052.43, 146.299),
(257740, 2, 3814.57, 2068.55, 148.037),
(257740, 3, 3803.64, 2075.73, 148.999),
(257740, 4, 3793.57, 2076.63, 152.807),
(257740, 5, 3772.9, 2078.11, 154.741),
(257740, 6, 3793.79, 2077.36, 152.872),
(257740, 7, 3806.68, 2075.38, 148.988),
(257740, 8, 3817.08, 2066.81, 147.837),
(257740, 9, 3829.58, 2051.22, 145.945),
(257740, 10, 3837.99, 2045.38, 144.981),
(257740, 11, 3844.06, 2036.32, 143.92),
(257740, 12, 3853.07, 2030.52, 142.777),
(257740, 13, 3865.79, 2024.48, 144.208),
(257740, 14, 3851.93, 2030.9, 142.805),
(257740, 15, 3844.37, 2036.31, 143.849),
(257740, 16, 3838.85, 2044.04, 144.628),
(257770, 1, 3708.42, 2110.91, 152.714),
(257770, 2, 3718.47, 2112.17, 150.762),
(257770, 3, 3738.52, 2109.59, 148.183),
(257770, 4, 3711.96, 2112.24, 152.367),
(257770, 5, 3702.12, 2107.95, 153.659),
(257770, 6, 3692.42, 2098.89, 155.214),
(257770, 7, 3686.26, 2093.03, 149.364),
(257770, 8, 3683.91, 2089.67, 152.259),
(257770, 9, 3688.53, 2083.23, 152.775),
(257770, 10, 3698.57, 2069.71, 150.483),
(257770, 11, 3715.1, 2062.27, 147.368),
(257770, 12, 3728.18, 2056.63, 144.842),
(257770, 13, 3740.76, 2052.12, 146.617),
(257770, 14, 3756.8, 2056.43, 150.487),
(257770, 15, 3741.21, 2052.22, 146.648),
(257770, 16, 3727.44, 2056.94, 144.813),
(257770, 17, 3698.21, 2070.22, 150.638),
(257770, 18, 3689.34, 2085.61, 152.047),
(257770, 19, 3687.46, 2092.86, 149.402),
(257770, 20, 3690.78, 2097.36, 154.156),
(257770, 21, 3700.04, 2104.35, 154.194),
(257810, 1, 3832.22, 2107.48, 149.717),
(257810, 2, 3825.75, 2105.58, 151.003),
(257810, 3, 3820.36, 2104.75, 148.444),
(257810, 4, 3811.88, 2098.79, 147.848),
(257810, 5, 3804.56, 2091.55, 149.842),
(257810, 6, 3813.68, 2099.89, 147.724),
(257810, 7, 3820.93, 2105.03, 148.563),
(257810, 8, 3825.93, 2106.17, 151.103),
(257810, 9, 3832.41, 2107.12, 149.743),
(257810, 10, 3843.08, 2112.63, 148.908),
(257810, 11, 3843.73, 2122.31, 147.232),
(257810, 12, 3839.65, 2131.35, 146.628),
(257810, 13, 3837.69, 2138.62, 145.446),
(257810, 14, 3832.25, 2154.89, 145.916),
(257810, 15, 3838.13, 2137.13, 145.727),
(257810, 16, 3842.26, 2122.59, 147.082),
(257810, 17, 3846.68, 2115.09, 148.459),
(257810, 18, 3855.48, 2114.4, 147.42),
(257810, 19, 3870.42, 2114.12, 147.612),
(257810, 20, 3885.1, 2109.86, 149.593),
(257810, 21, 3893.09, 2104.7, 152.478),
(257810, 22, 3903.74, 2097.1, 154.744),
(257810, 23, 3895.22, 2104.42, 153.216),
(257810, 24, 3883.14, 2110.8, 149.206),
(257810, 25, 3867.52, 2114.77, 147.194),
(257810, 26, 3852.24, 2113.81, 147.649),
(257810, 27, 3846.62, 2115.55, 148.453),
(257810, 28, 3840.54, 2128.64, 146.783),
(257810, 29, 3837.58, 2140.16, 145.256),
(257810, 30, 3832.01, 2155.39, 145.949),
(257810, 31, 3837.48, 2140.4, 145.27),
(257840, 1, 3874.85, 2092.38, 131.986),
(257840, 2, 3881.79, 2076.72, 132.069),
(257840, 3, 3876.13, 2088.46, 131.757),
(257840, 4, 3873.89, 2102.41, 132.905),
(257840, 5, 3875.56, 2109.94, 135.03),
(257840, 6, 3879.99, 2120.42, 133.436),
(257840, 7, 3882.52, 2130.11, 133.948),
(257840, 8, 3877.94, 2139.1, 135.257),
(257840, 9, 3876.27, 2145.36, 139.053),
(257840, 10, 3874.56, 2152.62, 138.963),
(257840, 11, 3867.19, 2159.01, 139.152),
(257840, 12, 3857.43, 2157.18, 140.557),
(257840, 13, 3846.26, 2156.16, 141.191),
(257840, 14, 3842.13, 2158.58, 141.856),
(257840, 15, 3848.25, 2155.62, 140.979),
(257840, 16, 3858.78, 2157.24, 140.533),
(257840, 17, 3872.4, 2155.03, 138.92),
(257840, 18, 3875.87, 2150.28, 139.98),
(257840, 19, 3876.41, 2145.97, 139.209),
(257840, 20, 3878.13, 2140.38, 135.46),
(257840, 21, 3882.97, 2129.62, 133.867),
(257840, 22, 3880.17, 2118.79, 133.545),
(257840, 23, 3875.72, 2110.03, 134.98),
(257840, 24, 3874.23, 2103.02, 132.96),
(257880, 1, 3923.03, 2102, 158.719),
(257880, 2, 3918.22, 2094.92, 157.148),
(257880, 3, 3909.27, 2086.84, 156.194),
(257880, 4, 3908.21, 2079.6, 153.654),
(257880, 5, 3907.09, 2069.95, 152.617),
(257880, 6, 3906.22, 2058.27, 150.862),
(257880, 7, 3901.95, 2047.35, 149.152),
(257880, 8, 3907.01, 2060.82, 151.077),
(257880, 9, 3907.93, 2080.42, 153.756),
(257880, 10, 3909.4, 2086.92, 156.191),
(257880, 11, 3913.55, 2091.18, 155.927),
(257880, 12, 3920.32, 2096.83, 157.939),
(257880, 13, 3926.47, 2109.47, 159.1),
(257880, 14, 3927.97, 2121.86, 160.375),
(257880, 15, 3930.43, 2129, 160.119),
(257880, 16, 3940.05, 2136.96, 160.067),
(257880, 17, 3952.66, 2135.78, 161.632),
(257880, 18, 3957.72, 2133.09, 162.299),
(257880, 19, 3946.18, 2137.7, 160.791),
(257880, 20, 3936.69, 2136.25, 160.133),
(257880, 21, 3928.27, 2125.16, 160.584),
(257880, 22, 3927.47, 2118.3, 159.805);
UPDATE `creature_template_addon` SET `auras` = '31261' WHERE (`entry` = 20561);
DELETE FROM `smart_scripts` WHERE `entryorguid`=20561 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(20561, 0, 0, 1, 8, 0, 100, 0, 35372, 0, 0, 0, 0, 33, 20561, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Quest Credit \'The Flesh Lies...\'\''),
(20561, 0, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 11, 35374, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Summon Gameobject \'Charred Remains\''),
(20561, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - On Spellhit \'Protectorate Igniter\' - Kill Target'),
(20561, 0, 3, 4, 10, 0, 100, 1, 0, 4, 0, 0, 1, 11, 35309, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Cast \'Bloody Explosion\''),
(20561, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 36, 20335, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Update Template To \'Parasitic Fleshbeast\''),
(20561, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 28, 31261, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Withered Corpse - Within 0-4 Range Out of Combat LoS - Remove Aura \'Permanent Feign Death (Root)\' (No Repeat)');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2056100);

View File

@@ -0,0 +1,131 @@
-- DB update 2023_03_01_06 -> 2023_03_01_07
--
SET @GUID := 105196;
SET @POOL := 13398;
DELETE FROM `gameobject` WHERE `id` IN (184795, 184796);
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `ScriptName`, `VerifiedBuild`) VALUES
-- Trapped Eggs
(@GUID+0 , 184796, 530, 3520, 3932, 1, 1, -4082.12, 1765.66, 99.3064, 6.02139, 0, 0, -0.130526, 0.991445, 180, 255, 1, '', 15595),
(@GUID+2 , 184796, 530, 3520, 3932, 1, 1, -4127.22, 1788.2, 110.085, 1.18682, 0, 0, 0.559193, 0.829038, 180, 255, 1, '', 15595),
(@GUID+4 , 184796, 530, 3520, 3932, 1, 1, -4068.59, 1933.35, 76.9559, 1.85005, 0, 0, 0.798635, 0.601815, 180, 255, 1, '', 15595),
(@GUID+6 , 184796, 530, 3520, 3932, 1, 1, -4071.22, 1931.08, 76.9124, 5.95157, 0, 0, -0.165047, 0.986286, 180, 255, 1, '', 15595),
(@GUID+8 , 184796, 530, 3520, 3932, 1, 1, -4120.26, 1693.84, 101.657, 4.90438, 0, 0, -0.636078, 0.771625, 180, 255, 1, '', 15595),
(@GUID+10, 184796, 530, 3520, 3932, 1, 1, -4199.02, 1828.67, 119.586, 1.69297, 0, 0, 0.748956, 0.66262, 180, 255, 1, '', 15595),
(@GUID+12, 184796, 530, 3520, 3932, 1, 1, -4059.63, 1748.61, 99.8074, 3.31614, 0, 0, -0.996194, 0.087165, 180, 255, 1, '', 15595),
(@GUID+14, 184796, 530, 3520, 3932, 1, 1, -4083.81, 1757.47, 99.3434, 0.104721, 0, 0, 0.0523361, 0.99863, 180, 255, 1, '', 15595),
(@GUID+16, 184796, 530, 3520, 3932, 1, 1, -4056.73, 1796.72, 94.6073, 2.98451, 0, 0, 0.996917, 0.0784656, 180, 255, 1, '', 15595),
(@GUID+18, 184796, 530, 3520, 3932, 1, 1, -4050.61, 1818.76, 86.4054, -0.73303, 0, 0, -0.358368, 0.93358, 180, 255, 1, '', 15595),
(@GUID+20, 184796, 530, 3520, 3932, 1, 1, -4032.65, 1821.49, 86.1867, -2.39111, 0, 0, -0.930417, 0.366502, 180, 255, 1, '', 15595),
(@GUID+22, 184796, 530, 3520, 3932, 1, 1, -4008.57, 1765.89, 97.1208, -0.95993, 0, 0, -0.461749, 0.887011, 180, 255, 1, '', 15595),
(@GUID+24, 184796, 530, 3520, 3932, 1, 1, -4002.44, 1844.23, 81.5785, 0.226893, 0, 0, 0.113203, 0.993572, 180, 255, 1, '', 15595),
(@GUID+26, 184796, 530, 3520, 3932, 1, 1, -3972.18, 1767.47, 99.7536, -0.22689, 0, 0, -0.113203, 0.993572, 180, 255, 1, '', 15595),
(@GUID+28, 184796, 530, 3520, 3932, 1, 1, -3951.12, 1842.48, 91.3865, -2.56563, 0, 0, -0.958819, 0.284017, 180, 255, 1, '', 15595),
(@GUID+30, 184796, 530, 3520, 3932, 1, 1, -3965.86, 1861.5, 82.6874, -0.10472, 0, 0, -0.0523361, 0.99863, 180, 255, 1, '', 15595),
(@GUID+32, 184796, 530, 3520, 3932, 1, 1, -4176.82, 1821.99, 111.444, -1.23918, 0, 0, -0.580701, 0.814117, 180, 255, 1, '', 15595),
(@GUID+34, 184796, 530, 3520, 3932, 1, 1, -4011.48, 1762.5, 97.2144, -0.959931, 0, 0, -0.461749, 0.887011, 180, 255, 1, '', 15595),
(@GUID+36, 184796, 530, 3520, 3932, 1, 1, -4016, 1792.08, 93.6583, 2.56563, 0, 0, 0.958819, 0.284017, 180, 255, 1, '', 15595),
(@GUID+38, 184796, 530, 3520, 3932, 1, 1, -4020.93, 1784.86, 95.3865, -2.04204, 0, 0, -0.852641, 0.522496, 180, 255, 1, '', 15595),
(@GUID+40, 184796, 530, 3520, 3932, 1, 1, -4029.34, 1783.06, 95.5917, -2.1293, 0, 0, -0.874619, 0.48481, 180, 255, 1, '', 15595),
(@GUID+42, 184796, 530, 3520, 3932, 1, 1, -4091.62, 1897.92, 75.4492, 1.90241, 0, 0, 0.814116, 0.580702, 180, 255, 1, '', 15595),
(@GUID+44, 184796, 530, 3520, 3932, 1, 1, -4091.07, 1892.19, 75.4612, -2.60054, 0, 0, -0.96363, 0.267239, 180, 255, 1, '', 15595),
-- Real Eggs
(@GUID+1 , 184795, 530, 3520, 3932, 1, 1, -4082.12, 1765.66, 99.3064, 6.02139, 0, 0, -0.130526, 0.991445, 180, 255, 1, '', 15595),
(@GUID+3 , 184795, 530, 3520, 3932, 1, 1, -4127.22, 1788.2, 110.085, 1.18682, 0, 0, 0.559193, 0.829038, 180, 255, 1, '', 15595),
(@GUID+5 , 184795, 530, 3520, 3932, 1, 1, -4068.59, 1933.35, 76.9559, 1.85005, 0, 0, 0.798635, 0.601815, 180, 255, 1, '', 15595),
(@GUID+7 , 184795, 530, 3520, 3932, 1, 1, -4071.22, 1931.08, 76.9124, 5.95157, 0, 0, -0.165047, 0.986286, 180, 255, 1, '', 15595),
(@GUID+9 , 184795, 530, 3520, 3932, 1, 1, -4120.26, 1693.84, 101.657, 4.90438, 0, 0, -0.636078, 0.771625, 180, 255, 1, '', 15595),
(@GUID+11, 184795, 530, 3520, 3932, 1, 1, -4199.02, 1828.67, 119.586, 1.69297, 0, 0, 0.748956, 0.66262, 180, 255, 1, '', 15595),
(@GUID+13, 184795, 530, 3520, 3932, 1, 1, -4059.63, 1748.61, 99.8074, 3.31614, 0, 0, -0.996194, 0.087165, 180, 255, 1, '', 15595),
(@GUID+15, 184795, 530, 3520, 3932, 1, 1, -4083.81, 1757.47, 99.3434, 0.104721, 0, 0, 0.0523361, 0.99863, 180, 255, 1, '', 15595),
(@GUID+17, 184795, 530, 3520, 3932, 1, 1, -4056.73, 1796.72, 94.6073, 2.98451, 0, 0, 0.996917, 0.0784656, 180, 255, 1, '', 15595),
(@GUID+19, 184795, 530, 3520, 3932, 1, 1, -4050.61, 1818.76, 86.4054, -0.73303, 0, 0, -0.358368, 0.93358, 180, 255, 1, '', 15595),
(@GUID+21, 184795, 530, 3520, 3932, 1, 1, -4032.65, 1821.49, 86.1867, -2.39111, 0, 0, -0.930417, 0.366502, 180, 255, 1, '', 15595),
(@GUID+23, 184795, 530, 3520, 3932, 1, 1, -4008.57, 1765.89, 97.1208, -0.95993, 0, 0, -0.461749, 0.887011, 180, 255, 1, '', 15595),
(@GUID+25, 184795, 530, 3520, 3932, 1, 1, -4002.44, 1844.23, 81.5785, 0.226893, 0, 0, 0.113203, 0.993572, 180, 255, 1, '', 15595),
(@GUID+27, 184795, 530, 3520, 3932, 1, 1, -3972.18, 1767.47, 99.7536, -0.22689, 0, 0, -0.113203, 0.993572, 180, 255, 1, '', 15595),
(@GUID+29, 184795, 530, 3520, 3932, 1, 1, -3951.12, 1842.48, 91.3865, -2.56563, 0, 0, -0.958819, 0.284017, 180, 255, 1, '', 15595),
(@GUID+31, 184795, 530, 3520, 3932, 1, 1, -3965.86, 1861.5, 82.6874, -0.10472, 0, 0, -0.0523361, 0.99863, 180, 255, 1, '', 15595),
(@GUID+33, 184795, 530, 3520, 3932, 1, 1, -4176.82, 1821.99, 111.444, -1.23918, 0, 0, -0.580701, 0.814117, 180, 255, 1, '', 15595),
(@GUID+35, 184795, 530, 3520, 3932, 1, 1, -4011.48, 1762.5, 97.2144, -0.959931, 0, 0, -0.461749, 0.887011, 180, 255, 1, '', 15595),
(@GUID+37, 184795, 530, 3520, 3932, 1, 1, -4016, 1792.08, 93.6583, 2.56563, 0, 0, 0.958819, 0.284017, 180, 255, 1, '', 15595),
(@GUID+39, 184795, 530, 3520, 3932, 1, 1, -4020.93, 1784.86, 95.3865, -2.04204, 0, 0, -0.852641, 0.522496, 180, 255, 1, '', 15595),
(@GUID+41, 184795, 530, 3520, 3932, 1, 1, -4029.34, 1783.06, 95.5917, -2.1293, 0, 0, -0.874619, 0.48481, 180, 255, 1, '', 15595),
(@GUID+43, 184795, 530, 3520, 3932, 1, 1, -4091.62, 1897.92, 75.4492, 1.90241, 0, 0, 0.814116, 0.580702, 180, 255, 1, '', 15595),
(@GUID+45, 184795, 530, 3520, 3932, 1, 1, -4091.07, 1892.19, 75.4612, -2.60054, 0, 0, -0.96363, 0.267239, 180, 255, 1, '', 15595);
DELETE FROM `pool_template` WHERE `description`='Rotten Arakkoa Egg (184795/184796)' AND `entry` BETWEEN @POOL+0 AND @POOL+22;
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(@POOL+0 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+1 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+2 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+3 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+4 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+5 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+6 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+7 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+8 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+9 , 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+10, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+11, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+12, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+13, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+14, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+15, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+16, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+17, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+18, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+19, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+20, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+21, 1, 'Rotten Arakkoa Egg (184795/184796)'),
(@POOL+22, 1, 'Rotten Arakkoa Egg (184795/184796)');
DELETE FROM `pool_gameobject` WHERE `description` LIKE 'Rotten Arakkoa Egg (18479%' AND `pool_entry` BETWEEN @POOL+0 AND @POOL+22;
INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(@GUID+0 , @POOL+0 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+2 , @POOL+1 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+4 , @POOL+2 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+6 , @POOL+3 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+8 , @POOL+4 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+10, @POOL+5 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+12, @POOL+6 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+14, @POOL+7 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+16, @POOL+8 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+18, @POOL+9 , 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+20, @POOL+10, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+22, @POOL+11, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+24, @POOL+12, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+26, @POOL+13, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+28, @POOL+14, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+30, @POOL+15, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+32, @POOL+16, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+34, @POOL+17, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+36, @POOL+18, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+38, @POOL+19, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+40, @POOL+20, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+42, @POOL+21, 0, 'Rotten Arakkoa Egg (184796)'),
(@GUID+44, @POOL+22, 0, 'Rotten Arakkoa Egg (184796)'),
-- Real Eggs
(@GUID+1 , @POOL+0 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+3 , @POOL+1 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+5 , @POOL+2 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+7 , @POOL+3 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+9 , @POOL+4 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+11, @POOL+5 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+13, @POOL+6 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+15, @POOL+7 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+17, @POOL+8 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+19, @POOL+9 , 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+21, @POOL+10, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+23, @POOL+11, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+25, @POOL+12, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+27, @POOL+13, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+29, @POOL+14, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+31, @POOL+15, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+33, @POOL+16, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+35, @POOL+17, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+37, @POOL+18, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+39, @POOL+19, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+41, @POOL+20, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+43, @POOL+21, 10, 'Rotten Arakkoa Egg (184795)'),
(@GUID+45, @POOL+22, 10, 'Rotten Arakkoa Egg (184795)');

View File

@@ -0,0 +1,342 @@
-- DB update 2023_03_01_07 -> 2023_03_02_00
-- Gurthock Gossip
DELETE FROM `gossip_menu` WHERE (`MenuID` = 7699);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
(7699, 9394),
(7699, 9403);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 14) AND (`SourceGroup` = 7699) AND (`SourceEntry` IN (9394, 9403));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14, 7699, 9394, 0, 0, 8, 0, 9977, 0, 0, 1, 0, 0, '', 'Show text if player does not have quest \'The Ring of Blood: The Final Challenge\' rewarded'),
(14, 7699, 9403, 0, 0, 8, 0, 9977, 0, 0, 0, 0, 0, '', 'Show text if player has quest \'The Ring of Blood: The Final Challenge\' rewarded');
-- Minor Adjustments
DELETE FROM `creature_template_addon` WHERE (`entry` IN (18400, 18402));
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(18400, 0, 0, 0, 0, 0, 0, '21911'),
(18402, 0, 0, 0, 1, 0, 0, '');
UPDATE `creature_template_addon` SET `bytes2` = 1 WHERE (`entry` = 18399);
UPDATE `creature_text` SET `Emote`=15 WHERE `CreatureID`=18399 AND `GroupID`=0 AND `ID`=0;
UPDATE `creature_text` SET `Type`=12, `Emote`=15 WHERE `CreatureID`=18402 AND `GroupID`=0 AND `ID`=0;
UPDATE `creature` SET `spawntimesecs`=1 WHERE `guid`=48191 AND `id1`=18069;
-- Add Boss immunities to challengers
UPDATE `creature_template` SET `mechanic_immune_mask` = 650854271 WHERE (`entry` IN (18398, 18399, 18400, 18401, 18402));
-- Skra'gath Text
DELETE FROM `creature_text` WHERE `CreatureID`=18401;
INSERT INTO `creature_text` (`CreatureID`, `BroadcastTextId`, `GroupID`, `ID`, `Text`, `Type`, `comment`) VALUES
(18401, 15472, 0, 0, 'Closer... Come closer... See what the void brings!', 14, 'Skra\'gath'),
(18401, 17110, 1, 0, '%s absorbs the holy energy of the attack.', 16, 'Skra\'gath'),
(18401, 17105, 2, 0, '%s absorbs the fire energy of the attack.', 16, 'Skra\'gath'),
(18401, 17107, 3, 0, '%s absorbs the nature energy of the attack.', 16, 'Skra\'gath'),
(18401, 17106, 4, 0, '%s absorbs the frost energy of the attack.', 16, 'Skra\'gath'),
(18401, 17108, 5, 0, '%s absorbs the shadow energy of the attack.', 16, 'Skra\'gath'),
(18401, 17109, 6, 0, '%s absorbs the arcane energy of the attack.', 16, 'Skra\'gath');
-- Text for Mogor and Gurgthock
DELETE FROM `creature_text` WHERE `CreatureID` IN (18069, 18398, 18471);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18398, 0, 0, 'Brokentoe prepares to charge.', 41, 0, 100, 0, 0, 0, 15438, 0, 'Brokentoe'),
(18069, 0, 0, '%s goes into a frenzy!', 16, 0, 100, 0, 0, 0, 38630, 0, 'Mogor'),
(18069, 1, 0, 'Dat was poop! Mogor could put up much better fight den dat!', 14, 0, 100, 15, 0, 0, 15470, 0, 'Mogor'),
(18069, 2, 0, 'Mogor not impressed! Skra\'gath wuz made of da air and shadow! Soft like da squishy orcies!', 14, 0, 100, 15, 0, 0, 15474, 0, 'Mogor'),
(18069, 3, 0, 'WUT!? UNPOSSIBLE!! You fight Mogor now! Mogor destroy!', 14, 0, 100, 15, 0, 0, 15477, 0, 'Mogor'),
(18069, 4, 0, 'Now you face da true champion! I give you chance to run away little one. Run away now before Mogor decim... destyor... Run away before Mogor KILL!', 14, 0, 100, 0, 0, 0, 15478, 0, 'Mogor'),
(18069, 5, 0, 'No more chances! Now you pay da ogre!', 14, 0, 100, 15, 0, 0, 15479, 0, 'Mogor'),
(18069, 6, 0, 'No more nice ogre! You hurt Mogor!!', 14, 0, 100, 0, 0, 0, 15483, 0, 'Mogor'),
(18471, 0 , 0, 'Get in the Ring of Blood, $n. The fight is about to start!', 12, 0, 100, 1, 0, 0, 15441, 0, 'Gurgthock'),
(18471, 1 , 0, 'The battle is about to begin! $n versus the ferocious clefthoof, Brokentoe!', 14, 0, 100, 15, 0, 0, 15439, 0, 'Gurgthock'),
(18471, 2 , 0, '$n has defeated Brokentoe!', 14, 0, 100, 15, 0, 0, 15442, 0, 'Gurgthock'),
(18471, 3 , 0, 'The battle is about to begin! The unmerciful Murkblood twins versus $n!', 14, 0, 100, 15, 0, 0, 15461, 0, 'Gurgthock'),
(18471, 4 , 0, 'Unbelievable! $n has defeated the Murkblood twins!', 14, 0, 100, 15, 0, 0, 15462, 0, 'Gurgthock'),
(18471, 5 , 0, 'Hailing from the mountains of Blade\'s Edge comes Rokdar the Sundered Lord! $n is in for the fight of $g his:her, life.', 14, 0, 100, 15, 0, 0, 15467, 0, 'Gurgthock'),
(18471, 6 , 0, 'From parts unknown: Skra\'gath! Can $n possibly survive the onslaught of void energies?', 14, 0, 100, 15, 0, 0, 15473, 0, 'Gurgthock'),
(18471, 7 , 0, 'This is the moment we\'ve all been waiting for! The Warmaul champion is about to make his first showing at the Ring of Blood in weeks! Will $n go down in defeat as easily as the champion\'s other opponents? We shall see...', 14, 0, 100, 15, 0, 0, 15475, 0, 'Gurgthock'),
(18471, 8 , 0, '$n is victorious once more!', 14, 0, 100, 15, 0, 0, 15469, 0, 'Gurgthock'),
(18471, 9 , 1, 'All that\'s left of $n is a red stain on the floor!', 14, 0, 100, 15, 0, 0, 15485, 0, 'Gurgthock'),
(18471, 9, 0, '$n went down like a sack of orc skulls!', 14, 0, 100, 15, 0, 0, 15484, 0, 'Gurgthock'),
(18471, 10, 0, 'Mogor has challenged you. You have to accept! Get in the ring if you are ready to fight.', 12, 0, 100, 1, 0, 0, 15480, 0, 'Gurgthock'),
(18471, 11, 0, 'For the first time in the Ring of Blood\'s history, Mogor has chosen to exercise his right of battle! On this wartorn ground, $n will face Mogor, hero of the Warmaul!', 14, 0, 100, 15, 0, 0, 15481, 0, 'Gurgthock'),
(18471, 12, 0, '$n has defeated the hero of the Warmaul, Mogor! All hail $n!', 14, 0, 100, 15, 0, 0, 15482, 2, 'Gurgthock'),
(18471, 13, 0, '$n has been defeated!', 14, 0, 100, 15, 0, 0, 15443, 2, 'Gurgthock');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18471);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18471, 0, 0 , 0, 19, 0, 100, 0, 9962, 0, 0, 0, 0, 80, 1847100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: Brokentoe\' Taken - Run Script'),
(18471, 0, 1 , 0, 19, 0, 100, 0, 9967, 0, 0, 0, 0, 80, 1847103, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: The Blue Brothers\' Taken - Run Script'),
(18471, 0, 2 , 0, 19, 0, 100, 0, 9970, 0, 0, 0, 0, 80, 1847106, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: Rokdar the Sundered Lord\' Taken - Run Script'),
(18471, 0, 3 , 0, 19, 0, 100, 0, 9972, 0, 0, 0, 0, 80, 1847109, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: Skra\'gath\' Taken - Run Script'),
(18471, 0, 4 , 0, 19, 0, 100, 0, 9973, 0, 0, 0, 0, 80, 1847112, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: The Warmaul Champion\' Taken - Run Script'),
(18471, 0, 5 , 0, 19, 0, 100, 0, 9977, 0, 0, 0, 0, 80, 1847115, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Quest \'The Ring of Blood: The Final Challenge\' Taken - Run Script'),
(18471, 0, 6 , 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1847101, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 1 1 - Run Brokentoe Success Script'),
(18471, 0, 7 , 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 80, 1847102, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 2 2 - Run Brokentoe Failure Script'),
(18471, 0, 8 , 9, 77, 0, 100, 0, 1, 2, 0, 0, 0, 80, 1847104, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On 2 Twins Killed - Run Murkblood Twins Success Script'),
(18471, 0, 9 , 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 63, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On 2 Twins Killed - Reset Counter'),
(18471, 0, 10, 0, 38, 0, 100, 0, 5, 5, 0, 0, 0, 80, 1847105, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 5 5 - Run Murkblood Twins Failure Script'),
(18471, 0, 11, 0, 38, 0, 100, 0, 7, 7, 0, 0, 0, 80, 1847107, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 7 7 - Run Rokdar Success Script'),
(18471, 0, 12, 0, 38, 0, 100, 0, 8, 8, 0, 0, 0, 80, 1847108, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 8 8 - Run Rokdar Failure Script'),
(18471, 0, 13, 0, 38, 0, 100, 0, 10, 10, 0, 0, 0, 80, 1847110, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 10 10 - Run Skra\'gath Success Script'),
(18471, 0, 14, 0, 38, 0, 100, 0, 11, 11, 0, 0, 0, 80, 1847111, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 11 11 - Run Skra\'gath Failure Script'),
(18471, 0, 15, 0, 38, 0, 100, 0, 13, 13, 0, 0, 0, 80, 1847113, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 13 13 - Run Champion Success Script'),
(18471, 0, 16, 0, 38, 0, 100, 0, 14, 14, 0, 0, 0, 80, 1847114, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 14 14 - Run Champion Failure Script'),
(18471, 0, 17, 0, 38, 0, 100, 0, 16, 16, 0, 0, 0, 80, 1847116, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 16 16 - Run Mogor Success Script'),
(18471, 0, 18, 0, 38, 0, 100, 0, 17, 17, 0, 0, 0, 80, 1847117, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - On Data Set 17 17 - Run Mogor Failure Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` BETWEEN 1847100 AND 1847117);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
-- Brokentoe Spawn
(1847100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Spawn Script - Store Targetlist Invoker'),
(1847100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Spawn Script - Store Targetlist Invoker Party'),
(1847100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Spawn Script - Remove Npc Flags Questgiver'),
(1847100, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Spawn Script - Say Line 0'),
(1847100, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Spawn Script - Say Line 1'),
(1847100, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 12, 18398, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -709.046, 7882.44, 46.0542, 1.98968, 'Gurgthock - Brokentoe Spawn Script - Summon Creature \'Brokentoe\''),
-- Brokentoe Success
(1847101, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Success Script - Say Line 2'),
(1847101, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Success Script - Add Npc Flags Questgiver'),
(1847101, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9962, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Success Script - Quest Credit \'The Ring of Blood: Brokentoe\''),
-- Brokentoe Failure
(1847102, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 9, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Failure Script - Say Line 9'),
(1847102, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Failure Script - Add Npc Flags Questgiver'),
(1847102, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9962, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Brokentoe Failure Script - Fail Quest \'The Ring of Blood: Brokentoe\''),
-- Murkblood Twins Spawn
(1847103, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Store Targetlist Invoker'),
(1847103, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Store Targetlist Invoker Party for Quest Credit'),
(1847103, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Remove Npc Flags Questgiver'),
(1847103, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Say Line 0'),
(1847103, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 3, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Say Line 3'),
(1847103, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 12, 18399, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -718.036, 7871.62, 45.2835, 1.5708, 'Gurgthock - Murkblood Twins Spawn Script - Summon Creature \'Murkblood Twin\''),
(1847103, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 12, 18399, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -696.431, 7883.26, 47.4277, 2.47837, 'Gurgthock - Murkblood Twins Spawn Script - Summon Creature \'Murkblood Twin\''),
-- (1847103, 9, 7, 0, 0, 0, 100, 0, 200, 200, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 18399, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Set Data 1 1 on Left Twin'),
-- (1847103, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 9, 18399, 0, 100, 1, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Set Data 2 2 on Right Twin'),
(1847103, 9, 7, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 9, 18399, 0, 100, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Spawn Script - Send Target 1 to both Twins'), -- Attack Start on Stored Target within 1200ms if not already in combat
-- Murkblood Twins Success
(1847104, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 4, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Success Script - Say Line 4'),
(1847104, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Success Script - Add Npc Flags Questgiver'),
(1847104, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9967, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Success Script - Quest Credit \'The Ring of Blood: The Blue Brothers\''),
-- Murkblood Twins Failure
(1847105, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 9, 18399, 0, 200, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Failure Script - Despawn Twins for Safety'),
(1847105, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 9, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Failure Script - Say Line 9'),
(1847105, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Failure Script - Add Npc Flags Questgiver'),
(1847105, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9967, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Failure Script - Fail Quest \'The Ring of Blood: The Blue Brothers\''),
(1847105, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 63, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Murkblood Twins Failure Script - Reset Counter'),
-- Rokdar Spawn
(1847106, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Store Targetlist Invoker'),
(1847106, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Store Targetlist Invoker Party'),
(1847106, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Remove Npc Flags Questgiver'),
(1847106, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Say Line 0'),
(1847106, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 5, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Say Line 5'),
(1847106, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 12, 18400, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -709.567, 7882.856, 46.109646, 1.9024088382720947, 'Gurgthock - Rokdar Spawn Script - Summon Creature \'Rokdar the Sundered Lord\''),
(1847106, 9, 6, 0, 0, 0, 100, 0, 200, 200, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 18400, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Send Stored Target to Rokdar'),
(1847106, 9, 7, 0, 0, 0, 100, 0, 200, 200, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 18400, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Spawn Script - Set Data 1 1 on Rokdar'), -- Talk and Attack Stored Target within 2000ms if not already in combat
-- Rokdar Success
(1847107, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 8, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Success Script - Say Line 8'),
(1847107, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Success Script - Add Npc Flags Questgiver'),
(1847107, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9970, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Success Script - Quest Credit \'The Ring of Blood: Rokdar the Sundered Lord\''),
(1847107, 9, 3, 0, 0, 0, 100, 0, 5200, 5200, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 10, 48191, 18069, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Success Script - Mogor Say Line 1'),
-- Rokdar Failure
(1847108, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 9, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Failure Script - Say Line 9'),
(1847108, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Failure Script - Add Npc Flags Questgiver'),
(1847108, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9970, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Rokdar Failure Script - Fail Quest \'The Ring of Blood: Rokdar the Sundered Lord\''),
-- Skra'gath Spawn
(1847109, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Store Targetlist Invoker'),
(1847109, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Store Targetlist Invoker Party'),
(1847109, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Remove Npc Flags Questgiver'),
(1847109, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Say Line 0'),
(1847109, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 6, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Say Line 6'),
(1847109, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 12, 18401, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -708.91364, 7883.2563, 46.199944, 1.832595705986023, 'Gurgthock - Skra\'gath Spawn Script - Summon Creature \'Skra\'gath\''),
(1847109, 9, 6, 0, 0, 0, 100, 0, 400, 400, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 18401, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Send Target 1'),
(1847109, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 18401, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Spawn Script - Set Data 1 1 on Skra\'gath'),
-- Skra'gath Success
(1847110, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 8, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Success Script - Say Line 8'),
(1847110, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Success Script - Add Npc Flags Questgiver'),
(1847110, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9972, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Success Script - Quest Credit \'The Ring of Blood: Skra\'gath\''),
(1847110, 9, 3, 0, 0, 0, 100, 0, 5200, 5200, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 10, 48191, 18069, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Success Script - Mogor Say Line 2'),
-- Skra'gath Failure
(1847111, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 9, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Failure Script - Say Line 9'),
(1847111, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Failure Script - Add Npc Flags Questgiver'),
(1847111, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9972, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Skra\'gath Failure Script - Fail Quest \'The Ring of Blood: Skra\'gath\''),
-- Champion Spawn
(1847112, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Store Targetlist Invoker'),
(1847112, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Store Targetlist Invoker Party'),
(1847112, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Remove Npc Flags Questgiver'),
(1847112, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Say Line 0'),
(1847112, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 7, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Say Line 7'),
(1847112, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 12, 18402, 6, 5000, 0, 0, 0, 8, 0, 0, 0, 0, -705.97473, 7866.7163, 45.06112, 1.5707963705062866, 'Gurgthock - Champion Spawn Script - Summon Creature \'Warmaul Champion\''),
(1847112, 9, 6, 0, 0, 0, 100, 0, 400, 400, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 18402, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Send Target 1'),
(1847112, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 18402, 100, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Spawn Script - Set Data 1 1 on Champion'),
-- Champion Success
(1847113, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 8, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Success Script - Say Line 8'),
(1847113, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Success Script - Add Npc Flags Questgiver'),
(1847113, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9973, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Success Script - Quest Credit \'The Ring of Blood: The Warmaul Champion\''),
(1847113, 9, 3, 0, 0, 0, 100, 0, 5200, 5200, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 10, 48191, 18069, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Success Script - Mogor Say Line 3'),
-- Champion Failure
(1847114, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 9, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Failure Script - Say Line 9'),
(1847114, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Failure Script - Add Npc Flags Questgiver'),
(1847114, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9973, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Champion Failure Script - Fail Quest \'The Ring of Blood: The Warmaul Champion\''),
-- Mogor Start
(1847115, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Store Targetlist Invoker'),
(1847115, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Store Targetlist Invoker Party'),
(1847115, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Remove Npc Flags Questgiver'),
(1847115, 9, 3, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 10, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Say Line 10'),
(1847115, 9, 4, 0, 0, 0, 100, 0, 11000, 11000, 0, 0, 0, 1, 11, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Say Line 11'),
(1847115, 9, 5, 0, 0, 0, 100, 0, 3400, 3400, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 48191, 18069, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Set Data 1 1'),
(1847115, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 10, 48191, 18069, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Start Script - Send Target 1'),
-- Mogor Success
(1847116, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 12, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Success Script - Say Line 12'),
(1847116, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 15, 9977, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Success Script - Quest Credit \'The Ring of Blood: The Final Challenge\''),
(1847116, 9, 2, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Success Script - Add Npc Flags Questgiver'),
-- Mogor Failure
(1847117, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 13, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Failure Script - Say Line 13'),
(1847117, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 82, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Failure Script - Add Npc Flags Questgiver'),
(1847117, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 6, 9977, 0, 0, 0, 0, 0, 12, 2, 0, 0, 0, 0, 0, 0, 0, 'Gurgthock - Mogor Failure Script - Fail Quest \'The Ring of Blood: The Final Challenge\'');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (18398, 18399, 18400, 18401, 18402));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18398, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 9000, 11000, 0, 11, 32023, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Brokentoe - In Combat - Cast \'Hoof Stomp\''),
(18398, 0, 1, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Brokentoe - On Just Died - Set Data 1 1 on Gurgthock'),
(18398, 0, 2, 3, 1, 0, 100, 1, 30000, 30000, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Brokentoe - Out of Combat - Set Data 2 2 on Gurgthock (No Repeat)'),
(18398, 0, 3, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brokentoe - Out of Combat - Despawn Instant (No Repeat)'),
(18398, 0, 4, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Brokentoe - On Aggro - Say Line 0'),
(18399, 0, 0, 0, 0, 0, 100, 0, 1000, 1000, 2000, 2000, 0, 11, 14873, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - In Combat - Cast \'Sinister Strike\''),
(18399, 0, 1, 0, 0, 0, 100, 0, 5000, 6000, 11000, 12000, 0, 11, 15692, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - In Combat - Cast \'Eviscerate\''),
(18399, 0, 2, 0, 0, 0, 100, 0, 8000, 9000, 15000, 16000, 0, 11, 32319, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - In Combat - Cast \'Mutilate\''),
(18399, 0, 3, 0, 6, 0, 100, 1, 0, 0, 0, 0, 0, 63, 1, 1, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - On Just Died - Add to Counter for Victory Event'),
(18399, 0, 4, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 39, 25, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - On Aggro - Call For Help'),
(18399, 0, 5, 6, 1, 0, 100, 1, 30000, 30000, 0, 0, 0, 45, 5, 5, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - Out of Combat - Set Data 5 5 (No Repeat)'),
(18399, 0, 6, 7, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 19, 18399, 100, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - Out of Combat - Despawn Instant (No Repeat)'),
(18399, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - Out of Combat - Despawn Instant (No Repeat)'),
(18399, 0, 8, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 87, 1839900, 1839901, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - On Respawn - Run Random Script'),
-- (18399, 0, 8, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1839900, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - On Data Set 1 1 - Run Left Script'),
-- (18399, 0, 9, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 80, 1839901, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Murkblood Twin - On Data Set 2 2 - Run Right Script'),
(18400, 0, 0, 0, 0, 0, 100, 0, 23000, 27000, 34000, 37000, 0, 11, 16727, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - In Combat - Cast \'War Stomp\''),
(18400, 0, 1, 0, 31, 0, 100, 0, 31389, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - On Target Spellhit \'Knock Away\' - Say Line 0'),
(18400, 0, 2, 0, 0, 0, 100, 0, 6000, 6000, 12000, 12000, 0, 11, 31389, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - In Combat - Cast \'Knock Away\''),
(18400, 0, 3, 0, 0, 0, 100, 0, 20000, 20000, 25000, 25000, 0, 11, 15976, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - In Combat - Cast \'Puncture\''),
(18400, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - On Just Died - Set Data 7 7'),
(18400, 0, 5, 6, 1, 0, 100, 1, 30000, 30000, 0, 0, 0, 45, 8, 8, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - Out of Combat - Set Data 8 8 (No Repeat)'),
(18400, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - Out of Combat - Despawn Instant (No Repeat)'),
(18400, 0, 7, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1840000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - On Data Set 1 1 - Run Script'),
(18401, 0, 0, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 11, 29299, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Respawn - Cast \'Draining Touch\''),
(18401, 0, 1, 0, 0, 0, 100, 0, 6000, 9000, 24000, 27000, 0, 11, 16429, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - In Combat - Cast \'Piercing Shadow\''),
(18401, 0, 2, 8, 9, 0, 100, 0, 0, 5, 16000, 19000, 0, 11, 32324, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - Within 0-5 Range - Cast \'Shadow Burst\''),
(18401, 0, 3, 0, 0, 0, 100, 0, 12000, 15000, 33000, 37000, 0, 11, 32322, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - In Combat - Cast \'Dark Shriek\''),
(18401, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 10, 10, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Just Died - Set Data 10 10'),
(18401, 0, 5, 6, 1, 0, 100, 1, 30000, 30000, 0, 0, 0, 45, 11, 11, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Skra\'gath - Out of Combat - Set Data 11 11 (No Repeat)'),
(18401, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - Out of Combat - Despawn Instant (No Repeat)'),
(18401, 0, 7, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1840100, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Data Set 1 1 - Run Script'),
(18401, 0, 8, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 14, 0, 100, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - After Shadow Burst - Wipe All Threat'),
(18401, 0, 9 , 10, 8, 1, 100, 0, 0, 2, 0, 0, 0, 11, 34336, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Cast \'Damage Reduction: Holy\' (Phase 1)'),
(18401, 0, 10, 11, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Say Line 1 (Phase 1)'),
(18401, 0, 11, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 12, 13, 8, 1, 100, 0, 0, 4, 0, 0, 0, 11, 34333, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Fire\' - Cast \'Damage Reduction: Fire\' (Phase 1)'),
(18401, 0, 13, 14, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Fire\' - Say Line 2 (Phase 1)'),
(18401, 0, 14, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 15, 16, 8, 1, 100, 0, 0, 8, 0, 0, 0, 11, 34335, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Nature\' - Cast \'Damage Reduction: Nature\' (Phase 1)'),
(18401, 0, 16, 17, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Nature\' - Say Line 3 (Phase 1)'),
(18401, 0, 17, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 18, 19, 8, 1, 100, 0, 0, 16, 0, 0, 0, 11, 34334, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Frost\' - Cast \'Damage Reduction: Frost\' (Phase 1)'),
(18401, 0, 19, 20, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Frost\' - Say Line 4 (Phase 1)'),
(18401, 0, 20, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 21, 22, 8, 1, 100, 0, 0, 32, 0, 0, 0, 11, 34338, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Shadow\' - Cast \'Damage Reduction: Shadow\' (Phase 1)'),
(18401, 0, 22, 23, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Shadow\' - Say Line 5 (Phase 1)'),
(18401, 0, 23, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 24, 25, 8, 1, 100, 0, 0, 64, 0, 0, 0, 11, 34331, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Arcane\' - Cast \'Damage Reduction: Arcane\' (Phase 1)'),
(18401, 0, 25, 26, 61, 1, 100, 0, 0, 0, 0, 0, 0, 1, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Arcane\' - Say Line 6 (Phase 1)'),
(18401, 0, 26, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Spellhit \'Holy\' - Set Event Phase 0 (Phase 1)'),
(18401, 0, 27, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - On Aggro - Set Event Phase 1'),
(18402, 0, 0, 0, 4, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31403, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - On Aggro - Cast \'Battle Shout\''),
(18402, 0, 1, 0, 9, 0, 100, 0, 8, 25, 23000, 25000, 0, 11, 32323, 1, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Within 8-25 Range - Cast \'Charge\''),
(18402, 0, 2, 0, 0, 0, 100, 0, 3000, 4000, 14000, 17000, 0, 11, 15708, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - In Combat - Cast \'Mortal Strike\''),
(18402, 0, 3, 0, 9, 0, 100, 0, 0, 5, 9000, 13000, 0, 11, 17963, 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Within 0-5 Range - Cast \'Sundering Cleave\''),
(18402, 0, 4, 0, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 13, 13, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - On Just Died - Set Data 13 13'),
(18402, 0, 5, 6, 1, 0, 100, 1, 30000, 30000, 0, 0, 0, 45, 14, 14, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Out of Combat - Set Data 14 14 (No Repeat)'),
(18402, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Out of Combat - Despawn Instant (No Repeat)'),
(18402, 0, 7, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1840200, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - On Data Set 1 1 - Run Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1839900, 1839901, 1840000, 1840100, 1840200));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1839900, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 71, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Right Murkblood Twin - Actionlist - Play Emote 71'),
(1839900, 9, 1, 0, 0, 0, 100, 0, 2200, 2200, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Right Murkblood Twin - Actionlist - Start Attacking'),
(1839901, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Left Murkblood Twin - Actionlist - Say Line 0'),
(1839901, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Left Murkblood Twin - Actionlist - Start Attacking'),
(1840000, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - Actionlist - Say Line 0'),
(1840000, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Rokdar the Sundered Lord - Actionlist - Start Attacking'),
(1840100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - Actionlist - Say Line 0'),
(1840100, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Skra\'gath - Actionlist - Start Attacking'),
(1840200, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Actionlist - Say Line 0'),
(1840200, 9, 1, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Warmaul Champion - Actionlist - Start Attacking');
-- Adjustments to Mogor script
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18069);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18069, 0, 0, 0, 9, 0, 100, 0, 0, 30, 6000, 8000, 0, 11, 16033, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Within 0-30 Range - Cast \'Chain Lightning\''),
(18069, 0, 1, 0, 9, 0, 100, 0, 0, 20, 8000, 18000, 0, 11, 39529, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Within 0-20 Range - Cast \'Flame Shock\''),
(18069, 0, 2, 0, 2, 0, 100, 0, 0, 50, 15000, 15000, 0, 11, 15982, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Between 0-50% Health - Cast \'Healing Wave\''),
(18069, 0, 3, 0, 0, 0, 100, 0, 3400, 6400, 13200, 26400, 0, 11, 18975, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - In Combat - Cast \'Summon Ice Totem\''),
(18069, 0, 5, 0, 2, 0, 100, 1, 0, 1, 1200, 1200, 0, 80, 1806902, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Between 0-1% Health - Run Script (No Repeat)'),
(18069, 0, 4, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 80, 1806900, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - On Data Set 1 1 - Run Script'),
-- (18069, 0, 6, 7, 1, 0, 100, 0, 45000, 45000, 45000, 45000, 0, 45, 17, 17, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Mogor - Out of Combat - Set Data 17 17 - Failure Event'), -- Does not work. Event seems to be queued until the condition (near Gurgthock) is passed
-- (18069, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Out of Combat - Despawn Instant - Failure Event'),
(18069, 0, 6, 7, 7, 0, 100, 0, 0, 0, 0, 0, 0, 45, 17, 17, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Mogor - On Evade - Set Data 17 17 - Failure Event'), -- This is where I gave up. Should be a timer but it did not work with OOC timers or event phases in cases of reset
(18069, 0, 7, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - On Evade - Despawn Instant - Failure Event'),
(18069, 0, 8, 9, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 16, 16, 0, 0, 0, 0, 10, 66480, 18471, 0, 0, 0, 0, 0, 0, 'Mogor - On Just Died - Set Data 16 16 - Success Event'),
(18069, 0, 9, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 5000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - On Just Died - Despawn In 5000 ms'),
(18069, 0, 10, 0, 58, 0, 100, 0, 17, 1806900, 0, 0, 0, 80, 1806901, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - On Waypoint Finished - Run Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1806900, 1806901, 1806902));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1806900, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Say Line 4'),
(1806900, 9, 1, 0, 0, 0, 100, 0, 5000, 5000, 0, 0, 0, 53, 0, 1806900, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Start Waypoint'),
(1806901, 9, 0, 0, 0, 0, 100, 0, 500, 500, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Set Orientation Stored Target'),
(1806901, 9, 1, 0, 0, 0, 100, 0, 3200, 3200, 0, 0, 0, 1, 5, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Say Line 5'),
(1806901, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Set Invincibility Hp 1'),
(1806901, 9, 3, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 2, 14, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Set Faction 14'),
(1806901, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Set Event Phase 1'),
(1806901, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 8, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Set Reactstate Aggressive'),
(1806901, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Start Attacking Stored Target'),
(1806902, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 11, 12141, 50, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Despawn Instant'),
(1806902, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 27, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Missing comment for action_type 27'),
(1806902, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Remove All Auras'),
(1806902, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 31261, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Cast \'Permanent Feign Death (Root)\''),
(1806902, 9, 4, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 11, 32343, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Cast \'Revive Self\''),
(1806902, 9, 5, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Remove All Auras'),
(1806902, 9, 6, 0, 0, 0, 100, 0, 1200, 1200, 0, 0, 0, 11, 28747, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Cast \'Frenzy\''),
(1806902, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Start Attacking'),
(1806902, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 6, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Say Line 6'),
(1806902, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 42, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Mogor - Actionlist - Reset Invincibility Hp');
DELETE FROM `waypoints` WHERE `entry`=18069; -- Delete old one
DELETE FROM `waypoints` WHERE `entry`=1806900 AND `point_comment`='Mogor';
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES
(1806900,1 ,-714.55914,7927.985,58.98062,NULL,'Mogor'),
(1806900,2 ,-715.80914,7925.235,59.23062,NULL,'Mogor'),
(1806900,3 ,-716.05914,7924.235,59.48062,NULL,'Mogor'),
(1806900,4 ,-717.30914,7920.735,58.98062,NULL,'Mogor'),
(1806900,5 ,-718.05914,7918.985,58.23062,NULL,'Mogor'),
(1806900,6 ,-718.80914,7916.985,57.98062,NULL,'Mogor'),
(1806900,7 ,-719.30914,7916.235,57.23062,NULL,'Mogor'),
(1806900,8 ,-719.55914,7915.235,56.48062,NULL,'Mogor'),
(1806900,9 ,-720.21796,7914.135,55.32333,NULL,'Mogor'),
(1806900,10,-720.4691,7905.346,50.524868,NULL,'Mogor'),
(1806900,11,-720.1519,7905.2637,50.770866,NULL,'Mogor'),
(1806900,12,-719.6519,7904.5137,50.520866,NULL,'Mogor'),
(1806900,13,-719.4019,7903.5137,50.020866,NULL,'Mogor'),
(1806900,14,-718.4019,7902.0137,49.770866,NULL,'Mogor'),
(1806900,15,-717.6519,7900.2637,49.520866,NULL,'Mogor'),
(1806900,16,-716.9019,7898.5137,49.270866,NULL,'Mogor'),
(1806900,17,-715.9375,7896.4297,48.333324,NULL,'Mogor');

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_02_00 -> 2023_03_03_00
-- Zorbin Fandazzle - show gossip menu if Quests Zapped Giants (7003) and Fuel for the Zapping (7721) are rewarded
DELETE FROM `conditions` WHERE `SourceGroup` = 11361 AND `SourceTypeOrReferenceId` = 14 AND `ConditionValue1` IN (7003, 7721);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14, 11361, 7116, 0, 0, 8, 0, 7003, 0, 0, 0, 0, 0, '', '(AND) Zorbin Fandazzle - Show gossip menu if Quests Zapped Giants is rewarded'),
(14, 11361, 7116, 0, 0, 8, 0, 7721, 0, 0, 0, 0, 0, '', '(AND) Zorbin Fandazzle - Show gossip menu if Fuel for the Zapping is rewarded');

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_03_00 -> 2023_03_04_00
--
DELETE FROM `spell_script_names` WHERE `ScriptName` = 'spell_dragonblight_corrosive_spit';
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (47447, 'spell_dragonblight_corrosive_spit');

View File

@@ -0,0 +1,9 @@
-- DB update 2023_03_04_00 -> 2023_03_04_01
--
DELETE FROM `spell_script_names` WHERE `spell_id` = 34799 AND `ScriptName` = 'spell_commander_sarannis_arcane_devastation';
INSERT INTO `spell_script_names` (`spell_id`,`ScriptName`) VALUES
(34799,'spell_commander_sarannis_arcane_devastation');
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64 WHERE `ID` IN (34810, 34817, 34818, 34819);
UPDATE `creature_addon` SET `auras` = '34792 19818' WHERE `guid` = 147001;

View File

@@ -0,0 +1,27 @@
-- DB update 2023_03_04_01 -> 2023_03_04_02
-- Rift Spawn (Mage Quest NPC)
DELETE FROM `creature_text` WHERE `CreatureID`=6492;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(6492, 0, 0, '%s is angered and attacks!', 16, 0, 100, 0, 0, 0, 3074, 0, 'Rift Spawn'),
(6492, 1, 0, '%s escapes into the void!', 16, 0, 100, 0, 0, 0, 2564, 0, 'Rift Spawn'),
(6492, 2, 0, '%s is sucked into the coffer!', 16, 0, 100, 0, 0, 0, 2553, 0, 'Rift Spawn');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 6492);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(6492, 0, 0, 1, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 9093, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Reset - Cast \'Rift Spawn Invisibility\''),
(6492, 0, 1, 2, 61, 0, 100, 512, 0, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Reset - Set Invincibility Hp 1'),
(6492, 0, 2, 3, 61, 0, 100, 512, 0, 0, 0, 0, 0, 22, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Reset - Set Event Phase 0'),
(6492, 0, 3, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 19, 33685508, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Reset - Remove Flags Disable Movement & Pacified & Not Selectable'),
(6492, 0, 4, 5, 8, 0, 100, 512, 9095, 0, 0, 0, 0, 28, 9093, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Spellhit \'Cantation of Manifestation\' - Remove Aura \'Rift Spawn Invisibility\''),
(6492, 0, 5, 6, 61, 0, 100, 512, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Spellhit \'Cantation of Manifestation\' - Set Event Phase 1'),
(6492, 0, 6, 7, 61, 0, 100, 513, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Spellhit \'Cantation of Manifestation\' - Say Line 0 " is angered and attacks!"'),
(6492, 0, 7, 0, 61, 0, 100, 513, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Spellhit \'Cantation of Manifestation\' - Start Attacking'),
(6492, 0, 8, 9, 2, 1, 100, 0, 0, 1, 1000, 1000, 0, 11, 9032, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - Between 0-1% Health - Cast \'Self Stun - 30 seconds\' (Phase 1)'),
(6492, 0, 9, 10, 61, 0, 100, 512, 0, 0, 0, 0, 0, 41, 30000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - Between 0-1% Health - Despawn In 30000 ms (Phase 1)'),
(6492, 0, 10, 11, 61, 0, 100, 512, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - Between 0-1% Health - Set Event Phase 2 (Phase 1)'),
(6492, 0, 11, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 18, 33685508, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - Between 0-1% Health - Set Flags Disable Movement & Pacified & Not Selectable'),
(6492, 0, 12, 0, 60, 2, 100, 0, 29000, 29000, 10000, 10000, 0, 1, 1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Update - Say Line 1 "escapes into the void" (Phase 2)'),
(6492, 0, 13, 14, 38, 2, 100, 512, 1, 0, 0, 0, 0, 28, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Data Set 1 0 - Remove All Auras (Phase 2)'),
(6492, 0, 14, 15, 61, 0, 100, 512, 0, 0, 0, 0, 0, 11, 9010, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Data Set 1 0 - Cast \'Create Filled Containment Coffer\' (Phase 2)'),
(6492, 0, 15, 16, 61, 0, 100, 512, 0, 0, 0, 0, 0, 41, 2500, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Data Set 1 0 - Despawn In 2500 ms (Phase 2)'),
(6492, 0, 16, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 1, 2, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rift Spawn - On Data Set 1 0 - Say Line 2 "is sucked into the coffer!" (Phase 2)');

View File

@@ -0,0 +1,136 @@
-- DB update 2023_03_04_02 -> 2023_03_04_03
-- Pit of Saron - Fix order, add missing creature_text and remove duplicates from original sniffs.
-- Forgemaster Garfrost
DELETE FROM `creature_text` WHERE `CreatureID`=36494;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36494, 0, 0, 'Tiny creatures under feet, you bring Garfrost something good to eat!', 14, 0, 100, 0, 0, 16912, 37218, 0, 'Forgemaster Garfrost SAY_AGGRO'),
(36494, 1, 0, 'Axe too weak. Garfrost make better and CRUSH YOU.', 14, 0, 100, 0, 0, 16916, 36445, 0, 'Forgemaster Garfrost SAY_HP_66'),
(36494, 2, 0, 'Garfrost tired of puny mortals. Now your bones will freeze!', 14, 0, 100, 0, 0, 16917, 36444, 0, 'Forgemaster Garfrost SAY_HP_33'),
(36494, 3, 0, 'Garfrost hope giant underpants clean. Save boss great shame. For later.', 14, 0, 100, 0, 0, 16915, 37221, 0, 'Forgemaster Garfrost SAY_DEATH'),
(36494, 4, 0, 'Will save for snack. For later.', 14, 0, 100, 0, 0, 16913, 37219, 0, 'Forgemaster Garfrost SAY_SLAY'),
(36494, 5, 0, 'That one maybe not so good to eat now. Stupid Garfrost! BAD! BAD!', 14, 0, 100, 0, 0, 16914, 37220, 0, 'Forgemaster Garfrost SAY_BOULDER_HIT'),
(36494, 6, 0, '%s hurls a massive saronite boulder at you!', 42, 0, 100, 0, 0, 0, 37438, 0, 'Forgemaster Garfrost WHISPER_BOULDER'),
(36494, 7, 0, '%s casts |cFF00AACCDeep Freeze|r at $n.', 41, 0, 100, 0, 0, 0, 37260, 0, 'Forgemaster Garfrost EMOTE_DEEP_FREEZE');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36494 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36494, 0, 0, 'zhCN', '看这些小东西,你给加弗斯特带来了好吃的!'),
(36494, 1, 0, 'zhCN', '斧子太弱了。看我弄好他,然后……然后砸扁你。'),
(36494, 2, 0, 'zhCN', '加弗斯特厌倦了这些凡人。刺骨的寒风刮起来!'),
(36494, 3, 0, 'zhCN', '加弗斯特不想弄的太狼狈。不想给头领丢脸。晚了。'),
(36494, 4, 0, 'zhCN', '可以留下来当个小点心。'),
(36494, 5, 0, 'zhCN', '这个好像不……不太好吃。加弗斯特真笨!真笨!'),
(36494, 6, 0, 'zhCN', '%s向你用力投出一大块萨隆邪铁巨石'),
(36494, 7, 0, 'zhCN', '%s向$n施放|cFF00AACC深度冻结|r。');
-- Ick
DELETE FROM `creature_text` WHERE `CreatureID`=36476;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36476, 0, 0, '%s begins to unleash a toxic poison cloud!', 41, 0, 100, 0, 0, 0, 36531, 0, 'Ick EMOTE_ICK_POISON_NOVA'),
(36476, 1, 0, '%s is chasing you. Run!', 41, 0, 100, 0, 0, 0, 36529, 0, 'Ick EMOTE_ICK_CHASE');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36476 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36476, 0, 0, 'zhCN', '%s开始释放一块毒云'),
(36476, 1, 0, 'zhCN', '%s正在追赶你。快跑');
-- Krick
DELETE FROM `creature_text` WHERE `CreatureID`=36477;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36477, 0, 0, 'Our work must not be interrupted! Ick, take care of them!', 14, 0, 100, 0, 0, 16926, 37222, 0, 'Krick SAY_AGGRO'),
(36477, 1, 0, 'We could probably use these parts.', 14, 0, 100, 0, 0, 16927, 37223, 0, 'Krick SAY_SLAY_1'),
(36477, 1, 1, 'Arms and legs are in short supply! Thanks for your contribution!', 14, 0, 100, 0, 0, 16928, 37224, 0, 'Krick SAY_SLAY_2'),
(36477, 2, 0, 'Enough moving around! Hold still while I blow them all up!', 14, 0, 100, 0, 0, 16929, 36538, 0, 'Krick SAY_BARRAGE_1'),
(36477, 3, 0, '%s begins rapidly conjuring explosive mines!', 41, 0, 100, 0, 0, 0, 36550, 0, 'Krick SAY_BARRAGE_2'),
(36477, 4, 0, 'Quickly! Poison them all while they\'re still close!', 14, 0, 100, 0, 0, 16930, 36537, 0, 'Krick SAY_POISON_NOVA'),
(36477, 5, 0, 'No, that one! That one! Get that one!', 14, 0, 100, 0, 0, 16931, 36536, 0, 'Krick SAY_CHASE_1'),
(36477, 5, 1, 'I\'ve changed my mind, go get that one instead!', 14, 0, 100, 0, 0, 16932, 37225, 0, 'Krick SAY_CHASE_2'),
(36477, 5, 2, 'What are you attacking him for? The dangerous one is over there!', 14, 0, 100, 0, 0, 16933, 37226, 0, 'Krick SAY_CHASE_3'),
(36477, 6, 0, 'Wait! Stop! Don\'t kill me, please! I\'ll tell you everything!', 14, 0, 100, 0, 0, 16934, 36841, 0, 'Krick SAY_KRICK_OUTRO_1'),
(36477, 7, 0, 'What you seek is in the master\'s lair, but you must destroy Tyrannus to gain entry. Now, within the Halls of Reflection you will find Frostmourne. It... It holds the truth.', 14, 0, 100, 0, 0, 16935, 36842, 0, 'Krick SAY_KRICK_OUTRO_3'),
(36477, 8, 0, 'I swear it is true! Please, don\'t kill me!!', 14, 0, 100, 0, 0, 16936, 36843, 0, 'Krick SAY_KRICK_OUTRO_5'),
(36477, 9, 0, 'Urg... no!!', 14, 0, 100, 0, 0, 16937, 36844, 0, 'Krick SAY_KRICK_OUTRO_8');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36477 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36477, 0, 0, 'zhCN', '我们的工作绝不能被干扰!伊克,招呼他们!'),
(36477, 1, 0, 'zhCN', '这些部件也许对我们有用。'),
(36477, 1, 1, 'zhCN', '我们正缺胳膊和腿呢!感谢你们的大力援助!'),
(36477, 2, 0, 'zhCN', '不要乱动!站稳了,等我把他们都炸飞!'),
(36477, 3, 0, 'zhCN', '%s开始不断召唤出炸雷'),
(36477, 4, 0, 'zhCN', '快点,趁他们在一起的时候上毒!'),
(36477, 5, 0, 'zhCN', '不,是那个!那个!就是他!'),
(36477, 5, 1, 'zhCN', '我改主意了,现在我要的是这个!'),
(36477, 5, 2, 'zhCN', '你打这个家伙干什么?真正危险的人在那儿,傻子!'),
(36477, 6, 0, 'zhCN', '等等!停!别杀我!我把一切都告诉你!'),
(36477, 7, 0, 'zhCN', '你要找的就在主人的巢穴里,但要先干掉泰兰努斯才能进去。霜之哀伤就在映像大厅里……你们……你们能在它那里找到真相。'),
(36477, 8, 0, 'zhCN', '我发誓我没说谎!求你了!别杀我!'),
(36477, 9, 0, 'zhCN', '啊…不!!');
-- Scourgelord Tyrannus
DELETE FROM `creature_text` WHERE `CreatureID`=36658;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36658, 0, 0, 'Alas, brave, brave adventurers, your meddling has reached its end. Do you hear the clatter of bone and steel coming up the tunnel behind you? That is the sound of your impending demise.', 14, 0, 100, 0, 0, 16758, 37233, 0, 'Tyrannus SAY_BOSS_TYRANNUS_INTRO_1'),
(36658, 1, 0, 'Ha, such an amusing gesture from the rabble. When I have finished with you, my master\'s blade will feast upon your souls. Die.', 14, 0, 100, 0, 0, 16759, 37234, 0, 'Tyrannus SAY_BOSS_TYRANNUS_INTRO_2'),
(36658, 2, 0, 'I shall not fail the Lich King. Come and meet your end!', 14, 0, 100, 0, 0, 16760, 38718, 0, 'Tyrannus SAY_AGGRO'),
(36658, 3, 0, 'Such a shameful display. You are better off dead.', 14, 0, 100, 0, 0, 16761, 38715, 0, 'Tyrannus SAY_SLAY_1'),
(36658, 3, 1, 'Perhaps you should have stayed... in the mountains!', 14, 0, 100, 0, 0, 16762, 38716, 0, 'Tyrannus SAY_SLAY_2'),
(36658, 4, 0, 'Impossible.... Rimefang.... warn....', 14, 0, 100, 0, 0, 16763, 38714, 0, 'Tyrannus SAY_DEATH'),
(36658, 5, 0, 'Rimefang, destroy this fool!', 14, 0, 100, 0, 0, 16764, 36648, 0, 'Tyrannus SAY_MARK_RIMEFANG'),
(36658, 6, 0, 'The frostwyrm Rimefang gazes at $n and readies an icy attack!', 41, 0, 100, 0, 0, 0, 36649, 0, 'Tyrannus EMOTE_MARK_RIMEFANG'),
(36658, 7, 0, 'Power... overwhelming!', 14, 0, 100, 0, 0, 16765, 38717, 0, 'Tyrannus SAY_DARK_MIGHT'),
(36658, 8, 0, '%s roars and swells with dark might!', 41, 0, 100, 0, 0, 0, 36628, 0, 'Tyrannus EMOTE_DARK_MIGHT');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36658 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36658, 0, 0, 'zhCN', ''),
(36658, 1, 0, 'zhCN', ''),
(36658, 2, 0, 'zhCN', ''),
(36658, 3, 0, 'zhCN', ''),
(36658, 3, 1, 'zhCN', ''),
(36658, 4, 0, 'zhCN', ''),
(36658, 5, 0, 'zhCN', ''),
(36658, 6, 0, 'zhCN', '$n'),
(36658, 7, 0, 'zhCN', ''),
(36658, 8, 0, 'zhCN', '%s发出怒吼');
-- Rimefang - Delete "The frostwyrm Rimefang gazes at $n and readies an icy attack!", already being used by Scourgelord Tyrannus (6)
DELETE FROM `creature_text` WHERE `CreatureID`=36661;
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36661 AND `Locale`='zhCN';
-- Scourgelord Tyrannus Voice
DELETE FROM `creature_text` WHERE `CreatureID`=36795;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36795, 0, 0, 'Another shall take his place. You waste your time.', 14, 0, 100, 0, 0, 16752, 36765, 0, 'tyrannus SAY_TYRANNUS_GARFROST'),
(36795, 1, 0, 'Rimefang! Trap them within the tunnel! Bury them alive!', 14, 0, 100, 0, 0, 16757, 36714, 0, 'tyrannus SAY_TYRANNUS_TRAP_TUNNEL');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36795 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36795, 0, 0, 'zhCN', ''),
(36795, 1, 0, 'zhCN', '');
-- Scourgelord Tyrannus Event
DELETE FROM `creature_text` WHERE `CreatureID`=36794;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36794, 0, 0, 'Worthless gnat! Death is all that awaits you!', 14, 0, 100, 0, 0, 16753, 36852, 0, 'tyrannus SAY_TYRANNUS_KRICK_1'),
(36794, 1, 0, 'Do not think that I shall permit you entry into my master\'s sanctum so easily. Pursue me if you dare.', 14, 0, 100, 0, 0, 16754, 36853, 0, 'tyrannus SAY_TYRANNUS_KRICK_2'),
(36794, 2, 0, 'Your pursuit shall be in vain, intruders, for the Lich King has placed an army of undead at my command! Behold!', 14, 0, 100, 0, 0, 16755, 36708, 0, 'tyrannus SAY_TYRANNUS_AMBUSH_1'),
(36794, 3, 0, 'Persistent whelps! You will not reach the entrance of my lord\'s lair! Soldiers, destroy them!', 14, 0, 100, 0, 0, 16756, 36709, 0, 'tyrannus SAY_TYRANNUS_AMBUSH_2'),
(36794, 4, 0, 'Intruders have entered the master\'s domain. Signal the alarms!', 14, 0, 100, 0, 0, 16747, 37093, 0, 'tyrannus SAY_TYRANNUS_INTRO_1'),
(36794, 5, 0, 'Hrmph, fodder. Not even fit to labor in the quarry. Relish these final moments for soon you will be nothing more than mindless undead.', 14, 0, 100, 0, 0, 16748, 37094, 0, 'tyrannus SAY_TYRANNUS_INTRO_2'),
(36794, 6, 0, 'Your last waking memory will be of agonizing pain.', 14, 0, 100, 0, 0, 16749, 37095, 0, 'tyrannus SAY_TYRANNUS_INTRO_3'),
(36794, 7, 0, 'Minions, destroy these interlopers!', 14, 0, 100, 0, 0, 16751, 37096, 0, 'tyrannus SAY_TYRANNUS_INTRO_4');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36794 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36794, 0, 0, 'zhCN', '没用的虫子!死亡正等待着你!'),
(36794, 1, 0, 'zhCN', '不要以为我会那么容易让你进入主人的密室。有本事放马过来吧。'),
(36794, 2, 0, 'zhCN', '你们的努力是徒劳的,入侵者。巫妖王让我统率的可是一支亡灵大军!小心了!'),
(36794, 3, 0, 'zhCN', '固执的家伙!你们根本到不了主人的密室!士兵们,消灭他们!'),
(36794, 4, 0, 'zhCN', '入侵者进入了主人的领地。拉响警报!'),
(36794, 5, 0, 'zhCN', '哼,废物,就连在矿坑里作苦力都不配。享受最后的时刻吧。很快你们就会变成行尸走肉了。'),
(36794, 6, 0, 'zhCN', '你们最后的记忆将填满痛苦。'),
(36794, 7, 0, 'zhCN', '奴仆们,消灭那些闯入者!');
-- Sindragosa (NullCreature) - fix air walking
UPDATE `creature_template_movement` SET `Flight` = 2 WHERE `CreatureId` = 37755;

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_04_03 -> 2023_03_04_04
--
DELETE FROM `acore_string` WHERE `entry` = 187;
INSERT INTO `acore_string` (`entry`, `content_default`) VALUE
(187, 'This name is profane, choose another one');

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_04_04 -> 2023_03_04_05
-- Scarlet Enchanter - Remove OOC attack closest player
DELETE FROM `smart_scripts` WHERE `entryorguid` = 9452 AND `source_type` = 0 AND `id` = 2;
-- Scarlet Cleric - Remove OOC attack closest player
DELETE FROM `smart_scripts` WHERE `entryorguid` = 9449 AND `source_type` = 0 AND `id` = 3;

View File

@@ -0,0 +1,80 @@
-- DB update 2023_03_04_05 -> 2023_03_04_06
--
DELETE FROM `creature_text` WHERE `CreatureID`=17876 AND `GroupID` IN (21,22,23);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17876, 21, 0, 'Thrall startles the horse with a fierce yell!', 16, 0, 100, 0, 0, 0, 16499, 0, 'Thrall Horse Emote'),
(17876, 22, 0, 'Thrall tries to calm the horse down.', 16, 0, 100, 0, 0, 0, 15970, 0, 'Thrall Horse Emote 2'),
(17876, 23, 0, 'Taretha isn\'t here. Let\'s head into town.', 12, 0, 100, 0, 0, 0, 15974, 0, 'Thrall Say Lead');
DELETE FROM `creature_text` WHERE `CreatureID`=18096;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(18096, 0, 0, 'Thrall! Come outside and face your fate!', 14, 0, 100, 0, 0, 10418, 16016, 0, 'epoch hunter SAY_ENTER1'),
(18096, 1, 0, 'Taretha\'s life hangs in the balance. Surely you care for her. Surely you wish to save her... ', 14, 0, 100, 0, 0, 10419, 16019, 0, 'epoch hunter SAY_ENTER2'),
(18096, 2, 0, 'Ah, there you are. I had hoped to accomplish this with a bit of subtlety, but I suppose direct confrontation was inevitable. Your future, Thrall, must not come to pass and so... you and your troublesome friends must die!', 14, 0, 100, 0, 0, 10420, 16021, 0, 'epoch hunter SAY_ENTER3'),
(18096, 3, 0, 'Enough, I will erase your very existence!', 14, 0, 100, 0, 0, 10421, 16023, 0, 'epoch hunter SAY_AGGRO1'),
(18096, 3, 1, 'You cannot fight fate!', 14, 0, 100, 0, 0, 10422, 16693, 0, 'epoch hunter SAY_AGGRO2'),
(18096, 4, 0, 'You are... irrelevant.', 14, 0, 100, 0, 0, 10425, 16694, 0, 'epoch hunter SAY_SLAY1'),
(18096, 4, 1, 'Thrall will remain a slave. Taretha will die. You have failed.', 14, 0, 100, 0, 0, 10426, 16695, 0, 'epoch hunter SAY_SLAY2'),
(18096, 5, 0, 'Not so fast!', 14, 0, 100, 0, 0, 10423, 16691, 0, 'epoch hunter SAY_BREATH1'),
(18096, 5, 1, 'Struggle as much as you like...', 14, 0, 100, 0, 0, 10424, 16692, 0, 'epoch hunter SAY_BREATH2'),
(18096, 6, 0, 'Thrall will remain a slave. Taretha will die. You have failed.', 14, 0, 100, 0, 0, 10426, 16695, 0, 'epoch hunter SAY_SLAY2'),
(18096, 7, 0, 'Not so fast!', 14, 0, 100, 0, 0, 10423, 16691, 0, 'epoch hunter SAY_BREATH1'),
(18096, 7, 1, 'Struggle as much as you like...', 14, 0, 100, 0, 0, 10424, 16692, 0, 'epoch hunter SAY_BREATH2'),
(18096, 8, 0, 'No! The master will... not be... pleased.', 14, 0, 100, 0, 0, 10427, 16696, 0, 'epoch hunter SAY_DEATH');
UPDATE `script_waypoint` SET `waitTime`=13000 WHERE `entry`=17876 AND `pointid`=10;
UPDATE `script_waypoint` SET `waitTime`=20000 WHERE `entry`=17876 AND `pointid`=67;
DELETE FROM `waypoints` WHERE `entry` IN (180920,180921,180930,180940);
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`) VALUES
(180920,1,2498.1045,695.5946,55.63158),
(180920,2,2495.6223,694.5012,55.63158),
(180920,3,2492.622,693.5881,55.699432),
(180920,4,2490.3777,695.98254,55.72346),
(180920,5,2490.0405,699.02325,55.73774),
(180920,6,2489.702,702.07544,55.759163),
(180920,7,2489.3306,702.90985,55.765854),
(180920,8,2488.1714,702.7047,55.77027),
(180921,1,2496.374,695.5221,55.63158),
(180921,2,2493.9353,694.89294,55.699627),
(180921,3,2490.935,693.97974,55.711452),
(180921,4,2491.0732,697.56885,55.724335),
(180921,5,2490.736,700.60956,55.741653),
(180921,6,2490.3975,703.66174,55.76295),
(180921,7,2487.7026,703.5013,55.777214),
(180930,1,2497.1765,697.05707,55.63158),
(180930,2,2495.118,696.15826,55.63158),
(180930,3,2492.1177,695.24506,55.70963),
(180930,4,2492.099,696.17346,55.713726),
(180930,5,2491.762,699.2142,55.728592),
(180930,6,2491.4233,702.26636,55.751934),
(180930,7,2489.0288,704.6154,55.77536),
(180930,8,2487.8696,704.4103,55.780678),
(180940,1,2495.4795,694.95447,55.63158),
(180940,2,2491.4536,694.1376,55.70895),
(180940,3,2490.363,703.972,55.764732);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18092 AND `id` IN (3, 4, 5, 6));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18092, 0, 3, 4, 72, 0, 100, 512, 2, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tarren Mill Guardsman - Do Action - Remove Unit Flag'),
(18092, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 180920, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tarren Mill Guardsman - Do Action - Start WP'),
(18092, 0, 5, 6, 72, 0, 100, 0, 2, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tarren Mill Guardsman - Do Action - Remove Unit Flag'),
(18092, 0, 6, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 180921, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tarren Mill Guardsman - Do Action - Start WP');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=18092 AND `SourceId` IN (4,6);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,0,18092,4,0,1,1,22805,0,0,0,0,0,'','Exeucte SAI if aura present'),
(22,0,18092,6,0,1,1,22805,0,0,1,0,0,'','Exeucte SAI if aura not present');
UPDATE `smart_scripts` SET `link`=8 WHERE `entryorguid`=18093 AND `source_type`=0 AND `id`=7;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18093 AND `source_type`=0 AND `id`=8;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18093,0,8,0,61,0,100,0,0,0,0,0,0,53,0,180930,0,0,0,2,1,0,0,0,0,0,0,0,0,'Tarren Mill Protector - Do Action - Start WP');
UPDATE `smart_scripts` SET `link`=6 WHERE `entryorguid`=18094 AND `source_type`=0 AND `id`=5;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18094 AND `source_type`=0 AND `id`=6;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18094,0,6,0,61,0,100,0,0,0,0,0,0,53,0,180940,0,0,0,2,1,0,0,0,0,0,0,0,0,'Tarren Mill Lookout - Do Action - Start WP');

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_04_06 -> 2023_03_04_07
--
DELETE FROM `spell_group` WHERE `id`=1001 AND `spell_id`=25661;
INSERT INTO `spell_group` VALUES
(1001,25661,0);

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_04_07 -> 2023_03_04_08
--
DELETE FROM `spell_proc_event` WHERE `entry`=-31641;
INSERT INTO `spell_proc_event` VALUES
(-31641,0,0,0,0,0,0x000002A8,0x0000403,2,0,0,0);

View File

@@ -0,0 +1,353 @@
-- DB update 2023_03_04_08 -> 2023_03_04_09
-- Halls of Reflection - remove the used duplicates (no broadcastid) and add missing texts.
-- Marwyn
DELETE FROM `creature_text` WHERE `CreatureID`=38113;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(38113, 0, 0, 'Death is all that you will find here!', 14, 0, 100, 0, 0, 16734, 37948, 0, 'marwyn SAY_AGGRO'),
(38113, 1, 0, 'I saw the same look in his eyes when he died. Terenas could hardly believe it.', 14, 0, 100, 0, 0, 16735, 37949, 0, 'marwyn SAY_SLAY_1'),
(38113, 1, 1, 'Choke on your suffering!', 14, 0, 100, 0, 0, 16736, 37950, 0, 'marwyn SAY_SLAY_2'),
(38113, 2, 0, 'Yes... Run... Run to meet your destiny... Its bitter, cold embrace, awaits you.', 14, 0, 100, 0, 0, 16737, 37951, 0, 'marwyn SAY_DEATH'),
(38113, 3, 0, 'Your flesh shall decay before your very eyes!', 14, 0, 100, 0, 0, 16739, 37954, 0, 'marwyn SAY_CORRUPTED_FLESH'),
(38113, 4, 0, 'Waste away into nothingness!', 14, 0, 100, 0, 0, 16740, 37955, 0, 'marwyn SAY_CORRUPTED_WELL'),
(38113, 5, 0, 'As you wish, my lord.', 14, 0, 100, 0, 0, 16741, 37953, 0, 'marwyn SAY_MARWYN_INTRO_1'),
(38113, 6, 0, 'Spirits appear and surround the altar!', 41, 0, 100, 0, 0, 0, 38623, 0, 'marwyn EMOTE_MARWYN_INTRO_SPIRITS'),
(38113, 7, 0, 'The master surveyed his kingdom and found it... Lacking. His judgement was swift and without mercy: DEATH TO ALL!', 14, 0, 100, 0, 0, 16738, 37952, 0, 'marwyn SAY_MARWYN_WIPE_AFTER_FALRIC');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=38113 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(38113, 0, 0, 'zhCN', '你们只会寻得死亡!'),
(38113, 1, 0, 'zhCN', '我看到的是同样的眼神。泰瑞纳斯怎么也想不到。'),
(38113, 1, 1, 'zhCN', '痛苦的窒息吧!'),
(38113, 2, 0, 'zhCN', '对,去吧……迎接你的命运吧……痛苦、冰冷的拥抱正等着你。'),
(38113, 3, 0, 'zhCN', '你的躯壳将在你的眼前朽化!'),
(38113, 4, 0, 'zhCN', '灰飞烟灭吧!'),
(38113, 5, 0, 'zhCN', '如您所愿,我的主人。'),
(38113, 6, 0, 'zhCN', '灵魂们出现并围在祭坛四周!'),
(38113, 7, 0, 'zhCN', '主人审视他的王国,找到了它的……不足。他的决断迅速而无情:生灵俱灭!');
-- Falric
DELETE FROM `creature_text` WHERE `CreatureID`=38112;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(38112, 0, 0, 'Men, women, and children... None were spared the master\'s wrath. Your death will be no different.', 14, 0, 100, 0, 0, 16710, 37931, 0, 'falric SAY_AGGRO'),
(38112, 1, 0, 'Sniveling maggot!', 14, 0, 100, 0, 0, 16711, 37941, 0, 'falric SAY_SLAY_1'),
(38112, 1, 1, 'The children of Stratholme fought with more ferocity!', 14, 0, 100, 0, 0, 16712, 37942, 0, 'falric SAY_SLAY_2'),
(38112, 2, 0, 'Marwyn, finish them...', 14, 0, 100, 0, 0, 16713, 37943, 0, 'falric SAY_DEATH'),
(38112, 3, 0, 'Despair... so delicious...', 14, 0, 100, 0, 0, 16715, 37945, 0, 'falric SAY_IMPENDING_DESPAIR'),
(38112, 4, 0, 'Fear... so exhilarating...', 14, 0, 100, 0, 0, 16716, 37946, 0, 'falric SAY_DEFILING_HORROR'),
(38112, 5, 0, 'As you wish, my lord.', 14, 0, 100, 0, 0, 16717, 37953, 0, 'Falric SAY_FALRIC_INTRO_1'),
(38112, 6, 0, 'Soldiers of Lordaeron, rise to meet your master\'s call!', 14, 0, 100, 0, 0, 16714, 37944, 0, 'Falric SAY_FALRIC_INTRO_2');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=38112 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(38112, 0, 0, 'zhCN', '男人,女人,还有孩子……没人能逃过主人的怒火。你的死早已注定。'),
(38112, 1, 0, 'zhCN', '无能的家伙!'),
(38112, 1, 1, 'zhCN', '斯坦索姆的小孩子都要比你们勇猛!'),
(38112, 2, 0, 'zhCN', '玛维恩,干掉他们……'),
(38112, 3, 0, 'zhCN', '绝望……如此甘甜……'),
(38112, 4, 0, 'zhCN', '恐惧……如此美好……'),
(38112, 5, 0, 'zhCN', '遵命,我的主人。'),
(38112, 6, 0, 'zhCN', '洛丹伦的战士们,服从主人的召唤!');
-- Frostsworn General (Big add after the wave encounter)
DELETE FROM `creature_text` WHERE `CreatureID`=36723;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36723, 0, 0, 'You are not worthy to face the Lich King!', 14, 0, 100, 0, 0, 16921, 38664, 0, 'SAY_FROSTSWORN_GENERAL_AGGRO'),
(36723, 1, 0, 'Master, I have failed...', 14, 0, 100, 0, 0, 16922, 36921, 0, 'SAY_FROSTSWORN_GENERAL_DEATH');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36723 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36723, 0, 0, 'zhCN', '你根本没有资格晋见巫妖王。'),
(36723, 1, 0, 'zhCN', '主人,我失败了……');
-- The Lich King (Event)
DELETE FROM `creature_text` WHERE `CreatureID`=37226;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(37226, 0, 0, 'SILENCE, PALADIN!', 14, 0, 100, 0, 0, 17225, 37613, 0, 'Lich King SAY_LK_INTRO_1'),
(37226, 1, 0, 'So you wish to commune with the dead? You shall have your wish.', 14, 0, 100, 0, 0, 17226, 37614, 0, 'Lich King SAY_LK_INTRO_2'),
(37226, 2, 0, 'Falric. Marwyn. Bring their corpses to my chamber when you are through.', 14, 0, 100, 0, 0, 17227, 37615, 0, 'Lich King SAY_LK_INTRO_3');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37226 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37226, 0, 0, 'zhCN', '闭嘴,圣骑士!'),
(37226, 1, 0, 'zhCN', '你真的想和死人交谈?我会满足你。'),
(37226, 2, 0, 'zhCN', '法瑞克,玛维恩,杀掉他们,送到我的大殿来。');
-- Quel'Delar
DELETE FROM `creature_text` WHERE `CreatureID`=37158;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(37158, 0, 0, 'Quel\'Delar leaps to life in the presence of Frostmourne!', 41, 0, 100, 0, 0, 0, 37645, 0, 'Quel\'Delar EMOTE_QUEL_SPAWN'),
(37158, 1, 0, '%s prepares to attack!', 41, 0, 100, 0, 0, 0, 37211, 0, 'Quel\'Delar EMOTE_QUEL_PREPARE');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37158 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37158, 0, 0, 'zhCN', ''),
(37158, 1, 0, 'zhCN', '%s准备攻击');
-- Uther the Lightbringer
DELETE FROM `creature_text` WHERE `CreatureID`=37225;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(37225, 0, 0, 'Jaina! Could it truly be you?', 12, 0, 100, 0, 0, 16666, 37603, 0, 'Uther SAY_UTHER_INTRO_A2_1'),
(37225, 1, 0, 'Jaina, you haven\'t much time. The Lich King sees what the sword sees. He will be here shortly. ', 12, 0, 100, 0, 0, 16667, 37604, 0, 'Uther SAY_UTHER_INTRO_A2_2'),
(37225, 2, 0, 'No, girl. Arthas is not here. Arthas is merely a presence within the Lich King\'s mind. A dwindling presence...', 12, 0, 100, 0, 0, 16668, 37605, 0, 'Uther SAY_UTHER_INTRO_A2_3'),
(37225, 3, 0, 'Jaina, listen to me. You must destroy the Lich King. You cannot reason with him. He will kill you and your allies and raise you all as powerful soldiers of the Scourge.', 12, 0, 100, 0, 0, 16669, 37606, 0, 'Uther SAY_UTHER_INTRO_A2_4'),
(37225, 4, 0, 'Snap out of it, girl. You must destroy the Lich King at the place where he merged with Ner\'zhul - atop the spire, at the Frozen Throne. It is the only way.', 12, 0, 100, 0, 0, 16670, 37607, 0, 'Uther SAY_UTHER_INTRO_A2_5'),
(37225, 5, 0, 'There is... something else that you should know about the Lich King. Control over the Scourge must never be lost. Even if you were to strike down the Lich King, another would have to take his place. For without the control of its master, the Scourge would run rampant across the world - destroying all living things.', 12, 0, 100, 0, 0, 16671, 37608, 0, 'Uther SAY_UTHER_INTRO_A2_6'),
(37225, 6, 0, 'A grand sacrifice by a noble soul...', 12, 0, 100, 0, 0, 16672, 37609, 0, 'Uther SAY_UTHER_INTRO_A2_7'),
(37225, 7, 0, 'I do not know, Jaina. I suspect that the piece of Arthas that might be left inside the Lich King is all that holds the Scourge from annihilating Azeroth.', 12, 0, 100, 0, 0, 16673, 37610, 0, 'Uther SAY_UTHER_INTRO_A2_8'),
(37225, 8, 0, 'No, Jaina! ARRRRRRGHHHH... He... He is coming. You... You must...', 12, 0, 100, 0, 0, 16674, 37611, 0, 'Uther SAY_UTHER_INTRO_A2_9'),
(37225, 9, 0, 'Careful, girl. I\'ve heard talk of that cursed blade saving us before. Look around you and see what has been born of Frostmourne.', 12, 0, 100, 0, 0, 16659, 37583, 0, 'Uther SAY_UTHER_INTRO_H2_1'),
(37225, 10, 0, 'You haven\'t much time. The Lich King sees what the sword sees. He will be here shortly. ', 12, 0, 100, 0, 0, 16660, 37584, 0, 'Uther SAY_UTHER_INTRO_H2_2'),
(37225, 11, 0, 'You cannot defeat the Lich King. Not here. You would be a fool to try. He will kill those that follow you and raise them as powerful soldiers of the Scourge. But for you, Sylvanas, his reward for you would be worse than the last.', 12, 0, 100, 0, 0, 16661, 37585, 0, 'Uther SAY_UTHER_INTRO_H2_3'),
(37225, 12, 0, 'Perhaps, but know this: there must always be a Lich King. Even if you were to strike down Arthas, another would have to take his place, for without the control of the Lich King, the Scourge would wash over this world like locusts, destroying all that they touched.', 12, 0, 100, 0, 0, 16662, 37586, 0, 'Uther SAY_UTHER_INTRO_H2_4'),
(37225, 13, 0, 'I do not know, Banshee Queen. I suspect that the piece of Arthas that might be left inside the Lich King is all that holds the Scourge from annihilating Azeroth.', 12, 0, 100, 0, 0, 16663, 37587, 0, 'Uther SAY_UTHER_INTRO_H2_5'),
(37225, 14, 0, 'Alas, the only way to defeat the Lich King is to destroy him at the place where he was created.', 12, 0, 100, 0, 0, 16664, 37588, 0, 'Uther SAY_UTHER_INTRO_H2_6'),
(37225, 15, 0, 'Aye. ARRRRRRGHHHH... He... He is coming. You... You must...', 12, 0, 100, 0, 0, 16665, 37589, 0, 'Uther SAY_UTHER_INTRO_H2_7'),
(37225, 16, 0, 'Halt! Do not carry that blade any further!', 14, 0, 100, 25, 0, 16675, 37201, 0, 'Uther SAY_BATTERED_HILT_HALT'),
(37225, 17, 0, 'Do you realize what you\'ve done?', 14, 0, 100, 5, 0, 16676, 37202, 0, 'Uther SAY_BATTERED_HILT_REALIZE'),
(37225, 18, 0, 'You have forged this blade from saronite, the very blood of an old god. The power of the Lich King calls to this weapon.', 12, 0, 100, 1, 0, 16677, 37204, 0, 'Uther SAY_BATTERED_HILT_OUTRO1'),
(37225, 19, 0, 'Each moment you tarry here, Quel\'Delar drinks in the evil of this place.', 12, 0, 100, 1, 0, 16678, 38442, 0, 'Uther SAY_BATTERED_HILT_OUTRO2'),
(37225, 20, 0, 'There is only one way to cleanse this sword. Make haste for the Sunwell and immerse the blade in its waters.', 12, 0, 100, 25, 0, 16679, 37205, 0, 'Uther SAY_BATTERED_HILT_OUTRO3'),
(37225, 21, 0, 'I can resist Frostmourne\'s call no more...', 12, 0, 100, 1, 0, 16680, 37206, 0, 'Uther SAY_BATTERED_HILT_OUTRO4');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37225 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37225, 0, 0, 'zhCN', ''),
(37225, 1, 0, 'zhCN', ''),
(37225, 2, 0, 'zhCN', ''),
(37225, 3, 0, 'zhCN', ''),
(37225, 4, 0, 'zhCN', ''),
(37225, 5, 0, 'zhCN', '使'),
(37225, 6, 0, 'zhCN', ''),
(37225, 7, 0, 'zhCN', '怀'),
(37225, 8, 0, 'zhCN', ''),
(37225, 9, 0, 'zhCN', ''),
(37225, 10, 0, 'zhCN', ''),
(37225, 11, 0, 'zhCN', ''),
(37225, 12, 0, 'zhCN', '使'),
(37225, 13, 0, 'zhCN', '怀'),
(37225, 14, 0, 'zhCN', ''),
(37225, 15, 0, 'zhCN', ''),
(37225, 16, 0, 'zhCN', ''),
(37225, 17, 0, 'zhCN', ''),
(37225, 18, 0, 'zhCN', ''),
(37225, 19, 0, 'zhCN', ''),
(37225, 20, 0, 'zhCN', ''),
(37225, 21, 0, 'zhCN', '');
-- Sylvanas (Part 1)
DELETE FROM `creature_text` WHERE `CreatureID`=37223;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(37223, 0, 0, 'I... I don\'t believe it! Frostmourne stands before us - unguarded - just as the gnome claimed. Come, heroes!', 14, 0, 100, 0, 0, 17049, 37568, 0, 'Sylvanas SAY_SYLVANAS_INTRO_1'),
(37223, 1, 0, 'Standing this close to the blade that ended my life... The pain... It is renewed.', 14, 0, 100, 0, 0, 17050, 37569, 0, 'Sylvanas SAY_SYLVANAS_INTRO_2'),
(37223, 2, 0, 'I dare not touch it. Stand back! Stand back as I attempt to commune with the blade! Perhaps our salvation lies within...', 14, 0, 100, 0, 0, 17051, 37570, 0, 'Sylvanas SAY_SYLVANAS_INTRO_3'),
(37223, 3, 0, 'Uther... Uther the Lightbringer. How...', 12, 0, 100, 0, 0, 17052, 37571, 0, 'Sylvanas SAY_SYLVANAS_INTRO_4'),
(37223, 4, 0, 'The Lich King is here? Then my destiny shall be fulfilled on this day! ', 12, 0, 100, 0, 0, 17053, 37572, 0, 'Sylvanas SAY_SYLVANAS_INTRO_5'),
(37223, 5, 0, 'There must be a way...', 12, 0, 100, 0, 0, 17054, 37573, 0, 'Sylvanas SAY_SYLVANAS_INTRO_6'),
(37223, 6, 0, 'Who could bear such a burden?', 12, 0, 100, 0, 0, 17055, 37600, 0, 'Sylvanas SAY_SYLVANAS_INTRO_7'),
(37223, 7, 0, 'The Frozen Throne...', 12, 0, 100, 0, 0, 17056, 37575, 0, 'Sylvanas SAY_SYLVANAS_INTRO_8'),
(37223, 8, 0, 'You will not escape me that easily, Arthas! I will have my vengeance! ', 14, 0, 100, 0, 0, 17057, 37576, 0, 'Sylvanas SAY_SYLVANAS_INTRO_END');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37223 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37223, 0, 0, 'zhCN', '真是……不敢相信!霜之哀伤居然……无人看管,那个侏儒说的没错。来吧,英雄们!'),
(37223, 1, 0, 'zhCN', '就是这把剑终结了我的生命……那种痛苦……挥之不去。'),
(37223, 2, 0, 'zhCN', '我不敢碰它。后退!后退,我要试着和这把剑交谈!也许我们的救赎就在其中……'),
(37223, 3, 0, 'zhCN', '乌瑟尔……乌瑟尔·光明使者。怎么……'),
(37223, 4, 0, 'zhCN', '巫妖王就在这里?那今天就是我完成使命的日子!'),
(37223, 5, 0, 'zhCN', '一定有办法……'),
(37223, 6, 0, 'zhCN', '谁能扛起这样的重担?'),
(37223, 7, 0, 'zhCN', '冰封王座……'),
(37223, 8, 0, 'zhCN', '你别想轻易逃走,阿尔萨斯!我的仇一定要报!');
-- Jaina (Part 1)
DELETE FROM `creature_text` WHERE `CreatureID`=37221;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(37221, 0, 0, 'The chill of this place... I can feel my blood freezing.', 14, 0, 100, 0, 0, 16631, 37591, 0, 'Jaina SAY_JAINA_INTRO_1'),
(37221, 1, 0, 'What is that! Up ahead! Could it be? Heroes, at my side!', 14, 0, 100, 0, 0, 16632, 37592, 0, 'Jaina SAY_JAINA_INTRO_2'),
(37221, 2, 0, 'Frostmourne: the blade that destroyed our kingdom...', 14, 0, 100, 0, 0, 16633, 37593, 0, 'Jaina SAY_JAINA_INTRO_3'),
(37221, 3, 0, 'Stand back! Touch that blade and your soul will be scarred for all eternity! I must attempt to commune with the spirits locked away within Frostmourne. Give me space. Back up, please. ', 14, 0, 100, 0, 0, 16634, 37594, 0, 'Jaina SAY_JAINA_INTRO_4'),
(37221, 4, 0, 'Uther! Dear Uther! I... I\'m so sorry.', 12, 0, 100, 0, 0, 16635, 37595, 0, 'Jaina SAY_JAINA_INTRO_5'),
(37221, 5, 0, 'Arthas is here? Maybe I...', 12, 0, 100, 0, 0, 16636, 37596, 0, 'Jaina SAY_JAINA_INTRO_6'),
(37221, 6, 0, 'But Uther, if there\'s any hope of reaching Arthas. I... I must try.', 12, 0, 100, 0, 0, 16637, 37597, 0, 'Jaina SAY_JAINA_INTRO_7'),
(37221, 7, 0, 'Tell me how, Uther? How do I destroy my prince? My...', 12, 0, 100, 0, 0, 16638, 37598, 0, 'Jaina SAY_JAINA_INTRO_8'),
(37221, 8, 0, 'You\'re right, Uther. Forgive me. I... I don\'t know what got a hold of me. We will deliver this information to the King and the knights that battle the Scourge within Icecrown Citadel.', 12, 0, 100, 0, 0, 16639, 37599, 0, 'Jaina SAY_JAINA_INTRO_9'),
(37221, 9, 0, 'Who could bear such a burden?', 12, 0, 100, 0, 0, 16640, 37600, 0, 'Jaina SAY_JAINA_INTRO_10'),
(37221, 10, 0, 'Then maybe there is still hope...', 12, 0, 100, 0, 0, 16641, 37601, 0, 'Jaina SAY_JAINA_INTRO_11'),
(37221, 11, 0, 'You won\'t deny me this, Arthas! I must know... I must find out... ', 14, 0, 100, 0, 0, 16642, 37602, 0, 'Jaina SAY_JAINA_INTRO_END');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37221 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37221, 0, 0, 'zhCN', ''),
(37221, 1, 0, 'zhCN', ''),
(37221, 2, 0, 'zhCN', ''),
(37221, 3, 0, 'zhCN', '退退'),
(37221, 4, 0, 'zhCN', ''),
(37221, 5, 0, 'zhCN', ''),
(37221, 6, 0, 'zhCN', ''),
(37221, 7, 0, 'zhCN', ''),
(37221, 8, 0, 'zhCN', ''),
(37221, 9, 0, 'zhCN', ''),
(37221, 10, 0, 'zhCN', ''),
(37221, 11, 0, 'zhCN', '');
-- The Lich King Boss (Part 2)
DELETE FROM `creature_text` WHERE `CreatureID`=36954;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36954, 0, 0, 'Your allies have arrived Jaina, just as you promised. You will all become powerful agents of the Scourge.', 14, 0, 100, 0, 0, 17212, 37172, 0, 'Lich King SAY_LK_AGGRO_ALLY'),
(36954, 1, 0, 'I will not make the same mistake again, Sylvanas. This time there will be no escape. You will all serve me in death!', 14, 0, 100, 0, 0, 17213, 37173, 0, 'Lich King SAY_LK_AGGRO_HORDE'),
(36954, 2, 0, 'There is no escape!', 14, 0, 100, 0, 0, 17217, 37177, 0, 'Lich King SAY_LK_WALL_01'),
(36954, 3, 0, 'Succumb to the chill of the grave.', 14, 0, 100, 0, 0, 17218, 37175, 0, 'Lich King SAY_LK_WALL_02'),
(36954, 4, 0, 'Another dead end.', 14, 0, 100, 0, 0, 17219, 37176, 0, 'Lich King SAY_LK_WALL_03'),
(36954, 5, 0, 'How long can you fight it?', 14, 0, 100, 0, 0, 17220, 38668, 0, 'Lich King SAY_LK_WALL_04'),
(36954, 6, 0, 'Arise minions. Do not let them pass.', 14, 0, 100, 0, 0, 17216, 38669, 0, 'Lich King SAY_LK_GHOUL'),
(36954, 7, 0, 'Minions, sieze them. Bring their corpses back to me.', 14, 0, 100, 0, 0, 17222, 38670, 0, 'Lich King SAY_LK_ABON'),
(36954, 8, 0, 'Death\'s cold embrace awaits.', 14, 0, 100, 0, 0, 17221, 37174, 0, 'Lich King SAY_LK_KING_WINTER'),
(36954, 9, 0, 'Nowhere to run! You\'re mine now...', 14, 0, 100, 0, 0, 17223, 36994, 0, 'Lich King SAY_LK_NOWHERE_TO_RUN');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36954 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36954, 0, 0, 'zhCN', ''),
(36954, 1, 0, 'zhCN', ''),
(36954, 2, 0, 'zhCN', ''),
(36954, 3, 0, 'zhCN', ''),
(36954, 4, 0, 'zhCN', ''),
(36954, 5, 0, 'zhCN', ''),
(36954, 6, 0, 'zhCN', ''),
(36954, 7, 0, 'zhCN', ''),
(36954, 8, 0, 'zhCN', ''),
(36954, 9, 0, 'zhCN', '');
-- (Horde) Sky-Reaver Korm Blackscar
DELETE FROM `creature_text` WHERE `CreatureID`=30824;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(30824, 0, 0, 'FIRE! FIRE!', 14, 0, 100, 0, 0, 16732, 38681, 0, 'Sky-Reaver Korm Blackscar SAY_FIRE_HORDE'),
(30824, 1, 0, 'Get on board, now! This whole mountainside could collapse at any moment.', 14, 0, 100, 0, 0, 16733, 37212, 0, 'Sky-Reaver Korm Blackscar SAY_ONBOARD_HORDE');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=30824 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(30824, 0, 0, 'zhCN', ''),
(30824, 1, 0, 'zhCN', '');
-- (Alliance) High Captain Justin Bartlett
DELETE FROM `creature_text` WHERE `CreatureID`=30344;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(30344, 0, 0, 'FIRE! FIRE!', 14, 0, 100, 0, 0, 16721, 36993, 0, 'High Captain Justin Bartlett SAY_FIRE_ALLY'),
(30344, 1, 0, 'Quickly, climb aboard! We mustn\'t tarry here! There\'s no telling when this whole mountainside will collapse.', 14, 0, 100, 0, 0, 16722, 37213, 0, 'High Captain Justin Bartlett SAY_ONBOARD_ALLY');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=30344 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(30344, 0, 0, 'zhCN', ''),
(30344, 1, 0, 'zhCN', '');
-- Sylvanas (Part 2)
DELETE FROM `creature_text` WHERE `CreatureID`=37554;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `comment`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`) VALUES
(37554, 0, 0, 'He\'s... too powerful. Heroes, quickly... come to me! We must leave this place at once! I will do what I can do hold him in place while we flee.', 14, 'Sylvanas SAY_SYLVANA_AGGRO', 0, 100, 0, 0, 17058, 37168, 0),
(37554, 1, 0, 'No wall can hold the Banshee Queen. Keep the undead at bay, heroes. I will tear this barrier down!', 14, 'Sylvanas SAY_SYLVANA_WALL_01', 0, 100, 0, 0, 17029, 38540, 0),
(37554, 2, 0, 'Another barrier? Stand strong, champions. I will bring the wall down.', 14, 'Sylvanas SAY_SYLVANA_WALL_02', 0, 100, 0, 0, 17030, 38541, 0),
(37554, 3, 0, 'I grow tired of these games, Arthas! Your walls can\'t stop me!', 14, 'Sylvanas SAY_SYLVANA_WALL_03', 0, 100, 0, 0, 17031, 38542, 0),
(37554, 4, 0, 'You won\'t impede our escape, fiend! Keep the undead off me while I bring this barrier down.', 14, 'Sylvanas SAY_SYLVANA_WALL_04', 0, 100, 0, 0, 17032, 38543, 0),
(37554, 5, 0, 'There\'s an opening up ahead. GO NOW!', 14, 'Sylvanas SAY_SYLVANA_ESCAPE_01', 0, 100, 1, 0, 17059, 38551, 0),
(37554, 6, 0, 'We\'re almost there... Don\'t give up!', 14, 'Sylvanas SAY_SYLVANA_ESCAPE_02', 0, 100, 0, 0, 17060, 38538, 0),
(37554, 7, 0, 'BLASTED DEAD END! So this is how it ends. Prepare yourselves, heroes, for today we make our final stand!', 14, 'Sylvanas SAY_SYLVANA_TRAP', 0, 100, 5, 0, 17061, 37170, 0),
(37554, 8, 0, 'We are safe... for now. His strength has increased tenfold since our last battle. It will take a mighty army to destroy the Lich King. An army greater than even the Horde can rouse.', 14, 'Sylvanas SAY_SYLVANA_FINAL', 0, 100, 1, 0, 17062, 37171, 0);
DELETE FROM `creature_text_locale` WHERE `CreatureID`=37554 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(37554, 0, 0, 'zhCN', ''),
(37554, 1, 0, 'zhCN', ''),
(37554, 2, 0, 'zhCN', ''),
(37554, 3, 0, 'zhCN', ''),
(37554, 4, 0, 'zhCN', ''),
(37554, 5, 0, 'zhCN', ''),
(37554, 6, 0, 'zhCN', ''),
(37554, 7, 0, 'zhCN', ''),
(37554, 8, 0, 'zhCN', '');
-- Jaina (Part 2)
DELETE FROM `creature_text` WHERE `CreatureID`=36955;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(36955, 0, 0, 'He is too powerful, we must leave this place at once! My magic will hold him in place for only a short time! Come quickly, heroes!', 14, 0, 100, 1, 0, 16644, 36821, 0, 'Jaina SAY_JAINA_AGGRO'),
(36955, 1, 0, 'I will destroy this barrier. You must hold the undead back!', 14, 0, 100, 0, 0, 16607, 38536, 0, 'Jaina SAY_JAINA_WALL_01'),
(36955, 2, 0, 'Another ice wall! Keep the undead from interrupting my incantations so that I may bring this wall down.', 14, 0, 100, 0, 0, 16608, 38537, 0, 'Jaina SAY_JAINA_WALL_02'),
(36955, 3, 0, 'We\'re almost there... Don\'t give up', 14, 0, 100, 0, 0, 16646, 38538, 0, 'Jaina SAY_JAINA_WALL_03'),
(36955, 4, 0, 'Your barriers can\'t hold us back much longer, monster! I will shatter them all!', 14, 0, 100, 0, 0, 16610, 38539, 0, 'Jaina SAY_JAINA_WALL_04'),
(36955, 5, 0, 'There\'s an opening up ahead. GO NOW!', 14, 0, 100, 1, 0, 16645, 38551, 0, 'Jaina SAY_JAINA_ESCAPE_01'),
(36955, 6, 0, 'It... It\'s a dead end. We have no choice but to fight. Steel yourselves, heroes, for this is our last stand!', 14, 0, 100, 1, 0, 16647, 36992, 0, 'Jaina SAY_JAINA_TRAP'),
(36955, 7, 0, 'Forgive me, heroes. I should have listened to Uther. I... I just had to see for myself. To look into his eyes one last time. I am sorry.', 14, 0, 100, 1, 0, 16648, 36990, 0, 'Jaina SAY_JAINA_FINAL_1'),
(36955, 8, 0, 'We now know what must be done. I will deliver this news to King Varian and Highlord Fordring.', 14, 0, 100, 1, 0, 16649, 36991, 0, 'Jaina SAY_JAINA_FINAL_2');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=36955 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(36955, 0, 0, 'zhCN', '太强大了。我们必须马上离开!我的魔法只能暂时拖住他。快来,英雄们!'),
(36955, 1, 0, 'zhCN', '我会摧毁这道屏障,但你必须挡住那些亡灵!'),
(36955, 2, 0, 'zhCN', '又是一道冰墙!不要让那些亡灵打断我的法术,这样我才能摧毁冰墙。'),
(36955, 3, 0, 'zhCN', '我们就要到了……不要放弃!'),
(36955, 4, 0, 'zhCN', '你的屏障挡不住我们,怪物!我会将它们全部粉碎!'),
(36955, 5, 0, 'zhCN', '前面有个出口,赶快!'),
(36955, 6, 0, 'zhCN', '这……这是死路!我们别无选择,只能战斗。准备迎战,英雄们,这是我们最后的阵地。'),
(36955, 7, 0, 'zhCN', '原谅我,英雄们。我应该听乌瑟尔的。我……我只是希望能够,能够看他最后一眼。对不起。'),
(36955, 8, 0, 'zhCN', '我们知道该怎么做了。我会把这个消息带给瓦里安国王和弗丁大人。');
-- Wave mobs - Ghostly Priest, Phantom Mage, Shadowy Mercenary, Spectral Footman, Tortured Rifleman
SET @PRIEST := 38175;
SET @MAGE := 38172;
SET @MERC := 38177;
SET @FOOTMAN := 38173;
SET @RIFLEMAN := 38176;
DELETE FROM `creature_text` WHERE `CreatureID` IN (@PRIEST, @MAGE, @MERC, @FOOTMAN, @RIFLEMAN);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(@PRIEST, 0, 0, 'All serve the master in death.', 12, 0, 100, 0, 0, 0, 38527, 0, 'Priest SAY_WAVE_DEATH_1'),
(@PRIEST, 0, 1, 'Our souls will never be freed.', 12, 0, 100, 0, 0, 0, 38529, 0, 'Priest SAY_WAVE_DEATH_2'),
(@PRIEST, 0, 2, 'Our torment is eternal.', 12, 0, 100, 0, 0, 0, 38525, 0, 'Priest SAY_WAVE_DEATH_3'),
(@PRIEST, 0, 3, 'This is but a brief repose...', 12, 0, 100, 0, 0, 0, 38528, 0, 'Priest SAY_WAVE_DEATH_4'),
(@PRIEST, 0, 4, 'This is not our final rest.', 12, 0, 100, 0, 0, 0, 38526, 0, 'Priest SAY_WAVE_DEATH_5'),
(@MAGE, 0, 0, 'All serve the master in death.', 12, 0, 100, 0, 0, 0, 38527, 0, 'Mage SAY_WAVE_DEATH_1'),
(@MAGE, 0, 1, 'Our souls will never be freed.', 12, 0, 100, 0, 0, 0, 38529, 0, 'Mage SAY_WAVE_DEATH_2'),
(@MAGE, 0, 2, 'Our torment is eternal.', 12, 0, 100, 0, 0, 0, 38525, 0, 'Mage SAY_WAVE_DEATH_3'),
(@MAGE, 0, 3, 'This is but a brief repose...', 12, 0, 100, 0, 0, 0, 38528, 0, 'Mage SAY_WAVE_DEATH_4'),
(@MAGE, 0, 4, 'This is not our final rest.', 12, 0, 100, 0, 0, 0, 38526, 0, 'Mage SAY_WAVE_DEATH_5'),
(@MERC, 0, 0, 'All serve the master in death.', 12, 0, 100, 0, 0, 0, 38527, 0, 'Mercenary SAY_WAVE_DEATH_1'),
(@MERC, 0, 1, 'Our souls will never be freed.', 12, 0, 100, 0, 0, 0, 38529, 0, 'Mercenary SAY_WAVE_DEATH_2'),
(@MERC, 0, 2, 'Our torment is eternal.', 12, 0, 100, 0, 0, 0, 38525, 0, 'Mercenary SAY_WAVE_DEATH_3'),
(@MERC, 0, 3, 'This is but a brief repose...', 12, 0, 100, 0, 0, 0, 38528, 0, 'Mercenary SAY_WAVE_DEATH_4'),
(@MERC, 0, 4, 'This is not our final rest.', 12, 0, 100, 0, 0, 0, 38526, 0, 'Mercenary SAY_WAVE_DEATH_5'),
(@FOOTMAN, 0, 0, 'All serve the master in death.', 12, 0, 100, 0, 0, 0, 38527, 0, 'Footman SAY_WAVE_DEATH_1'),
(@FOOTMAN, 0, 1, 'Our souls will never be freed.', 12, 0, 100, 0, 0, 0, 38529, 0, 'Footman SAY_WAVE_DEATH_2'),
(@FOOTMAN, 0, 2, 'Our torment is eternal.', 12, 0, 100, 0, 0, 0, 38525, 0, 'Footman SAY_WAVE_DEATH_3'),
(@FOOTMAN, 0, 3, 'This is but a brief repose...', 12, 0, 100, 0, 0, 0, 38528, 0, 'Footman SAY_WAVE_DEATH_4'),
(@FOOTMAN, 0, 4, 'This is not our final rest.', 12, 0, 100, 0, 0, 0, 38526, 0, 'Footman SAY_WAVE_DEATH_5'),
(@RIFLEMAN, 0, 0, 'All serve the master in death.', 12, 0, 100, 0, 0, 0, 38527, 0, 'Rifleman SAY_WAVE_DEATH_1'),
(@RIFLEMAN, 0, 1, 'Our souls will never be freed.', 12, 0, 100, 0, 0, 0, 38529, 0, 'Rifleman SAY_WAVE_DEATH_2'),
(@RIFLEMAN, 0, 2, 'Our torment is eternal.', 12, 0, 100, 0, 0, 0, 38525, 0, 'Rifleman SAY_WAVE_DEATH_3'),
(@RIFLEMAN, 0, 3, 'This is but a brief repose...', 12, 0, 100, 0, 0, 0, 38528, 0, 'Rifleman SAY_WAVE_DEATH_4'),
(@RIFLEMAN, 0, 4, 'This is not our final rest.', 12, 0, 100, 0, 0, 0, 38526, 0, 'Rifleman SAY_WAVE_DEATH_5');
DELETE FROM `creature_text_locale` WHERE `CreatureID` IN (@PRIEST, @MAGE, @MERC, @FOOTMAN, @RIFLEMAN) AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(@PRIEST, 0, 0, 'zhCN', '死后仍为主人效命。'),
(@PRIEST, 0, 1, 'zhCN', '我们的灵魂将永无宁日。'),
(@PRIEST, 0, 2, 'zhCN', '我们永远无法摆脱折磨。'),
(@PRIEST, 0, 3, 'zhCN', '这只不过是暂时的休息…。'),
(@PRIEST, 0, 4, 'zhCN', '最终的胜利还没有到来。'),
(@MAGE, 0, 0, 'zhCN', '死后仍为主人效命。'),
(@MAGE, 0, 1, 'zhCN', '我们的灵魂将永无宁日。'),
(@MAGE, 0, 2, 'zhCN', '我们永远无法摆脱折磨。'),
(@MAGE, 0, 3, 'zhCN', '这只不过是暂时的休息…。'),
(@MAGE, 0, 4, 'zhCN', '最终的胜利还没有到来。'),
(@MERC, 0, 0, 'zhCN', '死后仍为主人效命。'),
(@MERC, 0, 1, 'zhCN', '我们的灵魂将永无宁日。'),
(@MERC, 0, 2, 'zhCN', '我们永远无法摆脱折磨。'),
(@MERC, 0, 3, 'zhCN', '这只不过是暂时的休息…。'),
(@MERC, 0, 4, 'zhCN', '最终的胜利还没有到来。'),
(@FOOTMAN, 0, 0, 'zhCN', '死后仍为主人效命。'),
(@FOOTMAN, 0, 1, 'zhCN', '我们的灵魂将永无宁日。'),
(@FOOTMAN, 0, 2, 'zhCN', '我们永远无法摆脱折磨。'),
(@FOOTMAN, 0, 3, 'zhCN', '这只不过是暂时的休息…。'),
(@FOOTMAN, 0, 4, 'zhCN', '最终的胜利还没有到来。'),
(@RIFLEMAN, 0, 0, 'zhCN', '死后仍为主人效命。'),
(@RIFLEMAN, 0, 1, 'zhCN', '我们的灵魂将永无宁日。'),
(@RIFLEMAN, 0, 2, 'zhCN', '我们永远无法摆脱折磨。'),
(@RIFLEMAN, 0, 3, 'zhCN', '这只不过是暂时的休息…。'),
(@RIFLEMAN, 0, 4, 'zhCN', '最终的胜利还没有到来。');

View File

@@ -0,0 +1,12 @@
-- DB update 2023_03_04_09 -> 2023_03_04_10
-- Falthir the Sightless, add 8143 (Rogue revered neck quest)
DELETE FROM `creature_queststarter` WHERE `id` = 14905 AND `quest` = 8143;
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (14905, 8143);
DELETE FROM `creature_questender` WHERE `id` = 14905 AND `quest` = 8143;
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (14905, 8143);
-- Remove race restrictions. (Rogue exalted neck quest)
UPDATE `quest_template` SET `AllowableRaces` = 0 WHERE `ID` = 8144;
-- Remove race restrictions. (Paladin exalted neck quest)
UPDATE `quest_template` SET `AllowableRaces` = 0 WHERE `ID` = 8048;

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_04_10 -> 2023_03_04_11
--
-- Remove 1.X mobs that are not in wotlk
DELETE FROM creature where guid IN (80391, 80392, 80393, 80394, 80396, 80397, 80399, 80400, 80401, 80402, 80403, 80404, 80405) AND id1 IN(116, 94);

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_04_11 -> 2023_03_04_12
-- Sayge - fix wrong gossip_option (was npc_text)
DELETE FROM `gossip_menu_option` WHERE `MenuID` = 6210 AND `OptionID` = 0;
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(6210, 0, 0, 'I would show my liege the beast\'s ear and claim the beast\'s death as my own, taking the reward for my own use. It is wrong to claim a deed as your own that someone else in fact did.', 10087, 1, 1, 6211, 0, 0, 0, '', 0, 0);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_04_12 -> 2023_03_04_13
-- Too many friendly NPCs dealing damage can interfere with quest objective for killing Socrethar (Quest Credit is self-cast)
UPDATE `creature_template` SET `flags_extra`=`flags_extra`|2097152 WHERE (`entry` = 20132);

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_04_13 -> 2023_03_04_14
-- In Shadow Labyrinth and Sethekk Halls, bosses should drop 2 Spirit Shards per kill
UPDATE `creature_loot_template` SET `MinCount`=2, `MaxCount`=2 WHERE `Item`=28558 AND `Entry` IN (20636, 20637, 20653, 20657, 20690, 20706, 23035, 18732, 18473, 18667, 18708);
-- Yor
UPDATE `creature_loot_template` SET `MinCount`=1, `MaxCount`=1 WHERE `Item`=28558 AND `Entry`=22930;

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_04_14 -> 2023_03_04_15
-- Detected build: V3_4_0_46368
UPDATE `creature_template` SET `unit_flags` = 33554688 WHERE (`entry` = 18778);
UPDATE `creature_template` SET `unit_flags` = 33555200 WHERE (`entry` = 18726);

View File

@@ -0,0 +1,21 @@
-- DB update 2023_03_04_15 -> 2023_03_04_16
--
DELETE FROM `reference_loot_template` WHERE `Entry` IN (24740, 24741) AND `Item` IN (27925,27946,27980,27981,27985,27986,27776,27838,27875,27936,27948);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(24740, 27925, 0, 0, 0, 1, 1, 1, 1, 'Ravenclaw Band'),
(24740, 27946, 0, 0, 0, 1, 1, 1, 1, 'Avian Cloak of Feathers'),
(24740, 27980, 0, 0, 0, 1, 1, 1, 1, 'Terokk\'s Nightmace'),
(24740, 27981, 0, 0, 0, 1, 1, 1, 1, 'Sethekk Oracle Cloak'),
(24740, 27985, 0, 0, 0, 1, 1, 1, 1, 'Deathforge Girdle'),
(24740, 27986, 0, 0, 0, 1, 1, 1, 1, 'Crow Wing Reaper'),
(24741, 27776, 0, 0, 0, 1, 1, 1, 1, 'Shoulderpads of Assassination'),
(24741, 27838, 0, 0, 0, 1, 1, 1, 1, 'Incanter\'s Trousers'),
(24741, 27875, 0, 0, 0, 1, 1, 1, 1, 'Hallowed Trousers'),
(24741, 27936, 0, 0, 0, 1, 1, 1, 1, 'Greaves of Desolation'),
(24741, 27948, 0, 0, 0, 1, 1, 1, 1, 'Trousers of Oblivion');
DELETE FROM `creature_loot_template` WHERE (`Entry` = 18473) AND (`Item` IN (25006, 1, 2));
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(18473, 1, 24740, 100, 0, 1, 0, 1, 1, 'Talon King Ikiss (Reference Table)'),
(18473, 2, 24741, 100, 0, 1, 0, 1, 1, 'Talon King Ikiss (Reference Table)');

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_04_16 -> 2023_03_04_17
-- Franclorn Forgewright
UPDATE `gossip_menu` SET `TextID` = 2319 WHERE `MenuID` = 1667;

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_04_17 -> 2023_03_05_00
--
UPDATE `creature_template` SET `ScriptName` = 'boss_thorngrin_the_tender' WHERE `entry` = 17978;

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_05_00 -> 2023_03_05_01
--
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64, `EffectBasePoints_1` = 0 WHERE `ID` = 31374;

View File

@@ -0,0 +1,9 @@
-- DB update 2023_03_05_01 -> 2023_03_05_02
-- Infected Kodo Beast - add missing ability, Stampede.
DELETE FROM `creature_template_spell` WHERE `CreatureID`=25596;
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
(25596, 0, 45876, 12340),
(25596, 1, 45877, 12340);
-- Column Ornament - disable gravity, previously falling to the ground.
UPDATE `creature_template_movement` SET `Flight` = 1 WHERE `CreatureId` = 29754;

View File

@@ -0,0 +1,10 @@
-- DB update 2023_03_05_02 -> 2023_03_05_03
-- Emberstrife add SAI
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 10321;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 10321);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(10321, 0, 0, 0, 0, 0, 100, 0, 2000, 3000, 12000, 14000, 0, 11, 40504, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Emberstrife - In Combat - Cast \'Cleave\''),
(10321, 0, 1, 0, 0, 0, 100, 0, 8000, 10000, 25000, 28000, 0, 11, 9573, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Emberstrife - In Combat - Cast \'Flame Breath\''),
(10321, 0, 2, 0, 0, 0, 100, 0, 15000, 18000, 135000, 138000, 0, 11, 8269, 32, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Emberstrife - In Combat - Cast \'Frenzy\''),
(10321, 0, 3, 0, 2, 0, 100, 1, 0, 10, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Emberstrife - Between 0-10% Health - Say Line 0 (No Repeat)');

View File

@@ -0,0 +1,10 @@
-- DB update 2023_03_05_03 -> 2023_03_05_04
-- Deathstalker Vincent
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 4444;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(4444, 0, 0, 0, 4, 0, 100, 512, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - On Aggro - Remove FlagStandstate Dead'),
(4444, 0, 1, 2, 25, 0, 100, 513, 0, 0, 0, 0, 0, 42, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - On Reset - Set Invincibility Hp 1% (No Repeat)'),
(4444, 0, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - On Reset - Set Flag Standstate Dead (No Repeat)'),
(4444, 0, 3, 4, 2, 0, 100, 513, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - Between 0-1% Health - Say Line 0 (No Repeat)'),
(4444, 0, 4, 5, 61, 0, 100, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - Between 0-1% Health - Set Home Position (No Repeat)'),
(4444, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Deathstalker Vincent - Between 0-1% Health - Set Faction 35 (No Repeat)');

View File

@@ -0,0 +1,9 @@
-- DB update 2023_03_05_04 -> 2023_03_05_05
--
UPDATE `spell_dbc` SET `Effect_1` = 28, `EffectMiscValueB_1` = 64, `EffectBasePoints_1` = 0 WHERE `ID` = 39111;
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceEntry` = 39105);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 39105, 0, 0, 47, 0, 10832, 8, 0, 0, 0, 0, '', 'Player can only use Nether-wraith Beacon (31742) while quest Becoming a Spellfire Tailor (10832) is in progress');
UPDATE `item_template` SET `ScriptName` = '' WHERE (`entry` = 31742);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_05_05 -> 2023_03_06_00
--
UPDATE `creature_loot_template` SET `Chance`=100 WHERE (`Entry` = 21784) AND (`Item`=30800);

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_06_00 -> 2023_03_07_00
-- Sha'ni Proudtusk's Remains GO SmartAI - Add condition for QUEST_STATE (Complete and rewarded) AND no Sha'ni Proudtusk within 10 yards.
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceGroup`=1 AND `SourceEntry`=160445;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 160445, 1, 0, 47, 0, 3821, 66, 0, 0, 0, 0, '', '(AND) Execute SmartAI for gameobject 160445 only if player has COMPLETE and REWARDED quest 3821'),
(22, 1, 160445, 1, 0, 29, 0, 9136, 10, 0, 1, 0, 0, '', '(AND) Execute SmartAI for gameobject 160445 only if no Sha\'ni Proudtusk is within 10y.');

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_07_00 -> 2023_03_07_01
-- Wailing Caverns - Serpentbloom Snake
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 3680;
DELETE FROM `smart_scripts` WHERE `entryorguid` = 3680;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(3680, 0, 0, 0, 54, 0, 100, 1, 0, 0, 0, 0, 0, 89, 10, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Serpentbloom Snake - On Just Summoned - Start Random Movement (No Repeat)');

View File

@@ -0,0 +1,13 @@
-- DB update 2023_03_07_01 -> 2023_03_07_02
--
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 19 AND `SourceEntry` IN (10641, 10668, 10669);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(19, 0, 10641, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against the Legion - Require Quest 10640 OR 10689'),
(19, 0, 10669, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against All Odds - Require Quest 10640 OR 10689'),
(19, 0, 10668, 0, 1, 47, 0, 10640, 64, 0, 0, 0, 0, '', 'Against the Illidari - Require Quest 10640 OR 10689'),
(19, 0, 10641, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against the Legion - Require Quest 10640 OR 10689'),
(19, 0, 10668, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against the Illidari - Require Quest 10640 OR 10689'),
(19, 0, 10669, 0, 2, 47, 0, 10689, 64, 0, 0, 0, 0, '', 'Against All Odds - Require Quest 10640 OR 10689');
UPDATE `quest_template_addon` SET `PrevQuestID` = 0 WHERE `ID` IN (10641, 10668, 10669);
UPDATE `quest_template_addon` SET `NextQuestID` = 0 WHERE `NextQuestID` IN (10641, 10668, 10669);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_07_02 -> 2023_03_07_03
-- Lord Azrethoc - path with equiped melee weapon.
UPDATE `creature_addon` SET `bytes2` = 1 WHERE `guid` = 29062 AND `path_id` = 290620;

View File

@@ -0,0 +1,30 @@
-- DB update 2023_03_07_03 -> 2023_03_07_04
-- SFK Valentine
DELETE FROM `game_event_gameobject` WHERE `eventEntry` = 8 AND `guid` IN (9755,9764,9776,9814,9815,9816,9817,9818,9819,9827,9831,9832,9835,9836,9821,9823,9834,9837,9775,9788,9820,9822,9824,9825,9826,9829);
INSERT INTO `game_event_gameobject` (`eventEntry`, `guid`) VALUES
(8, 9755), -- Wall ornaments
(8, 9764),
(8, 9776),
(8, 9814),
(8, 9815),
(8, 9816),
(8, 9817),
(8, 9818),
(8, 9819),
(8, 9827),
(8, 9831),
(8, 9832),
(8, 9835),
(8, 9836),
(8, 9775), -- Candles
(8, 9788),
(8, 9820),
(8, 9822),
(8, 9824),
(8, 9825),
(8, 9826),
(8, 9829),
(8, 9821), -- Flower vase
(8, 9823),
(8, 9834),
(8, 9837);

View File

@@ -0,0 +1,7 @@
-- DB update 2023_03_07_04 -> 2023_03_07_05
-- Chimaerok
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 12800);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(12800, 0, 0, 0, 0, 0, 100, 512, 12000, 15000, 12000, 15000, 0, 11, 20629, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Corrosive Venom Spit\''),
(12800, 0, 1, 0, 0, 0, 100, 512, 2000, 4000, 3000, 4000, 0, 11, 20627, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Lightning Breath\''),
(12800, 0, 2, 0, 0, 0, 100, 512, 10000, 15000, 10000, 15000, 0, 11, 18144, 2, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Chimaerok - In Combat - Cast \'Swoop\'');

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_07_05 -> 2023_03_07_06
--
-- This entry should not exist and appears to serve no purpose
DELETE FROM `creature_template` WHERE `entry`=138;

View File

@@ -0,0 +1,10 @@
-- DB update 2023_03_07_06 -> 2023_03_07_07
-- Sindragosa (NullCreature)
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 37755;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(37755, 0, 0, 2, 0, 0, 0, 0);
-- Column Ornament
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 29754;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(29754, 0, 0, 1, 0, 0, 0, 0);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_07_07 -> 2023_03_07_08
-- Event: Pilgrim's Bounty - Few Wild Turkeys having npc gossip flag.
UPDATE `creature` SET `npcflag` = `npcflag`&~(1) WHERE `id1` = 32820 AND `guid` IN (241384,241659,241674,241862,241865,241944,241948,241961,242367,242369,242416,242952,243003,243102,243735,243736,243774,243775);

View File

@@ -0,0 +1,12 @@
-- DB update 2023_03_07_08 -> 2023_03_07_09
-- Avatar of Sathal
DELETE FROM `creature_text` WHERE `CreatureID`=21925;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21925, 0, 0, 'Feel my wrath, $r scum! You will not get away with this!', 14, 0, 100, 0, 0, 0, 19598, 0, 'Avatar of Sathal SAY_AGGRO');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 21925);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21925, 0, 0, 1, 54, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - On Just Summoned - Start Attacking'),
(21925, 0, 1, 0, 61, 0, 100, 257, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - On Just Summoned - Say Line 0 (No Repeat/Reset)'),
(21925, 0, 2, 0, 0, 0, 100, 0, 2300, 3000, 8700, 9000, 0, 11, 12471, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - In Combat - Cast \'Shadow Bolt\''),
(21925, 0, 3, 0, 0, 0, 100, 0, 6000, 12000, 12000, 17000, 0, 11, 34017, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Avatar of Sathal - In Combat - Cast \'Rain of Chaos\'');

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_07_09 -> 2023_03_09_00
--
DELETE FROM `creature_onkill_reputation` WHERE (`creature_id` IN (19958, 19962, 19964, 19969));

View File

@@ -0,0 +1,28 @@
-- DB update 2023_03_09_00 -> 2023_03_09_01
DELETE FROM `quest_request_items_locale` WHERE `ID` IN (12, 17, 33, 57, 67, 99, 104, 109, 111, 113, 163, 188, 190, 193, 203, 257, 258, 267, 269, 275, 276, 286, 294, 295, 296) AND `locale` = 'deDE';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(12, 'deDE', 'Vielleicht habe ich mich nicht klar genug ausgedrückt, $GKandidat:Kandidatin;. Um Euren Wert als $GDiener:Dienerin; der Volksmiliz und $GDiener:Dienerin; des Lichtes zu beweisen, müsst Ihr 15 Fallensteller der Defias und 15 Schmuggler der Defias erschlagen und zu mir zurückkehren, sobald Ihr dies getan habt.', 0),
(17, 'deDE', 'Habt Ihr die Magentafunguskappen bekommen, die ich für meine alchimistische Arbeit benötige? Keine Kappen - keine Belohnung!', 0),
(33, 'deDE', 'He, $N, ich kriege langsam Hunger. Habt Ihr das zähe Wolfsfleisch bekommen?', 0),
(57, 'deDE', 'Kehrt zu mir zurück sobald Ihr 15 Skelettscheusale und 15 Skelettschrecken getötet habt, $N.', 0),
(67, 'deDE', NULL, 0),
(99, 'deDE', 'Habt Ihr die Lohenscheitfesseln schon sichergestellt, $N?', 0),
(104, 'deDE', 'Habt Ihr der Bedrohung namens Trübauge dem Alten schon den Garaus gemacht? Er ist gesehen worden, wie er an der Küste von Westfall umherstreifte.$B$BKehrt zu mir zurück, sobald das garstige Ungeheuer tot ist.', 0),
(109, 'deDE', NULL, 0),
(111, 'deDE', NULL, 0),
(113, 'deDE', 'Na, Unterfeldmesser $N, hat der alte Stößelbruch diesen Bericht schon fertig?', 0),
(163, 'deDE', NULL, 0),
(188, 'deDE', 'Wie läuft die Jagd auf Sin\'Dall?', 0),
(190, 'deDE', 'Ein echter Pantherjäger wäre jetzt da draußen und würde seiner Beute nachstellen. Zeigt etwas Engagement, $C, und macht, dass Ihr wieder ins Feld kommt.', 0),
(193, 'deDE', 'Bhag\'thera ist oft so gut wie unauffindbar. Wie läuft die Jagd?', 0),
(203, 'deDE', 'Ich hoffe, Ihr wart erfolgreich, $N. Ohne Eure Hilfe können wir gegen Kurzen nicht lange durchhalten.', 0),
(257, 'deDE', 'Kein Glück gehabt? Macht Euch nix draus, $Ner…$B$BNicht jeder kann so gut sein wie ich.', 0),
(258, 'deDE', 'Es ist ganz normal, dass man sich selbst bemitleidet, wenn man sich vor jemandem blamiert, der so viel jünger ist als man selbst. Macht Euch nichts draus, $Nah…$B$BWie? Hab ich mir Euren Namen falsch gemerkt?', 0),
(267, 'deDE', 'Könnt Ihr mir 8 Troggsteinzähne zeigen? Wenn nicht, dann habt Ihr immer noch etwas zu erledigen, $N.', 0),
(269, 'deDE', 'Ruht Euch erst einmal aus, $GBruder:Schwester;. Ich sehe Euch an, dass Ihr weit gereist seid und eine schwere Bürde tragt. Könnt Ihr mir erzählen, was diesen dunklen Schatten über Euch wirft?', 0),
(275, 'deDE', 'Das Sumpfland weint noch, und die Moorkrabbler wüten noch. Kommt zurück, wenn Eure Aufgabe erledigt ist.', 0),
(276, 'deDE', 'Eure Aufgabe steht noch an, $Gjunger:junge; $C.', 0),
(286, 'deDE', 'Habt Ihr die Statuette?', 0),
(294, 'deDE', 'Tötet 10 Scheckige Raptoren und 10 Scheckige Kreischer, $N. Meine Mitarbeiter haben das Schicksal nicht verdient, das ihnen zuteil wurde. Es ist Zeit die Rechnung zu begleichen.', 0),
(295, 'deDE', 'Ich will, dass diese Scheckigen Sensenklauen und Scheckigen Scharfzähne für ihre Taten bezahlen. Habt Ihr schon 10 von beiden getötet?', 0),
(296, 'deDE', 'Ist Sarlatan tot? Seid Ihr dem Andenken der Gefallenen gerecht geworden?', 0);

View File

@@ -0,0 +1,29 @@
-- DB update 2023_03_09_01 -> 2023_03_09_02
DELETE FROM `quest_request_items_locale` WHERE `ID` IN (306, 310, 312, 313, 319, 332, 335, 347, 353, 370, 371, 372, 374, 378, 379, 380, 384, 385, 404, 409, 410, 412, 421, 427, 429, 433) AND `locale` = 'deDE';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(306, 'deDE', 'Habt Ihr Merrin gefunden? Hat sie eine Nachricht geschickt?', 0),
(310, 'deDE', 'Die Datumsangabe auf diesem Fass legt nahe, dass es demnächst angestochen werden wird.', 0),
(312, 'deDE', 'Habt Ihr es geschafft, an den Inhalt meiner Fleischtruhe ranzukommen, $N?', 0),
(313, 'deDE', 'He, $N. Wart Ihr schon im Graufelsbau? Diese Wendigos können ziemlich heftig sein.', 0),
(319, 'deDE', 'Habt Ihr Euch um die wilden Tiere gekümmert?', 0),
(332, 'deDE', 'Seid gegrüßt und fühlt Euch willkommen, $Gedler Herr:edle Dame;. Habt Ihr schon einmal einen unserer ausgezeichneten Weine versucht?', 0),
(335, 'deDE', 'Wischock wird bald genug Unterstützung haben, um uns jede Menge Ärger zu machen. Habt Ihr es endlich geschafft, Euch die Tilloaträne oder die Bisamwurzel anzueignen?', 0),
(347, 'deDE', 'Habt Ihr das Rethbanerz?', 0),
(353, 'deDE', 'Ihr seid den ganzen weiten Weg von Sturmwind gekommen? Ich habe gehört, es wird da unten in den Menschenlanden dank herumlaufender Briganten und Orcs etwas brenzlig. An einem solchen Ort kann $Gein:eine; $C sich perfekt beweisen!', 0),
(370, 'deDE', '$GJunger:Junge; $C, Ihr solltet Eure Zeit nicht hier in Brill vergeuden, wenn Euer Volk Euch im Kampf für ihre Sache braucht. Nun, nehmt die Waffen in die Hand und reist nach Südwesten, zum verfallenen Turm, und tötet Hauptmann Perrine zusammen mit 3 Scharlachroten Zeloten und 3 Scharlachroten Missionaren. Wir werden den Scharlachroten Kreuzzug wie Vieh zum Schlachter treiben.', 0),
(371, 'deDE', 'Wie ich sehe, seid Ihr zurückgekehrt, aber Eure Aufgabe ist noch nicht erfüllt. Vielleicht ist es Euch ja recht, dass die Menschen den Plan der Dunklen Fürstin durchkreuzen? Oder aber Ihr folgt dem Ruf der Pflicht und tötet Hauptmann Vachon und seine Bande von Scharlachroten Ordensmitgliedern!', 0),
(372, 'deDE', 'Ihr habt Eure Pflicht noch nicht erfüllt, $C. Wir können nicht erwarten, dass wir den Plan der Dunklen Fürstin ausführen, wenn der Scharlachrote Kreuzzug unsere Soldaten bedrängt. Bringt ihren Tod herbei und erfüllt Eure Pflicht gegenüber Sylvanas!', 0),
(374, 'deDE', 'Habt Ihr bereits 10 Scharlachrote Insignienringe gesammelt, $C?', 0),
(378, 'deDE', 'Ich werde nicht zulassen, dass närrische Menschen-Bürokratie zwergischen Angelegenheiten in die Quere kommt, $N. Kam Tiefenzorn ist erwiesenermaßen einer der Verschwörer des Angriffs auf den Thandolübergang. König Magnis gute Gefolgsleute ließen dank Tiefenzorns Verrat ihr Leben. Den Menschen mag es genug sein, Tiefenzorn im Verlies verrotten zu lassen, aber ich werde nicht mehr ruhig schlafen, bis Tiefenzorn erschlagen ist.', 0),
(379, 'deDE', 'Na, haben die Nomaden Euch die Wasserbeutel "freiwillig" gegeben?', 0),
(380, 'deDE', 'Nehmt Euch vor dem Gift der Spinnen in Acht, $N. Wenn Ihr ein starkes Brennen spürt, solltet Ihr es untersuchen lassen.', 0),
(384, 'deDE', 'Ich werde sechs Klippeneberrippchen und einen Krug Rhapsodiemalz benötigen, $N.', 0),
(385, 'deDE', 'Hab ich Euch eigentlich erzählt, wie ich damals beinahe meine Hand an einen der Kroks verloren hätte? Ein übles Viech war das, mit Zähnen wie Messer. Aber ich hatte Glück... Hab dem Monster mit meinem Messer das Maul gestopft. Ich habe das Messer sogar noch irgendwo herumliegen...', 0),
(404, 'deDE', 'Habt Ihr die Aufgabe erledigt, die ich Euch auftrug? Habt Ihr die Eitrigen Klauen?', 0),
(409, 'deDE', 'Ich erwarte Euren Treuebeweis, $C.', 0),
(410, 'deDE', 'Dies ist ein alter, abgewetzter, blutiger Tisch.', 0),
(412, 'deDE', 'Der Rekombobulator wird laufen wie geschmiert, sobald wir ausreichend Restabilisationszahnräder und Gyromechanische Getriebeteile haben.', 0),
(421, 'deDE', 'Wenn Ihr Euch mir gegenüber beweisen wollt, müsst Ihr 5 Weißskalpe des Mondzorns töten. Erfüllt diese Aufgabe und ich werde dafür sorgen, dass Eure Fähigkeiten für würdigere Aufgaben eingesetzt werden.', 0),
(427, 'deDE', 'Wenn Ihr der Dunklen Fürstin Euren Wert beweisen wollt, müsst Ihr 10 Scharlachrote Krieger töten, $C.', 0),
(429, 'deDE', 'Meine Zeit ist knapp, $C, denn die Dunkle Fürstin hat mich mit einer wichtigen Aufgabe betraut.', 0),
(433, 'deDE', 'Wenn wir die Troggs vom Steinbruch von Gol\'Bolar entfernen können, wäre das der Erste von vielen Schritten, die wir unternehmen müssen, um uns von dieser Bedrohung zu befreien.', 0);

View File

@@ -0,0 +1,29 @@
-- DB update 2023_03_09_02 -> 2023_03_09_03
DELETE FROM `quest_request_items_locale` WHERE `ID` IN (455, 457, 470, 471, 487, 488, 498, 501, 509, 513, 516, 518, 526, 527, 528, 531, 541, 545, 549, 567, 569, 574, 575, 579, 593, 598) AND `locale` = 'deDE';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(455, 'deDE', 'Ihr kommt vom Loch Modan? Wie sieht es mit den Orcs beim Algaztor aus?', 0),
(457, 'deDE', 'Eure Aufgabe ist noch nicht erfüllt, $N. Kehrt zu mir zurück, wenn 5 Räudige Nachtsäbler und 5 Disteleber getötet wurden.', 0),
(470, 'deDE', 'Habt Ihr meine Tasche gefunden?', 0),
(471, 'deDE', 'Mein Lehrling ist wie ein Sohn für mich. Wird hart für ihn sein, sein Leben mit nur einem Bein zu fristen.$B$BAh, $N, wie läuft\'s? Habt Ihr meine Häute?', 0),
(487, 'deDE', 'Die Straße ist noch immer nicht sicher, $C. Kehrt um und erschlagt 6 Wegelagerer der Knarzklauen und kommt zu mir zurück.', 0),
(488, 'deDE', 'Ihr wart also ein fleißiges Bienchen, $N? Ich habe darauf gewartet, dass Ihr mir das bringt, was ich benötige.', 0),
(498, 'deDE', 'Ihr müsst Euch beeilen, $C. Mich schaudert es bei dem Gedanken, was die Menschen Drull und Tog\'thar antun könnten.', 0),
(501, 'deDE', 'Ich erinnere mich an Euch, $N. Ihr wolltet mir dabei helfen mein neuestes Elixier zu brauen. Das Blut brauche ich, um den Einwohnern des Hügellands mein höchsteigenes, hausgemachtes Spezial-Elend zu präsentieren.', 0),
(509, 'deDE', 'Hattet Ihr Erfolg in der Nethandersiedlung?', 0),
(513, 'deDE', 'Könnt Ihr nicht sehen, $C, dass ich beschäftigt bin? Die Dunkle Fürstin besteht auf einer neuen Pest, bevor die Vorhut der Geißel aus Nordend uns überwältigt. Und dann noch die menschliche Bedrohung aus dem Süden. Meine Zeit ist im Augenblick sehr wertvoll. Es ist hoffentlich von Bedeutung!', 0),
(516, 'deDE', 'Habt Ihr ihr Lager bereits entdeckt? Die Zeit drängt!', 0),
(518, 'deDE', 'Ich stelle fest, dass Eure Aufgabe unvollendet ist, $N. Soll ich Sharlindra über Eure Unfähigkeit informieren?', 0),
(526, 'deDE', 'Habt Ihr das Lichtgeschmiedete Eisen gefunden, das Ihr braucht?', 0),
(527, 'deDE', 'Als Hochexekutorin von Tarrens Mühle, die unter dem direkten Befehl von Varimathras und der Dunklen Fürstin steht, müsst Ihr meinem Befehl folgen.$B$BVielleicht nehmt Ihr diesen Krieg mit der Allianz auf die leichte Schulter? Wenn das der Fall ist, sollte ich Euch hier und jetzt enthaupten. Andernfalls reist nach Westen zu den Feldern des Hügellands und führt den Kampf gegen die Menschen, wie befohlen.$B$BWegtreten.', 0),
(528, 'deDE', 'Ihr habt Eure Befehle, $C. Hört auf, hier in Tarrens Mühle zu trödeln, wenn es anderswo Arbeit zu erledigen gibt.', 0),
(531, 'deDE', 'Sehr gute Arbeit, $N! Wir habens ihm wirklich gezeigt! Hier, gebt mir den Kopf, ich werde mich darum kümmern.', 0),
(541, 'deDE', 'Dun Garok erweist sich als ein zu großes Hindernis für Euch, $C? Und ich dachte, Ihr hättet Euch im Hügelland tapfer behauptet.$B$BWenn Ihr der Euch zugewiesenen Aufgabe nicht gewachsen seid, werde ich jemand anderes finden, der bessere Ergebnisse erzielen kann. Was Euch betrifft, so bin ich mir sicher, dass die Dunkle Fürstin in Tirisfal immer mehr Totengräber gebrauchen kann.', 0),
(545, 'deDE', 'Habt Ihr die Patrouillen von Dalaran an den Ruinen bereits ausgedünnt?', 0),
(549, 'deDE', 'Habt Ihr nichts Besseres zu tun, als hier vor mir zu stehen, $C? Als Hochexekutorin habe ich Dringenderes zu tun, als Eure verrottende Visage anzustarren.', 0),
(567, 'deDE', 'Ja?', 0),
(569, 'deDE', 'Habt Ihr schon Fortschritte bei den Ogern in den Ruinen von Mizjah gemacht, $C?', 0),
(574, 'deDE', 'Unteroffizier Yohwa sagte mir, dass Ihr geschickt und mutig seid, $C. Habt Ihr etwas zu berichten?', 0),
(575, 'deDE', 'Meine Ausrüstung ist startklar, $N, ich warte nur noch auf die Häute. Wir wollen Quizvox ja nicht warten lassen.$B$BEs ist für niemanden gut, wenn der Cheferfinder des Tüftlerverbands unzufrieden ist.', 18019),
(579, 'deDE', 'König Varian betrachtet Lernen als sehr wichtig und hat daher Geld zur Verfügung gestellt, damit verschiedene Folianten und Schriften kopiert und für die Öffentlichkeit zugänglich gemacht werden können. Es ist ganz einfach, Ihr bringt mir einen Bibliotheksschein, und ich gebe Euch ein Exemplar eines der verfügbaren Bücher.', 0),
(593, 'deDE', 'Yenniku steht betäubt vor Euch, sein Geist an einem anderen Ort...', 0),
(598, 'deDE', 'Die Schädelspalter werden den Tag verdammen, an dem sie uns den Krieg erklärten! Ist Eure Aufgabe erfüllt?', 0);

View File

@@ -0,0 +1,31 @@
-- DB update 2023_03_09_03 -> 2023_03_09_04
--
UPDATE `creature` SET `spawntimesecs`=900, `wander_distance`=10, `MovementType`=1 WHERE `id1`=23008;
DELETE FROM `pool_template` WHERE `entry`=109 AND `description`='Ethereum Jailor (23008)';
INSERT INTO `pool_template` (`entry`, `max_limit`, `description`) VALUES
(109, 2, 'Ethereum Jailor (23008)');
DELETE FROM `pool_creature` WHERE `pool_entry`=109 AND `description`='Ethereum Jailor (23008)';
INSERT INTO `pool_creature` (`guid`, `pool_entry`, `chance`, `description`) VALUES
(1975937, 109, 0, 'Ethereum Jailor (23008)'),
(1975938, 109, 0, 'Ethereum Jailor (23008)'),
(1975939, 109, 0, 'Ethereum Jailor (23008)'),
(1975940, 109, 0, 'Ethereum Jailor (23008)'),
(1975941, 109, 0, 'Ethereum Jailor (23008)'),
(1975942, 109, 0, 'Ethereum Jailor (23008)'),
(1975943, 109, 0, 'Ethereum Jailor (23008)'),
(1975944, 109, 0, 'Ethereum Jailor (23008)'),
(1975945, 109, 0, 'Ethereum Jailor (23008)'),
(1975946, 109, 0, 'Ethereum Jailor (23008)'),
(1975947, 109, 0, 'Ethereum Jailor (23008)'),
(1975948, 109, 0, 'Ethereum Jailor (23008)'),
(1975949, 109, 0, 'Ethereum Jailor (23008)'),
(1975950, 109, 0, 'Ethereum Jailor (23008)'),
(1975951, 109, 0, 'Ethereum Jailor (23008)'),
(1975952, 109, 0, 'Ethereum Jailor (23008)'),
(1975953, 109, 0, 'Ethereum Jailor (23008)'),
(1975954, 109, 0, 'Ethereum Jailor (23008)'),
(1975955, 109, 0, 'Ethereum Jailor (23008)'),
(1975956, 109, 0, 'Ethereum Jailor (23008)'),
(1975957, 109, 0, 'Ethereum Jailor (23008)');

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_09_04 -> 2023_03_11_00
-- Daggerfen Assassin
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18116);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18116, 0, 0, 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 11, 22766, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Assassin - On Reset - Cast \'Sneak\''),
(18116, 0, 1, 0, 0, 0, 100, 0, 4000, 4000, 10000, 10000, 0, 11, 35204, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Daggerfen Assassin - In Combat - Cast \'Toxic Fumes\'');

View File

@@ -0,0 +1,72 @@
-- DB update 2023_03_11_00 -> 2023_03_11_01
--
UPDATE `creature_template` SET `AIName` = 'SmartAI', `flags_extra` = 0, `unit_flags` = 32768, `ScriptName` = '' WHERE (`entry` = 17893);
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 17893);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(17893, 0, 0, 0, 10, 0, 100, 257, 1, 15, 15000, 90000, 1, 1, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Within 1-15 Range Out of Combat LoS - Say Line 0'),
(17893, 0, 1, 0, 4, 0, 100, 257, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Aggro - Say Line 2'),
(17893, 0, 2, 0, 62, 0, 100, 0, 7520, 0, 0, 0, 0, 80, 1789300, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Gossip Option 0 Selected - Run Script'),
(17893, 0, 3, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33536, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Respawn - Set Flags Immune To Players & Immune To NPC\'s'),
(17893, 0, 4, 5, 62, 0, 100, 0, 7520, 1, 0, 0, 0, 11, 34906, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Gossip Option 1 Selected - Cast \'Mark of Bite\''),
(17893, 0, 5, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Gossip Option 1 Selected - Close Gossip'),
(17893, 0, 6, 0, 64, 0, 100, 0, 0, 0, 0, 0, 0, 33, 17893, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Gossip Hello - Quest Credit \'null\''),
(17893, 0, 7, 0, 40, 0, 100, 0, 1, 1789300, 0, 0, 0, 80, 1789301, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Waypoint 1 Reached - Run Script'),
(17893, 0, 8, 0, 58, 0, 100, 0, 2, 1789300, 0, 0, 0, 82, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - On Waypoint 2 Reached - Add Npc Flags Gossip');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1789300, 1789301));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1789300, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Store Targetlist'),
(1789300, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 2, 113, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Set Faction 113'),
(1789300, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Remove Flags Immune To Players & Immune To NPC\'s'),
(1789300, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 83, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Remove Npc Flags Gossip'),
(1789300, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 0, 15, 182094, 10, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Activate Gameobject'),
(1789300, 9, 5, 0, 0, 0, 100, 0, 200, 200, 0, 0, 0, 107, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Summon Creature Group 0'),
(1789300, 9, 6, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 53, 0, 1789300, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Start Waypoint'),
(1789301, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 54, 3440, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Pause Waypoint'),
(1789301, 9, 1, 0, 0, 0, 100, 0, 240, 240, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Set Orientation Stored Player'),
(1789301, 9, 2, 0, 0, 0, 100, 0, 200, 200, 0, 0, 0, 1, 1, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Naturalist Bite - Actionlist - Say Line 1');
DELETE FROM `waypoints` WHERE `entry`=1789300 AND `point_comment`='Naturalist Bite';
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `delay`, `point_comment`) VALUES
(1789300, 1, -190.92549, -796.38947, 43.799316, NULL, 0, 'Naturalist Bite'),
(1789300, 2, -183.40784, -780.19904, 43.799313, NULL, 0, 'Naturalist Bite');
DELETE FROM `creature_text` WHERE `CreatureID`=17893 AND `GroupID`=2 AND `ID`=0;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17893, 2, 0, 'I... HAVE HAD ENOUGH... OF... YOU!', 12, 0, 100, 0, 0, 0, 14584, 0, 'Naturalist Bite');
DELETE FROM `creature_summon_groups` WHERE `summonerId`=17893 AND `summonerType`=0;
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`, `comment`) VALUES
(17893, 0, 0, 17957, -101.13928, -745.353, 35.483814, 3.476041078567504882, 4, 30000, 'Naturalist Bite Event'),
(17893, 0, 0, 17960, -98.6582, -742.3795, 35.319103, 3.332194089889526367, 4, 30000, 'Naturalist Bite Event'),
(17893, 0, 0, 17961, -97.35107, -745.45483, 35.69915, 3.675448894500732421, 4, 30000, 'Naturalist Bite Event');
DELETE FROM `gossip_menu` WHERE (`MenuID` = 7520);
INSERT INTO `gossip_menu` (`MenuID`, `TextID`) VALUES
(7520, 9119),
(7520, 9144);
DELETE FROM `gossip_menu_option` WHERE (`MenuID` = 7520);
INSERT INTO `gossip_menu_option` (`MenuID`, `OptionID`, `OptionIcon`, `OptionText`, `OptionBroadcastTextID`, `OptionType`, `OptionNpcFlag`, `ActionMenuID`, `ActionPoiID`, `BoxCoded`, `BoxMoney`, `BoxText`, `BoxBroadcastTextID`, `VerifiedBuild`) VALUES
(7520, 0, 0, 'Alright, Bite, I\'ll let you out.', 14574, 1, 1, 0, 0, 0, 0, '', 0, 0),
(7520, 1, 0, 'Naturalist, please grant me your boon.', 14670, 1, 1, 0, 0, 0, 0, '', 0, 0);
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` IN (14, 15)) AND (`SourceGroup` = 7520) AND (`ConditionValue1` = 182094);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(14, 7520, 9119, 0, 0, 30, 1, 182094, 5, 0, 0, 0, 0, '', 'Only show if Naturalist Bite is imprisoned'),
(15, 7520, 0, 0, 0, 30, 1, 182094, 5, 0, 0, 0, 0, '', 'Only show if Naturalist Bite is imprisoned'),
(14, 7520, 9144, 0, 0, 30, 1, 182094, 5, 0, 1, 0, 0, '', 'Only show if Naturalist Bite is freed'),
(15, 7520, 1, 0, 0, 30, 1, 182094, 5, 0, 1, 0, 0, '', 'Only show if Naturalist Bite is freed');
DELETE FROM `creature_text` WHERE `CreatureID`=17957 AND `comment` LIKE 'Coilfang Champion%';
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17957, 1, 0, 'Intrudersss with the prisssoner! Kill them!!!', 14, 0, 100, 0, 0, 0, 15896, 0, 'Coilfang Champion - Naturalist Bite Event'),
(17957, 0, 0, 'Die, warmblood!', 12, 0, 100, 0, 0, 0, 16710, 0, 'Coilfang Champion'),
(17957, 0, 1, 'For the Master!', 12, 0, 100, 0, 0, 0, 16708, 0, 'Coilfang Champion'),
(17957, 0, 2, 'Illidan reigns!', 12, 0, 100, 0, 0, 0, 16709, 0, 'Coilfang Champion'),
(17957, 0, 3, 'My blood is like venom!', 12, 0, 100, 0, 0, 0, 16712, 0, 'Coilfang Champion');
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 17957) AND (`source_type` = 0) AND (`id` = 4);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(17957, 0, 4, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coilfang Champion - On Just Summoned - Say Line 1');

View File

@@ -0,0 +1,25 @@
-- DB update 2023_03_11_01 -> 2023_03_11_02
--
DELETE FROM `creature_text` WHERE `CreatureID` IN (17805,17959);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(17805,0,0,'Hurry up with it already! The longer you take, the more of a hurtin\' I\'m putting on you!',14,0,100,0,0,0,14412,0,'Coilfang Slavemaster'),
(17805,0,1,'This is terrible..... my arms grow tired from beating on you lazy peons!',14,0,100,0,0,0,14414,0,'Coilfang Slavemaster'),
(17805,0,2,'Too soon! You are slacking off too soon!',14,0,100,0,0,0,14415,0,'Coilfang Slavemaster'),
(17805,0,3,'Wake up! Now get up and back to work!',14,0,100,0,0,0,14405,0,'Coilfang Slavemaster'),
(17805,0,4,'What is this?! Didn\'t mommy and daddy teach you anything?!',14,0,100,0,0,0,14413,0,'Coilfang Slavemaster'),
(17805,1,0,'By Nazjatar\'s Depths! ',12,0,100,0,0,0,16711,0,'Coilfang Slavemaster'),
(17805,1,1,'Die, warmblood!',12,0,100,0,0,0,16710,0,'Coilfang Slavemaster'),
(17805,1,2,'For the Master!',12,0,100,0,0,0,16708,0,'Coilfang Slavemaster'),
(17805,1,3,'Illidan reigns!',12,0,100,0,0,0,16709,0,'Coilfang Slavemaster'),
(17805,1,4,'My blood is like venom!',12,0,100,0,0,0,16712,0,'Coilfang Slavemaster'),
(17959,0,0,'Hurry up with it already! The longer you take, the more of a hurtin\' I\'m putting on you!',14,0,100,0,0,0,14412,0,'Coilfang Slavehandler'),
(17959,0,1,'This is terrible..... my arms grow tired from beating on you lazy peons!',14,0,100,0,0,0,14414,0,'Coilfang Slavehandler'),
(17959,0,2,'Too soon! You are slacking off too soon!',14,0,100,0,0,0,14415,0,'Coilfang Slavehandler'),
(17959,0,3,'Wake up! Now get up and back to work!',14,0,100,0,0,0,14405,0,'Coilfang Slavehandler'),
(17959,0,4,'What is this?! Didn\'t mommy and daddy teach you anything?!',14,0,100,0,0,0,14413,0,'Coilfang Slavehandler'),
(17959,1,0,'By Nazjatar\'s Depths! ',12,0,100,0,0,0,16711,0,'Coilfang Slavehandler'),
(17959,1,1,'Die, warmblood!',12,0,100,0,0,0,16710,0,'Coilfang Slavehandler'),
(17959,1,2,'For the Master!',12,0,100,0,0,0,16708,0,'Coilfang Slavehandler'),
(17959,1,3,'Illidan reigns!',12,0,100,0,0,0,16709,0,'Coilfang Slavehandler'),
(17959,1,4,'My blood is like venom!',12,0,100,0,0,0,16712,0,'Coilfang Slavehandler');

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_11_02 -> 2023_03_11_03
-- These were switched around
UPDATE `conditions` SET `ConditionValue1`=1032, `Comment`='SOHG: Turbulent Signet only for leatherusers' WHERE `SourceTypeOrReferenceId`=10 AND `SourceGroup`=10058 AND `SourceEntry`=51991;
UPDATE `conditions` SET `ConditionValue1`=400, `Comment`='SOHG: Turbulent Signet only for clothusers' WHERE `SourceTypeOrReferenceId`=10 AND `SourceGroup`=10059 AND `SourceEntry`=51991;

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_11_03 -> 2023_03_11_04
--
UPDATE `quest_template` SET `RewardChoiceItemID1` = 31492, `RewardChoiceItemQuantity1` = 1, `RewardChoiceItemID2` = 31491, `RewardChoiceItemQuantity2` = 1, `RewardChoiceItemID3` = 31490, `RewardChoiceItemQuantity3` = 1, `RewardChoiceItemID4` = 31494, `RewardChoiceItemQuantity4` = 1, `RewardChoiceItemID5` = 31493, `RewardChoiceItemQuantity5` = 1 WHERE (`ID` = 10870);

View File

@@ -0,0 +1,124 @@
-- DB update 2023_03_11_04 -> 2023_03_11_05
-- Infinite Assasin
UPDATE `creature_template` SET `difficulty_entry_1`=20740 WHERE `entry`=17835;
UPDATE `creature_template` SET `faction`=1720, `MovementType`=1 WHERE `entry`=20740;
UPDATE `creature_template` SET `difficulty_entry_1`=22164, `AiName`='SmartAI' WHERE `entry`=21137;
DELETE FROM `smart_scripts` WHERE `entryorguid`=17835 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(17835,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Assassin - On Death - Talk'),
(17835,0,1,0,0,0,100,2,8000,12000,15000,17000,0,11,30832,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Kidney Shot'),
(17835,0,2,0,0,0,100,4,8000,12000,15000,17000,0,11,30832,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Kidney Shot'),
(17835,0,3,0,67,0,100,2,5000,5000,0,0,0,11,7159,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - Behind Target - Cast Backstab'),
(17835,0,4,0,67,0,100,4,5000,5000,0,0,0,11,15657,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - Behind Target - Cast Backstab'),
(17835,0,5,0,0,0,100,4,5000,8000,8000,12000,0,11,38520,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Deadly Poison'),
(17835,0,6,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Assassin - On Reset - Cast Corrupt Medivh');
DELETE FROM `smart_scripts` WHERE `entryorguid`=21137 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21137,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Assassin - On Death - Talk'),
(21137,0,1,0,0,0,100,2,8000,12000,15000,17000,0,11,14874,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Rupture'),
(21137,0,2,0,0,0,100,4,8000,12000,15000,17000,0,11,14874,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Rupture'),
(21137,0,3,0,0,0,100,2,5000,8000,8000,12000,0,11,14873,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Spell Sinister Strike'),
(21137,0,4,0,0,0,100,4,5000,8000,8000,12000,0,11,14873,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Spell Sinister Strike'),
(21137,0,5,0,0,0,100,4,5000,8000,8000,12000,0,11,30981,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Assassin - In Combat - Cast Crippling Poison'),
(21137,0,6,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Assassin - On Reset - Cast Spell Corrupt Medivh');
DELETE FROM `creature_text` WHERE `CreatureID`=21137;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21137,0,0,'More will take my place.',12,0,100,0,0,0,15167,0,'Infinite Assassin'),
(21137,0,1,'Our time has come!',12,0,100,0,0,0,15163,0,'Infinite Assassin'),
(21137,0,2,'The wizard will fall!',12,0,100,0,0,0,15164,0,'Infinite Assassin');
UPDATE `creature_onkill_reputation` SET `creature_id`=17835, `RewOnKillRepValue1`=2 WHERE `creature_id`=21137;
UPDATE `creature_onkill_reputation` SET `creature_id`=20740, `RewOnKillRepValue1`=3 WHERE `creature_id`=22164;
-- Infinite Chronomancer
UPDATE `creature_template` SET `AiName`='SmartAI' WHERE `entry`=21136;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21136 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21136,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Chronomancer - On Death - Talk'),
(21136,0,1,0,0,0,100,2,0,0,1500,1500,0,11,15497,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Chronomancer - In Combat - Cast Frostbolt'),
(21136,0,2,0,0,0,100,4,0,0,1500,1500,0,11,12675,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Chronomancer - In Combat - Cast Frostbolt'),
(21136,0,3,0,9,0,100,2,0,10,10000,10000,0,11,15063,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Chronomancer - Within Range 0-10yd - Cast Frost Nova'),
(21136,0,4,0,9,0,100,4,0,10,10000,10000,0,11,15531,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Chronomancer - Within Range 0-10yd - Cast Frost Nova'),
(21136,0,5,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Chronomancer - On Reset - Cast Corrupt Medivh');
DELETE FROM `creature_text` WHERE `CreatureID`=21136;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21136,0,0,'We are not finished!',12,0,100,0,0,0,15174,0,'Infinite Chronomancer'),
(21136,0,1,'Death to the Last Guardian!',12,0,100,0,0,0,15171,0,'Infinite Chronomancer'),
(21136,0,2,'We will not fail!',12,0,100,0,0,0,23332,0,'Infinite Chronomancer');
DELETE FROM `creature_onkill_reputation` WHERE `creature_id` IN (21136,22165);
-- Infinite Executioner
UPDATE `creature_template` SET `difficulty_entry_1`=20742 WHERE `entry`=18994;
UPDATE `creature_template` SET `faction`=1720, `MovementType`=1 WHERE `entry`=20742;
UPDATE `creature_template` SET `difficulty_entry_1`=22166, `AiName`='SmartAI' WHERE `entry`=21138;
UPDATE `creature_template` SET `damagemodifier`=7.5 WHERE `entry`=22166;
DELETE FROM `smart_scripts` WHERE `entryorguid`=18994 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18994,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Executioner - On Death - Talk'),
(18994,0,1,0,0,0,100,2,0,0,8000,12000,0,11,15580,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Strike'),
(18994,0,2,0,0,0,100,4,0,0,8000,12000,0,11,34920,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Strike'),
(18994,0,3,0,0,0,100,2,1000,1000,3000,3000,0,11,17198,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Overpower'),
(18994,0,4,0,0,0,100,4,1000,1000,3000,3000,0,11,37321,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Overpower'),
(18994,0,5,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Executioner - On Reset - Cast Corrupt Medivh');
DELETE FROM `smart_scripts` WHERE `entryorguid`=21138 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21138,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Executioner - On Death - Talk'),
(21138,0,1,0,0,0,100,2,0,0,8000,12000,0,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Cleave'),
(21138,0,2,0,0,0,100,4,0,0,8000,12000,0,11,15496,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Cleave'),
(21138,0,3,0,0,0,100,2,5000,8000,12000,18000,0,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Hamstring'),
(21138,0,4,0,0,0,100,4,5000,8000,12000,18000,0,11,9080,0,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Executioner - In Combat - Cast Hamstring'),
(21138,0,5,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Executioner - On Reset - Cast Corrupt Medivh');
DELETE FROM `creature_text` WHERE `CreatureID`=21138;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21138,0,0,'More will take my place.',12,0,100,0,0,0,15167,0,'Infinite Executioner'),
(21138,0,1,'We will not be stopped!',12,0,100,0,0,0,15166,0,'Infinite Executioner'),
(21138,0,2,'Your efforts... are in vain.',12,0,100,0,0,0,15168,0,'Infinite Executioner');
DELETE FROM `creature_onkill_reputation` WHERE `creature_id` IN (21138,22166);
-- Infinite Vanquisher
UPDATE `creature_template` SET `difficulty_entry_1`=20743 WHERE `entry`=18995;
UPDATE `creature_template` SET `faction`=1720, `MovementType`=1 WHERE `entry`=20743;
UPDATE `creature_template` SET `difficulty_entry_1`=22168, `AiName`='SmartAI' WHERE `entry`=21139;
UPDATE `creature_template` SET `BaseAttackTime`=2000 WHERE `entry`=22168;
DELETE FROM `smart_scripts` WHERE `entryorguid`=21139 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(21139,0,0,0,6,0,50,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Vanquisher - On Death - Talk'),
(21139,0,1,0,0,0,100,2,0,0,2000,2000,0,11,12739,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Vanquisher - In Combat - Cast Shadow Bolt'),
(21139,0,2,0,0,0,100,4,0,0,2000,2000,0,11,15472,64,0,0,0,0,2,0,0,0,0,0,0,0,0,'Infinite Vanquisher - In Combat - Cast Shadow Bolt'),
(21139,0,3,0,9,0,100,2,6000,7000,12000,18000,0,11,32063,0,0,0,0,0,5,30,0,0,0,0,0,0,0,'Infinite Vanquisher - In Combat - Cast Corruption'),
(21139,0,4,0,9,0,100,4,6000,7000,12000,18000,0,11,32197,0,0,0,0,0,5,30,0,0,0,0,0,0,0,'Infinite Vanquisher - In Combat - Cast Corruption'),
(21139,0,5,0,25,0,100,0,0,0,0,0,0,11,31326,0,0,0,0,0,1,0,0,0,0,0,0,0,0,'Infinite Vanquisher - On Reset - Cast Corrupt Medivh');
DELETE FROM `creature_text` WHERE `CreatureID`=21139;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(21139,0,0,'We are not finished!',12,0,100,0,0,0,15174,0,'Infinite Vanquisher'),
(21139,0,1,'Death to the Last Guardian!',12,0,100,0,0,0,15171,0,'Infinite Vanquisher'),
(21139,0,2,'We will not fail!',12,0,100,0,0,0,23332,0,'Infinite Vanquisher');
DELETE FROM `creature_onkill_reputation` WHERE `creature_id` IN (21139,22168);
-- Conditions
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry` IN (17835,17892,18994,18995,21136,21137,21138,21139);
INSERT INTO`conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22,7,17835,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,17892,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,18994,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,18995,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,21136,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,7,21137,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,21138,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd'),
(22,6,21139,0,0,29,1,15608,20,0,0,0,0,'','SAI "Corrupt Medivh" requires Medivh in 20yd');

View File

@@ -0,0 +1,21 @@
-- DB update 2023_03_11_05 -> 2023_03_11_06
--
-- Revamp Aeonus Tables
DELETE FROM `reference_loot_template` WHERE Entry IN (35004);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(35004, 27509, 0, 0, 0, 1, 2, 1, 1, 'Handgrips of Assassination'),
(35004, 27839, 0, 0, 0, 1, 2, 1, 1, 'Legplates of the Righteous'),
(35004, 27873, 0, 0, 0, 1, 2, 1, 1, 'Moonglade Pants'),
(35004, 27977, 0, 0, 0, 1, 2, 1, 1, 'Legplates of the Bold'),
(35004, 28194, 0, 0, 0, 1, 2, 1, 1, 'Primal Surge Bracers'),
(35004, 28207, 0, 0, 0, 1, 2, 1, 1, 'Pauldrons of the Crimson Flight'),
(35004, 28188, 0, 0, 0, 1, 3, 1, 1, 'Bloodfire Greatstaff'),
(35004, 28189, 0, 0, 0, 1, 3, 1, 1, 'Latro\'s Shifting Sword'),
(35004, 28190, 0, 0, 0, 1, 3, 1, 1, 'Scarab of the Infinite Cycle'),
(35004, 28192, 0, 0, 0, 1, 3, 1, 1, 'Helm of Desolation'),
(35004, 28193, 0, 0, 0, 1, 3, 1, 1, 'Mana-Etched Crown'),
(35004, 28206, 0, 0, 0, 1, 3, 1, 1, 'Cowl of the Guiltless');
-- Insert 2nd loot drop
DELETE FROM `creature_loot_template` WHERE `Entry`=17881 AND `Item`=35004 AND `GroupId`=3;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES
(17881, 35004, 35004, 100, 0, 1, 3, 1, 1, 'Aeonus High Value Table - (ReferenceTable)');

View File

@@ -0,0 +1,17 @@
-- DB update 2023_03_11_06 -> 2023_03_11_07
-- Steam Pump Overseer
UPDATE `creature_template_addon` SET `auras` = '6961' WHERE `entry` = 18340;
UPDATE `creature_template` SET `flags_extra` = `flags_extra`|64 WHERE `entry` = 18340;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 18340);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18340, 0, 0, 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - On Just Summoned - Say Line 0'),
(18340, 0, 1, 0, 2, 0, 100, 512, 0, 90, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-90% Health - Cast \'Toughen\' I'),
(18340, 0, 2, 0, 2, 0, 100, 512, 0, 80, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-80% Health - Cast \'Toughen\' II'),
(18340, 0, 3, 0, 2, 0, 100, 512, 0, 70, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-70% Health - Cast \'Toughen\' III'),
(18340, 0, 4, 0, 2, 0, 100, 512, 0, 60, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-60% Health - Cast \'Toughen\' IV'),
(18340, 0, 5, 0, 2, 0, 100, 512, 0, 50, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-50% Health - Cast \'Toughen\' V'),
(18340, 0, 6, 0, 2, 0, 100, 512, 0, 40, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-40% Health - Cast \'Toughen\' VI'),
(18340, 0, 7, 0, 2, 0, 100, 512, 0, 30, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-30% Health - Cast \'Toughen\' VII'),
(18340, 0, 8, 0, 2, 0, 100, 512, 0, 20, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-20% Health - Cast \'Toughen\' VIII'),
(18340, 0, 9, 0, 2, 0, 100, 512, 0, 10, 0, 0, 0, 11, 33962, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Steam Pump Overseer - Between 0-10% Health - Cast \'Toughen\' IX');

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_11_07 -> 2023_03_11_08
-- Starving Helboar
UPDATE `creature_template_addon` SET `auras` = '33908' WHERE `entry` = 16879;
UPDATE `creature_template` SET `AIName` = '', `detection_range` = 30 WHERE `entry` = 16879;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 16879;

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_11_08 -> 2023_03_11_09
--
-- Temporus Level fix
UPDATE `creature_template` SET `minlevel`=72, `maxlevel`=72 WHERE `entry`=17880;

View File

@@ -0,0 +1,22 @@
-- DB update 2023_03_11_09 -> 2023_03_12_00
--
DELETE FROM `achievement_criteria_data` WHERE `criteria_id` IN (3931,12859,4227,3929);
INSERT INTO `achievement_criteria_data` (`criteria_id`,`type`,`value1`,`value2`,`ScriptName`) VALUES
-- aliance
-- Kissed Sraaz
(3931,1,9099,0,''),
(3931,11,0,0,'achievement_flirt_with_disaster_perf_check'),
(3931,15,3,0,''),
-- Handful of Rose Petals on Sraaz
(12859,1,9099,0,''),
(12859,11,0,0,'achievement_flirt_with_disaster_perf_check'),
(12859,15,3,0,''),
-- horde
-- Kissed Jeremiah Payson
(3929,1,8403,0,''),
(3929,11,0,0,'achievement_flirt_with_disaster_perf_check'),
(3929,15,3,0,''),
-- Handful of Rose Petals on Jeremiah Payson
(4227,1,8403,0,''),
(4227,11,0,0,'achievement_flirt_with_disaster_perf_check'),
(4227,15,3,0,'');

View File

@@ -0,0 +1,24 @@
-- DB update 2023_03_12_00 -> 2023_03_13_00
-- Yogg Saron Vision -- Add missing text
DELETE FROM `creature_text` WHERE `CreatureID`=33552;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(33552, 0, 0, 'A thousand deaths....', 12, 0, 100, 0, 0, 15762, 33616, 0, 'Yogg-Saron'),
(33552, 1, 0, 'Or one murder.', 12, 0, 100, 0, 0, 15763, 33617, 0, 'Yogg-Saron'),
(33552, 2, 0, 'Your petty quarrels only make me stronger.', 12, 0, 100, 0, 0, 15764, 34188, 0, 'Yogg-Saron'),
(33552, 3, 0, 'Yrr n\'lyeth... shuul anagg!', 12, 0, 100, 0, 0, 15766, 33628, 0, 'Yogg-Saron'),
(33552, 4, 0, 'He will learn... no king rules forever; only death is eternal!', 12, 0, 100, 0, 0, 15767, 33629, 0, 'Yogg-Saron'),
(33552, 5, 0, 'His brood learned their lesson before too long. You will soon learn yours!', 12, 0, 100, 0, 0, 15765, 33663, 0, 'Yogg-Saron');
DELETE FROM `creature_text_locale` WHERE `CreatureID`=33552 AND `Locale`='zhCN';
INSERT INTO `creature_text_locale` (`CreatureID`, `GroupID`, `ID`, `Locale`, `Text`) VALUES
(33552, 0, 0, 'zhCN', ''),
(33552, 1, 0, 'znCN', ''),
(33552, 2, 0, 'zhCN', ''),
(33552, 3, 0, 'zhCN', 'Yrr n\'lyeth... shuul anagg!'),
(33552, 4, 0, 'zhCN', '他会明白……没有谁可以永远坐在王位上,只有死亡才是永恒的!'),
(33552, 5, 0, 'zhCN', '他的族群没用多久就得到了教训。你们也快了!');
-- Death Orb (Death Ray)
DELETE FROM `creature_template_movement` WHERE `CreatureId` = 33882;
INSERT INTO `creature_template_movement` (`CreatureId`, `Ground`, `Swim`, `Flight`, `Rooted`, `Chase`, `Random`, `InteractionPauseTimer`) VALUES
(33882, 1, 0, 0, 0, 0, 0, 0);

View File

@@ -0,0 +1,46 @@
-- DB update 2023_03_13_00 -> 2023_03_13_01
DELETE FROM `quest_request_items_locale` WHERE `ID` IN (606, 618, 619, 629, 631, 632, 633, 660, 664, 676, 677, 678, 679, 683, 704, 724, 728, 731, 739, 745, 754, 758, 764, 782, 829, 835, 848, 861, 863, 865, 872, 887, 891, 903, 909, 938, 942, 943, 953, 957, 974, 984, 985) AND `locale` = 'deDE';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(606, 'deDE', 'He! Den Blick, den Ihr mir da zuwerft, mag ich gar nicht, $Sire:Madame;.', 0),
(618, 'deDE', 'Habt Ihr meinen Entersäbel bekommen, $N?', 0),
(619, 'deDE', 'Dies ist ein verlassenes Rettungsboot. An seiner Seite stehen in zerkratzten, verblassten Buchstaben die Worte:$B$BSMOTTS RACHE', 0),
(629, 'deDE', 'Ich warte auf den Schrifttafelsplitter, $N.', 0),
(631, 'deDE', NULL, 0),
(632, 'deDE', 'Gibt es Spuren vom alten Rostlocke, $N?', 0),
(633, 'deDE', 'Der Behälter mit Sprengstoff muss zerstört werden!', 0),
(660, 'deDE', 'Die Zeit für Gespräche ist vorbei. Wenn Euch die Bewohner des Hügellands auch nur das Geringste bedeuten, dann beschützt Ihr Kinelory.', 0),
(664, 'deDE', 'Bah, vielleicht sollte ich diesen Naga-Abschaum selbst töten. Es ist offensichtlich, dass Ihr es nicht fertig bringt.$B$BVielleicht kann ich ein paar Stricknadeln für Euch auftreiben, damit Ihr eine Beschäftigung habt.', 0),
(676, 'deDE', 'Ich habe keine Zeit meine Axt zu schärfen, geschweige denn den Außenposten zu verlassen um die Bestien zu erschlagen, die versuchen meine Sippe zu töten.$B$BIhr scheint nicht die Erfahrung eines Grunzers zu haben, noch seid Ihr $Gein:eine; ganz $Gausgebildeter:ausgebildete; $C, was wollt Ihr also, $N?', 0),
(677, 'deDE', 'Wenn Ihr meine Aufgabe noch nicht erfüllt habt, dann seid ihr vielleicht ein Feigling im Herzen und ein Neuling im Krieg.', 0),
(678, 'deDE', 'Ihr zögert. Warum? Ihr habt bis jetzt große Stärke bewiesen, $N. Enttäuscht mich jetzt nicht.', 0),
(679, 'deDE', 'Ich sehe, dass Euer Mut schwindet. Es scheint, als hätte mein Instinkt mich nicht getäuscht: Eure Stärke ist nichts im Vergleich zu Eurer Angeberei.$B$BKehrt zu mir zurück, sobald der Kopf der Bestie abgetrennt ist oder kehrt nie wieder zurück.', 0),
(683, 'deDE', 'Ihr seid also $N, $Gder:die; $C? Neuigkeiten über Eure Hilfe gegenüber der Allianz sind weit gereist, wisst Ihr?$B$BIn welcher Angelegenheit tretet Ihr heute vor mich?', 0),
(704, 'deDE', 'Habt Ihr die Urnen gefunden, $N? Wir müssen herausfinden, welche Verbindung zwischen ihnen und den Troggs besteht!', 0),
(724, 'deDE', 'Ah, ja. Wieder $Gein Reisender:eine Reisende;, $Gder:die; nach etwas von den Zwergen sucht.$B$B$GSire:Madame;, es tut mir wirklich Leid, aber ich habe jetzt keine Zeit, sinnlose Fragen zu beantworten.', 0),
(728, 'deDE', 'Ah, Ihr seid $Gein:eine; besonders $Geifriger:eifrige; $C, wie ich sehe. Seid Ihr hier, um aus meiner Sammlung zu lernen? Gut!$B$BAber seid gewarnt: Genau wie Wissen den Starken Macht verleiht... treibt es die Schwachen in den Wahnsinn.', 0),
(731, 'deDE', 'Ist der Ausgrabungsleiter am Leben?', 0),
(739, 'deDE', 'Wisst Ihr Neues über Agmonds Schicksal? Habt Ihr ihn gefunden?', 0),
(745, 'deDE', 'Wenn die Bleichmähnen das Land und ihre Bewohner mehr respektiert hätten, wäre es zu diesem Konflikt nicht gekommen.', 0),
(754, 'deDE', 'Schiebt es nicht auf, $N. Die Besudelung des Wasserbrunnens der Winterhufe muss beseitigt werden!', 0),
(758, 'deDE', 'Der Wasserbrunnen der Donnerhörner ist immer noch besudelt, $N. Bitte, Ihr müsst das Ritual durchführen!', 0),
(764, 'deDE', 'Der Venture Company wurden die Bergbaurechte hier in Mulgore verweigert, aber es scheint so, als würde sie ein Nein als Antwort nicht akzeptieren. Wir Tauren neigen jedoch nicht zu Haarspaltereien und wir haben andere Wege, unsere Nachricht klar rüberzubringen.', 0),
(782, 'deDE', 'Tho\'gruns Verrat... wen wundert es da noch, dass die Oger nicht mehr der Horde angehören? Ich bin froh, dass er tot und das Zeichen der Erde wieder da ist.$B$BFalls Ihr ihn noch nicht erledigt habt, dann verschwendet keine Zeit und geht zum Camp Boff. Es befindet sich südöstlich von Kargath.', 0),
(829, 'deDE', 'Meine ergebensten Grüße, $C. Womit kann ich $Gmeinem Bruder:meiner Schwester; heute behilflich sein?', 0),
(835, 'deDE', 'Bei einem Typen wie meinem Chef Gazlowe würde man das nicht vermuten, aber er schien immer zu wissen, was Sache ist. "Habt keine Angst, den großen Schritt zu wagen", sagte er.$B$BDie Harpyien werden nicht aufhören, uns zu belästigen und die Karawanen werden weiter angegriffen werden, wenn wir nicht etwas dagegen unternehmen, hm?', 0),
(848, 'deDE', 'Habt Ihr die Sporen, $N? Ich muss meinem Kollegen in Donnerfels ein Gebräu schicken, für das diese Sporen benötigt werden...', 0),
(861, 'deDE', 'Seid gegrüßt. Ihr habt etwas an Euch, das mir viel über Euch verrät. Wollt Ihr etwas von mir?', 0),
(863, 'deDE', 'Kann ich Euch behilflich sein?', 0),
(865, 'deDE', 'Habt Ihr die Hörner, $N? Diese Dinger werden mir ein Vermögen einbringen!', 0),
(872, 'deDE', 'Schneidet dem Anführer den Kopf ab, dann bricht das Chaos aus, $N. Lernt diese Lektion sorgfältig. Sie wird Euch in der Zukunft helfen.$B$BDie Eber werden ziellos davonstieben und wir können das Brachland zurückerobern.', 0),
(887, 'deDE', 'Ich wage gar nicht daran zu denken, welcher Profit mir durch die Überfälle der Piraten entgeht, und jetzt haben sie auch noch ein Lager direkt vor meiner Haustür aufgeschlagen? Das artet langsam aus, Lorenhall muss etwas dagegen unternehmen.', 0),
(891, 'deDE', 'Meine Flotte ist in Gefahr, solange Hauptmann Hellstieg und ihre verdammten Kanoniere von der Feste Nordwacht aus feuern. Ich möchte, dass auch ihre Soldaten dafür bezahlen. Füllt meine Hände mit Medaillen ihrer Toten, damit ich weiß, dass meine gefallenen Freibeuter gerächt sind.', 0),
(903, 'deDE', 'Wie läuft Eure Jagd, $N? Habt Ihr die Streuner gefunden?', 0),
(909, 'deDE', 'Ah, willkommen zurück $N. Ich habe gerade die Wellen des Meeres beobachtet, so wie immer. Was führt euch zum Außenposten?', 0),
(938, 'deDE', 'Nebel... Es war meine Schuld! Die Hexen haben mich überrumpelt... Ich hätte nicht zulassen dürfen, dass sie dich mitnehmen...', 0),
(942, 'deDE', 'Was habt Ihr da, $GFreund:Freundin?', 0),
(943, 'deDE', 'Mit dem Stein von Relu kann ich nicht nur die verborgenen Geheimnisse meines Fossils, sondern auch die von Wirrbarts Fossil aus Dunkelküste enthüllen, $N.', 0),
(953, 'deDE', 'Wenn Ihr die Schrifttafeln studiert und etwas über Ameth\'Arans Untergang erfahren habt, leite ich dieses Wissen nach Auberdine weiter und informiere den Kreis der Urtume.', 0),
(957, 'deDE', 'In Wahrheit, $N, habe ich Angst... Angst, dass Euer Kommen - all dies - nur ein Hirngespinst eines gestörten Geistes ist. Könnt Ihr Euch vorstellen, was das für eine Qual ist? Ich... Bitte, Ihr müsst gehen, schnell!', 0),
(974, 'deDE', 'Ich würde ja selbst gehen, aber... Ich habe ein wenig Angst vor den Feuerelementaren dort!', 0),
(984, 'deDE', 'Wie geht Eure Suche voran, $N?', 0),
(985, 'deDE', 'Haltet Eure Hand nicht von dem ab, was getan werden muss, mein Kind. Ich weiß wie abstoßend der Gedanke ist, die Kreaturen des Waldes zu töten aber in diesem Fall ist es notwendig.$B$BEs gibt noch kein Heilmittel für die Verderbnis, die den Wald befallen hat. Wir müssen tun, was wir können, um das Fortschreiten der Krankheit aufzuhalten bis ein Heilmittel gefunden wird.', 0);

View File

@@ -0,0 +1,33 @@
-- DB update 2023_03_13_01 -> 2023_03_13_02
DELETE FROM `quest_request_items_locale` WHERE `ID` IN (1002, 1012, 1017, 1022, 1043, 1045, 1048, 1057, 1071, 1073, 1074, 1076, 1077, 1079, 1080, 1086, 1096, 1109, 1125, 1127, 1139, 1140, 1147, 1168, 1172, 1173, 1175, 1179, 1188, 1192) AND `locale` = 'deDE';
INSERT INTO `quest_request_items_locale` (`ID`, `locale`, `CompletionText`, `VerifiedBuild`) VALUES
(1002, 'deDE', 'Obwohl Ihr die sechs Mondpirscherfangzähne noch nicht eingebaut habt, meint Ihr doch, statische Geräusche und wirres Gnomgebrabbel aus der Maschine dringen zu hören. Ob wohl ein anderer die Maschine bereits repariert hat?', 0),
(1012, 'deDE', 'Die Qualen der Druiden von Dor\'danil verfolgen mich noch immer in meinen Träumen, $N. Ihr musst ihre Anführer vernichten!', 0),
(1017, 'deDE', 'Ist es vollbracht? Ist Sarilus Faulmut tot?', 0),
(1022, 'deDE', 'Der Foliant des Schreins ist ein rätselhafter Gegenstand. Es ist kein Buch im eigentlichen Sinne. Mel\'Thandris selbst hat die Seiten des Folianten gesegnet und darauf wichtige Ereignisse festgehalten.$B$BEs ist nur schwer zu erklären. Wenn Ihr zum Schrein geht, werdet Ihr es verstehen.', 0),
(1043, 'deDE', 'Der Wald ist gefährlich für Unvorbereitete. Habt Eure Waffe immer nah bei Euch und Euren Verstand noch näher, oder Eure nächste Reise in den verwunschenen Wald könnte Eure letzte sein.', 0),
(1045, 'deDE', 'Habt Ihr Ran schon erschlagen, $GFreund:Freundin;?$B$BNicht einmal die Nachtelfen verdienen solchen Zorn. Sein Hass brennt noch heißer als der meine, aber er ist nicht mehr Herr seines Verstandes. Er ist eine Bedrohung für alle natürlichen Lebewesen dieses Waldes.', 0),
(1048, 'deDE', 'Vielleicht habe ich mich mit meinen Befehlen nicht klar ausgedrückt, $c. Ich will, dass Hochinquisitorin Weißsträhne ein für alle Mal getötet wird. Und wenn Ihr schon dabei seid, schaltet auch ihre oberste Führung aus.$B$BTötet diesen Eiferer, den Scharlachroten Kommandant Mograine. Legt Herod, den Scharlachroten Helden um. Und schlachtet auch Hundemeister Loksey und seine dreckigen Köter ab.$B$BNun verschwindet!', 0),
(1057, 'deDE', 'Es gibt noch viel zu tun, bevor das verbrannte Tal wieder zu dem üppigen Wald werden kann, der es einst war.$B$BSäubert das Gebiet von diesen üblen Bedrohungen, $N! Erst dann können wir beginnen, das zurückzufordern, was der Natur gehört.', 0),
(1071, 'deDE', 'Wie geht der Kampf voran, $N?', 0),
(1073, 'deDE', 'Ohne die Tränke kann ich kein Nitromirglyceronium herstellen... sie sind für die Herstellung unbedingt erforderlich.', 0),
(1074, 'deDE', 'Ah, prima, prima, Ihr seid zurück.', 0),
(1076, 'deDE', 'Hallo, $N. Habt Ihr die Komponente gefunden, die ich benötige?', 0),
(1077, 'deDE', 'Haha! Ihr seid zurück! Habt Ihr ihn? Habt Ihr den Zauber?', 0),
(1079, 'deDE', 'Habt Ihr die Pläne, $N?', 0),
(1080, 'deDE', 'Wie ist es gelaufen, $N?', 0),
(1086, 'deDE', 'Ihr müsst den Flughafen der Venture Company finden, falls er existiert, $N.', 0),
(1096, 'deDE', 'Stotterspritter wird einen Beweis für Gerenzos Tod haben wollen. Ich glaube, dieser mechanische Arm wird reichen.', 0),
(1109, 'deDE', 'Ah, wie ich sehe, seid Ihr zurückgekehrt. Konntet Ihr etwas Kralguano beschaffen?', 0),
(1125, 'deDE', 'Allianz oder Horde, das spielt keine Rolle - kein Wesen verdient es, als gequälter Geist auf dieser Welt gefangen zu sein. Die Befreiung dieser Seelen wird die Dinge wieder richtig stellen, $N.', 0),
(1127, 'deDE', 'Habt Ihr mehr von Zanzils Mixtur, $N?', 0),
(1139, 'deDE', 'Hammerzehs Auftrag muss aktualisiert werden, $N. Das schulde ich ihm.$B$BNicht nur deswegen ist es zwingend, dass Ihr nach Uldaman zurückkehrt, sondern auch für die Sicherheit aller Zwerge. Wenn die Tafel den Dunkeleisenzwergen in die Hände fällt, kann niemand sagen, wie mächtig ihre Golemarmee werden könnte.', 0),
(1140, 'deDE', 'Ich habe Gerüchte gehört, dass die Geschichte der Satyrn in irgendeiner Weise mit der der Nachtelfen zusammenhängt, aber ich habe festgestellt, dass sich meine geschätzten Gastgeber zurückhalten, über dieses Thema zu sprechen.', 0),
(1147, 'deDE', 'Bei der Menge an Reisenden, die sich für diese Rennen in der Ebene aufmachen, bin ich mir sicher, dass wir genügend Abenteurer überzeugen können, um die Insekten zurückzudrängen. Meine Gruppe und ich werden nicht abreisen können, bevor wir damit fertig sind.', 0),
(1168, 'deDE', 'Mok\'Morokk sagen Ogern sie bleiben und Ort schützen. Mok\'Morokk denken Oger müssen schwarze Drachen töten und altes Zuhause zurückbekommen.$B$BIhr helfen Ogern mit Zuhause, Ihr geben uns Rache.', 0),
(1172, 'deDE', 'Ihr müsst zum Drachendüster eilen, $N. Da Onyxias Eier überall im Drachensumpf verstreut sind, droht uns eine Übermacht, wenn wir nicht schnell etwas unternehmen.$B$BZerstört ihre Eier! Lasst nicht zu, dass sich die schwarze Drachenplage über unser Heimatland ausbreitet!', 0),
(1173, 'deDE', 'Ich dachte, Ihr wolltet versuchen Mok\'Morokk aus dem Dorf zu vertreiben. Stattdessen kommt Ihr zu mir, um mit mir zu plaudern?', 0),
(1175, 'deDE', 'Es ist schon schlimm genug, die Wracks der Rennwagen aufzuräumen, ohne dass man sie dabei aus verbrannten Tierteilen heraussuchen muss.', 0),
(1179, 'deDE', 'Passt auf, wo Ihr hintretet! Aufpassen, aufpassen, aufpassen!!! Das hier sind empfindliche Teile, und wenn wir gewinnen wollen, muss alles perfekt funktionieren!', 0),
(1188, 'deDE', 'Wie Ihr sicher wisst, können im Gizmorium all Eure Tüftlerwünsche erfüllt werden! Wie kann ich Euch helfen?', 0),
(1192, 'deDE', 'Ich würde gern in verschiedene Teile unserer Rennwagen Indurium integrieren, brauche aber große Mengen Rohindurium, um diese Teile herzustellen.$B$BIhr findet Indurium in der Ausgrabungsstätte Uldaman im Ödland in Khaz Modan, jenseits des Meeres.$B$BDie Gnome bekommen ihre eigenen Vorräte, wir müssen daher unbedingt selbst welches haben, um mit ihnen Schritt zu halten.', 0);

View File

@@ -0,0 +1,487 @@
-- DB update 2023_03_13_02 -> 2023_03_13_03
-- DELETE all old stuff
DELETE FROM `creature` WHERE `map`=554 AND `id1` IN (19166,19167,19168,19218,19219,19220,19221,19231,19510,19710,19712,19713,19716,19735,20059,20988,20990) AND `guid` IN (67872,75951,83160,83161,83162,83163,83164,83165,83166,83167,83168,83169,83170,83171,83172,83173,83174,83175,83176,83177,83178,83179,83180,83182,83183,83185,83186,83187,83188,83189,83190,83191,83192,83193,83194,83195,83196,83197,83198,83199,83200,83201,83202,83203,83204,83205,83207,83208,83209,83210,83211,83212,83213,83214,83215,83216,83217,83218,83219,83220,83221,83222,83223,83224,83225,83226,83227,83228,83229,83230,83231,83232,83233,83234,83235,83236,83239,83240,83241,83245,87087,88276);
DELETE FROM `creature_addon` WHERE `guid` IN (83160,83162,83163,83166,83167,83168,83170,83171,83173,83177,83180,83182,83183,83189,83195,83197,83200,83201,83202,83203,83208,83210,83211,83212,83213,83219,83220,83221,83222,83223,83224,83229,83233,83234,83239,83240);
DELETE FROM `waypoint_data` WHERE `id` IN (831600,831680,831730,831770,831800,831890,831950,831970,832080,832130,832210,832240,832290,832330,832340,832390,832400);
DELETE FROM `linked_respawn` WHERE `linkedGuid` IN (83160, 83230, 83241) AND `guid` IN (67872,75951,83160,83161,83162,83163,83164,83165,83166,83167,83168,83169,83170,83171,83172,83173,83174,83175,83176,83177,83178,83179,83180,83182,83183,83185,83186,83187,83188,83189,83190,83191,83192,83193,83194,83195,83196,83197,83198,83199,83200,83201,83202,83203,83204,83205,83207,83208,83209,83210,83211,83212,83213,83214,83215,83216,83217,83218,83219,83220,83221,83222,83223,83224,83225,83226,83227,83228,83229,83230,83231,83232,83233,83234,83235,83236,83239,83240,83241,83245,87087,88276);
DELETE FROM `waypoint_scripts` WHERE `id` IN (8319501, 8319502, 8319701, 8319702) AND `guid` IN (817, 818, 819, 820);
DELETE FROM `gameobject` WHERE `map`=554 AND `id` IN (185015,185018,184449,184632,184322,184465) AND `guid` IN (6032,6033,6034,20463,20464,20467,20473,44743);
-- INSERTS
SET @CGUID := 138800;
SET @OGUID := 9879;
DELETE FROM `creature` WHERE `map`=554 AND `id1` IN (19166,19167,19168,19218,19219,19220,19221,19231,19510,19710,19712,19713,19716,19735,20059,20988,20990) AND `guid` BETWEEN @CGUID AND @CGUID+93;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `MovementType`, `VerifiedBuild`) VALUES
(@CGUID+0 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 39.9918, 28.693, 0.0795518, 3.41476, 86400, 5, 1, 46924),
(@CGUID+1 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 86.0605, 59.588, 14.9247, 3.13951, 86400, 5, 1, 46924),
(@CGUID+2 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 43.5209, -25.3947, 0.0803467, 2.93692, 86400, 5, 1, 46924),
(@CGUID+3 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 82.6466, -56.3472, 14.9439, 3.1402, 86400, 5, 1, 46924),
(@CGUID+4 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 30.2197, 2.91536, 0.0823943, 3.29867, 86400, 0, 0, 46924),
(@CGUID+5 , 19166, 0, 0, 554, 3849, 3849, 3, 1, 0, 123.694, 77.4065, 14.2275, 0.146938, 86400, 0, 0, 46924),
(@CGUID+6 , 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 77.9033, -51.9803, 15.008, 3.31613, 86400, 0, 0, 46924),
(@CGUID+7 , 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 37.398, 64.646, 0.246395, 4.13643, 86400, 0, 0, 46924),
(@CGUID+8 , 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 37.175, -51.869, 0.246396, 4.11898, 86400, 0, 0, 46924),
(@CGUID+9 , 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 30.7244, -48.3542, 0.24584, 2.20191, 86400, 0, 0, 46924),
(@CGUID+10, 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 77.8174, 64.1236, 15.008, 3.26377, 86400, 0, 0, 46924),
(@CGUID+11, 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 119.345, 85.9118, 15.0163, 3.45575, 86400, 0, 0, 46924),
(@CGUID+12, 19167, 0, 0, 554, 3849, 3849, 3, 1, 1, 120.598, -65.5737, 15.008, 3.24631, 86400, 0, 0, 46924),
(@CGUID+13, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 226.571, 60.2797, 0.0791843, 3.08923, 86400, 0, 0, 46924),
(@CGUID+14, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 226.595, 45.0895, 0.0768293, 3.1765, 86400, 0, 0, 46924),
(@CGUID+15, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 309.388, 5.29271, 25.5154, 3.29867, 86400, 0, 0, 46924),
(@CGUID+16, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 309.331, 15.1339, 25.4695, 3.07178, 86400, 0, 0, 46924),
(@CGUID+17, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 240.799, -25.2161, 26.4117, 0.244346, 86400, 0, 0, 46924),
(@CGUID+18, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 237.38, -21.1149, 26.4117, 0, 86400, 0, 0, 46924),
(@CGUID+19, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 137.99, 37.2705, 24.9578, 5.53269, 86400, 0, 0, 46924),
(@CGUID+20, 19168, 0, 0, 554, 3849, 3849, 3, 1, 0, 135.331, 99.9644, 26.4566, 4.78385, 86400, 0, 0, 46924),
(@CGUID+21, 19218, 0, 0, 554, 3849, 3849, 3, 1, 0, 85.5276, 20.2005, 15.0044, 0.663225, 86400, 0, 0, 46924),
(@CGUID+22, 19219, 0, 0, 554, 3849, 3849, 3, 1, 0, 208.226, -13.0494, -2.11654, 3.36498, 86400, 0, 0, 46924),
(@CGUID+23, 19220, 0, 0, 554, 3849, 3849, 3, 1, 1, 139.542, 149.319, 25.659, 4.59022, 86400, 0, 0, 46924),
(@CGUID+24, 19221, 0, 0, 554, 3849, 3849, 3, 1, 1, 326.517, 13.1959, 27.9199, 3.22886, 86400, 0, 0, 46924),
(@CGUID+25, 19231, 0, 0, 554, 3849, 3849, 3, 1, 0, 107.9, -80.6756, 15.0131, 2.02913, 86400, 0, 0, 46924),
(@CGUID+26, 19510, 0, 0, 554, 3849, 3849, 3, 1, 1, 165.844, -73.6567, 1.72647, 3.24631, 86400, 0, 0, 46924),
(@CGUID+27, 19510, 0, 0, 554, 3849, 3849, 3, 1, 1, 30.6969, 49.5821, 0.244368, 3.7001, 86400, 0, 0, 46924),
(@CGUID+28, 19510, 0, 0, 554, 3849, 3849, 3, 1, 1, 165.7, 85.5581, 1.76883, 3.21141, 86400, 0, 0, 46924),
(@CGUID+29, 19510, 0, 0, 554, 3849, 3849, 3, 1, 1, 309.243, 10.2549, 25.4695, 3.1765, 86400, 0, 0, 46924),
(@CGUID+30, 19510, 0, 0, 554, 3849, 3849, 3, 1, 1, 309.518, 20.2797, 25.4735, 2.70526, 86400, 0, 0, 46924),
(@CGUID+31, 19510, 0, 0, 554, 3849, 3849, 3, 1, 0, 233.939, -18.6746, 26.4117, 5.96903, 86400, 0, 0, 46924),
(@CGUID+32, 19710, 0, 0, 554, 3849, 3849, 3, 1, 0, 198.356, -67.8971, 0.0848416, 3.48411, 86400, 0, 0, 46924),
(@CGUID+33, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 223.733, -62.9849, 0.0856803, 5.044, 86400, 0, 0, 46924),
(@CGUID+34, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 214.792, -83.1537, 0.0890533, 5.51524, 86400, 0, 0, 46924),
(@CGUID+35, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 109.621, -55.2714, 15.0071, 0.680678, 86400, 0, 0, 46924),
(@CGUID+36, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 108.424, -42.7796, 15.008, 5.16617, 86400, 0, 0, 46924),
(@CGUID+37, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 144.53, 44.9373, 0.0829073, 4.79966, 86400, 0, 0, 46924),
(@CGUID+38, 19712, 0, 0, 554, 3849, 3849, 3, 1, 0, 216.179, -95.2042, 0.0891693, 0.20944, 86400, 0, 0, 46924),
(@CGUID+39, 19713, 0, 0, 554, 3849, 3849, 3, 1, 0, 165.639, -19.8589, 0.0833333, 5.88176, 86400, 0, 0, 46924),
(@CGUID+40, 19713, 0, 0, 554, 3849, 3849, 3, 1, 0, 109.46, 58.5753, 15.008, 5.28835, 86400, 0, 0, 46924),
(@CGUID+41, 19713, 0, 0, 554, 3849, 3849, 3, 1, 0, 174.125, -17.4886, 0.0833343, 3.9619, 86400, 0, 0, 46924),
(@CGUID+42, 19713, 0, 0, 554, 3849, 3849, 3, 1, 0, 227.934, -52.085, 0.0838403, 0.0523599, 86400, 0, 0, 46924),
(@CGUID+43, 19713, 0, 0, 554, 3849, 3849, 3, 1, 0, 112.692, 45.9758, 15.008, 1.01229, 86400, 0, 0, 46924),
(@CGUID+44, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 192.838, 35.695, 0.0776353, 4.85202, 86400, 0, 0, 46924),
(@CGUID+45, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 92.3548, -79.2986, 15.008, 5.18363, 86400, 0, 0, 46924),
(@CGUID+46, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 185.819, 35.824, 0.0775393, 4.76475, 86400, 0, 0, 46924),
(@CGUID+47, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 152.633, 53.3561, 0.0794043, 2.68781, 86400, 0, 0, 46924),
(@CGUID+48, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 160.69, -16.6626, 0.0833323, 2.0944, 86400, 5, 1, 46924),
(@CGUID+49, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 139.926, -38.9455, 0.0833333, 0.401426, 86400, 5, 1, 46924),
(@CGUID+50, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 140.177, 50.3653, 0.0811923, 0.907571, 86400, 0, 0, 46924),
(@CGUID+51, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 207.592, -91.1401, 0.0897743, 1.25222, 86400, 5, 1, 46924),
(@CGUID+52, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 180.165, 34.5334, 0.0769383, 4.45059, 86400, 0, 0, 46924),
(@CGUID+53, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 99.9308, -77.9516, 15.0108, 3.92699, 86400, 0, 0, 46924),
(@CGUID+54, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 168.528, -11.8862, 0.0833323, 0.488692, 86400, 5, 1, 46924),
(@CGUID+55, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 210.235, -85.4583, 0.066388, 4.78067, 86400, 0, 0, 46924),
(@CGUID+56, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 134.556, 45.1142, 0.0833333, 1.32645, 86400, 0, 0, 46924),
(@CGUID+57, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 133.419, -40.7442, 0.0833333, 5.67232, 86400, 5, 1, 46924),
(@CGUID+58, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 194.141, 40.2341, 0.0177968, 2.08684, 86400, 0, 0, 46924),
(@CGUID+59, 19716, 0, 0, 554, 3849, 3849, 3, 1, 0, 106.416, 51.6837, 14.938, 2.98083, 86400, 4, 1, 46924),
(@CGUID+60, 19735, 0, 0, 554, 3849, 3849, 3, 1, 0, 230.693, 52.4542, 0.0696908, 3.11984, 86400, 0, 0, 46924),
(@CGUID+61, 19735, 0, 0, 554, 3849, 3849, 3, 1, 0, 290.619, 29.1206, 25.4695, 1.69297, 86400, 0, 0, 46924),
(@CGUID+62, 19735, 0, 0, 554, 3849, 3849, 3, 1, 0, 293.918, -14.8507, 25.3827, 5.15386, 86400, 6, 1, 46924),
(@CGUID+63, 19735, 0, 0, 554, 3849, 3849, 3, 1, 0, 199.945, -22.8589, 24.9578, 0.122173, 86400, 0, 0, 46924),
(@CGUID+64, 19735, 0, 0, 554, 3849, 3849, 3, 1, 0, 137.827, 53.1813, 24.9578, 4.76475, 86400, 0, 0, 46924),
(@CGUID+65, 20059, 0, 0, 554, 3849, 3849, 3, 1, 1, 169.258, -68.094, 0.665288, 3.26377, 86400, 0, 0, 46924),
(@CGUID+66, 20059, 0, 0, 554, 3849, 3849, 3, 1, 1, 31.8311, 47.3686, 0.17648, 4.48464, 86400, 0, 2, 46924),
(@CGUID+67, 20059, 0, 0, 554, 3849, 3849, 3, 1, 1, 31.6824, -47.6501, 0.226791, 1.71503, 86400, 0, 2, 46924),
(@CGUID+68, 20059, 0, 0, 554, 3849, 3849, 3, 1, 1, 169.373, 92.1162, 0.659512, 3.35103, 86400, 0, 0, 46924),
(@CGUID+69, 20059, 0, 0, 554, 3849, 3849, 3, 1, 1, 141.398, 102.786, 26.4566, 4.69415, 86400, 0, 0, 46924),
(@CGUID+70, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 219.266, -55.7564, 0.0853493, 0.112572, 86400, 0, 0, 46924),
(@CGUID+71, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 131.681, 40.4787, 0.0833343, 1.95375, 86400, 6, 1, 46924),
(@CGUID+72, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 138.933, -32.3032, 0.0833333, 4.71239, 86400, 5, 1, 46924),
(@CGUID+73, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 101.908, -49.5597, 14.9791, 1.46291, 86400, 0, 0, 46924),
(@CGUID+74, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 131.22, -37.1084, 0.0833343, 3.9968, 86400, 6, 1, 46924),
(@CGUID+75, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 101.384, 48.1969, 14.9245, 1.4887, 86400, 0, 0, 46924),
(@CGUID+76, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 178.821, -17.3697, 24.9578, 6.18119, 86400, 0, 0, 46924),
(@CGUID+77, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 176.685, -26.0102, 24.9578, 0.0526762, 86400, 0, 0, 46924),
(@CGUID+78, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 142.533, 40.6933, 24.9578, 5.23599, 86400, 0, 0, 46924),
(@CGUID+79, 20988, 0, 0, 554, 3849, 3849, 3, 1, 0, 140.828, 112.036, 26.4566, 4.70349, 86400, 0, 0, 46924),
(@CGUID+80, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 77.5823, 55.4032, 15.008, 3.19395, 86400, 0, 0, 46924),
(@CGUID+81, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 77.945, -60.8388, 15.008, 3.47321, 86400, 0, 0, 46924),
(@CGUID+82, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 168.96, -87.2767, 0.789825, 3.19395, 86400, 0, 0, 46924),
(@CGUID+83, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 37.4107, 54.8215, 0.246395, 2.3911, 86400, 0, 0, 46924),
(@CGUID+84, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 37.4608, -60.7909, 0.246396, 2.6529, 86400, 0, 0, 46924),
(@CGUID+85, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 30.8606, -46.8067, 0.236338, 0.676204, 86400, 0, 0, 46924),
(@CGUID+86, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 33.7581, 49.8961, 0.242408, 5.72468, 86400, 0, 0, 46924),
(@CGUID+87, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 120.378, -82.3034, 15.0098, 3.21141, 86400, 0, 0, 46924),
(@CGUID+88, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 165.423, 77.9691, 1.84254, 3.29867, 86400, 0, 0, 46924),
(@CGUID+89, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 119.44, 69.174, 15.008, 3.29867, 86400, 0, 0, 46924),
(@CGUID+90, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 235.291, -26.6432, 26.4117, 0, 86400, 0, 0, 46924),
(@CGUID+91, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 180.225, -22.4886, 24.9578, 6.27367, 86400, 0, 0, 46924),
(@CGUID+92, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 134.706, 41.1687, 24.9578, 5.58505, 86400, 0, 0, 46924),
(@CGUID+93, 20990, 0, 0, 554, 3849, 3849, 3, 1, 1, 134.306, 109.151, 26.4566, 4.78864, 86400, 0, 0, 46924);
DELETE FROM `gameobject` WHERE `map`=554 AND `id` IN (185015, 185018, 184632, 184322, 184449, 184465) AND `guid` BETWEEN @OGUID+0 AND @OGUID+11;
INSERT INTO `gameobject` (`guid`, `id`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `position_x`, `position_y`, `position_z`, `orientation`, `rotation0`, `rotation1`, `rotation2`, `rotation3`, `spawntimesecs`, `animprogress`, `state`, `VerifiedBuild`) VALUES
(@OGUID+0 , 185015, 554, 3849, 3849, 3, 1, 145.197906494140625, -44.5185165405273437, 1.009188055992126464, 2.740161895751953125, 0, 0, 0.979924201965332031, 0.199370384216308593, 7200, 255, 1, 46924),
(@OGUID+1 , 185015, 554, 3849, 3849, 3, 1, 148.266387939453125, -35.2500495910644531, 1.009233951568603515, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 7200, 255, 1, 46924),
(@OGUID+2 , 185015, 554, 3849, 3849, 3, 1, 163.6997833251953125, -27.3792018890380859, 1.00893402099609375, 4.729844093322753906, 0, 0, -0.70090866088867187, 0.713251054286956787, 7200, 255, 1, 46924),
(@OGUID+3 , 185015, 554, 3849, 3849, 3, 1, 155.4228057861328125, -29.7321643829345703, 1.008820056915283203, 2.007128477096557617, 0, 0, 0.84339141845703125, 0.537299633026123046, 7200, 255, 1, 46924),
(@OGUID+4 , 185018, 554, 3849, 3849, 3, 1, 148.266387939453125, -35.2500495910644531, 1.009233951568603515, 2.478367090225219726, 0, 0, 0.94551849365234375, 0.325568377971649169, 7200, 255, 1, 46924),
(@OGUID+5 , 185018, 554, 3849, 3849, 3, 1, 145.197906494140625, -44.5185165405273437, 1.009188055992126464, 2.740161895751953125, 0, 0, 0.979924201965332031, 0.199370384216308593, 7200, 255, 1, 46924),
(@OGUID+6 , 185018, 554, 3849, 3849, 3, 1, 163.6997833251953125, -27.3792018890380859, 1.00893402099609375, 4.729844093322753906, 0, 0, -0.70090866088867187, 0.713251054286956787, 7200, 255, 1, 46924),
(@OGUID+7 , 185018, 554, 3849, 3849, 3, 1, 155.4228057861328125, -29.7321643829345703, 1.008820056915283203, 2.007128477096557617, 0, 0, 0.84339141845703125, 0.537299633026123046, 7200, 255, 1, 46924),
(@OGUID+8 , 184632, 554, 3849, 3849, 3, 1, 236.459716796875, 52.363555908203125, 1.653543949127197265, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 46924),
(@OGUID+9 , 184322, 554, 3849, 3849, 3, 1, 242.873992919921875, 52.31481170654296875, 1.596333980560302734, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 46924),
(@OGUID+10, 184449, 554, 3849, 3849, 3, 1, 267.928070068359375, 52.31480789184570312, 27.04253578186035156, 3.141592741012573242, 0, 0, -1, 0, 7200, 255, 0, 46924),
(@OGUID+11, 184465, 554, 3849, 3849, 3, 1, 222.5428009033203125, 70.61063385009765625, -0.00479338550940155, 4.677483558654785156, 0, 0, -0.71933937072753906, 0.694658815860748291, 7200, 255, 1, 46924);
SET @NPC := @CGUID+0;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=41.327057,`position_y`=29.448656,`position_z`=0.0061041107, `orientation`=3.263765573501586914 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,32.220608,26.515696,0.0071369237,NULL,0,0,0,100,0),
(@PATH,2,27.243652,18.831352,-0.0004997472,NULL,0,0,0,100,0),
(@PATH,3,24.297773,7.9234123,-0.00028621498,2.967059612274169921,9000,0,0,100,0),
(@PATH,4,28.086344,21.93921,-0.00050851365,NULL,0,0,0,100,0),
(@PATH,5,41.327057,29.448656,0.0061041107,3.263765573501586914,9000,0,0,100,0);
SET @NPC := @CGUID+2;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=43.611073,`position_y`=-26.751925,`position_z`=0.006033899, `orientation`=3.03687286376953125 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,35.5806,-23.746408,-0.0007913007,NULL,0,0,0,100,0),
(@PATH,2,28.923302,-18.143108,-0.0005735572,NULL,0,0,0,100,0),
(@PATH,3,26.356697,-5.9867935,-0.000380761,3.333578824996948242,9000,0,0,100,0),
(@PATH,4,29.69342,-15.448353,-0.00058285974,NULL,0,0,0,100,0),
(@PATH,5,35.844803,-23.9074,-0.0004889075,NULL,0,0,0,100,0),
(@PATH,6,43.611073,-26.751925,0.006033899,3.03687286376953125,9000,0,0,100,0);
SET @NPC := @CGUID+5;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=117.62223,`position_y`=78.36094,`position_z`=14.92448 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,117.62223,78.36094,14.92448,NULL,0,0,0,100,0),
(@PATH,2,149.63039,81.24523,6.4690247,NULL,0,0,0,100,0),
(@PATH,3,169.93733,81.2677,0.36944586,NULL,0,0,0,100,0),
(@PATH,4,188.18597,64.12248,-0.005838667,NULL,0,0,0,100,0),
(@PATH,5,186.61266,47.3467,-0.006220245,NULL,0,0,0,100,0),
(@PATH,6,164.64165,49.954487,-0.001837478,NULL,0,0,0,100,0),
(@PATH,7,186.61266,47.3467,-0.006220245,NULL,0,0,0,100,0),
(@PATH,8,188.18597,64.12248,-0.005838667,NULL,0,0,0,100,0),
(@PATH,9,169.93733,81.2677,0.36944586,NULL,0,0,0,100,0),
(@PATH,10,149.63039,81.24523,6.4690247,NULL,0,0,0,100,0);
-- Pathing for Mechanar Crusher Entry: 19231
SET @NPC := @CGUID+25;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=107.66785,`position_y`=-81.308876,`position_z`=14.931074 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,107.66785,-81.308876,14.931074,NULL,0,0,0,100,0),
(@PATH,2,105.08907,-74.979095,14.9298115,NULL,0,0,0,100,0),
(@PATH,3,96.893936,-71.07658,14.92652,NULL,0,0,0,100,0),
(@PATH,4,90.85117,-74.31637,14.926526,NULL,0,0,0,100,0),
(@PATH,5,96.893936,-71.07658,14.92652,NULL,0,0,0,100,0),
(@PATH,6,105.08907,-74.979095,14.9298115,NULL,0,0,0,100,0);
-- Pathing for Gatewatcher Iron-Hand Entry: 19710
SET @NPC := @CGUID+32;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=181.85164,`position_y`=-77.11685,`position_z`=0.0077276435 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,181.85164,-77.11685,0.0077276435,NULL,0,0,0,100,0),
(@PATH,2,167.87256,-78.7667,1.007633,NULL,0,0,0,100,0),
(@PATH,3,120.14774,-74.052536,14.927823,NULL,0,0,0,100,0),
(@PATH,4,167.87256,-78.7667,1.007633,NULL,0,0,0,100,0);
-- Pathing for Mechanar Driller Entry: 19712
SET @NPC := @CGUID+37;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=132.1031,`position_y`=37.008965,`position_z`=0.003121846 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,132.1031,37.008965,0.003121846,NULL,0,0,0,100,0),
(@PATH,2,142.23601,40.296707,0.005726555,NULL,0,0,0,100,0),
(@PATH,3,144.87463,45.93079,0.008017367,NULL,0,0,0,100,0),
(@PATH,4,158.54794,47.99082,0.0038790724,NULL,0,0,0,100,0),
(@PATH,5,161.00502,53.83562,0.003132181,NULL,0,0,0,100,0),
(@PATH,6,158.54794,47.99082,0.0038790724,NULL,0,0,0,100,0),
(@PATH,7,144.87463,45.93079,0.008017367,NULL,0,0,0,100,0),
(@PATH,8,142.23601,40.296707,0.005726555,NULL,0,0,0,100,0);
-- Pathing for Mechanar Tinkerer Entry: 19716
SET @NPC := @CGUID+58;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=197.70654,`position_y`=37.415173,`position_z`=-0.005917786 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,197.70654,37.415173,-0.005917786,NULL,0,0,0,100,0),
(@PATH,2,193.55858,41.26056,-0.0060337405,NULL,0,0,0,100,0),
(@PATH,3,185.691,41.82604,-0.006107603,NULL,0,0,0,100,0),
(@PATH,4,179.0216,40.52939,-0.006131659,NULL,0,0,0,100,0),
(@PATH,5,174.11919,37.801308,1.010456,NULL,0,0,0,100,0),
(@PATH,6,179.0216,40.52939,-0.006131659,NULL,0,0,0,100,0),
(@PATH,7,185.691,41.82604,-0.006107603,NULL,0,0,0,100,0),
(@PATH,8,193.55858,41.26056,-0.0060337405,NULL,0,0,0,100,0);
-- Pathing for Mechanar Tinkerer Entry: 19716
SET @NPC := @CGUID+55;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=213.2274,`position_y`=-75.13932,`position_z`=0.004827803 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,213.2274,-75.13932,0.004827803,NULL,0,1,0,100,0),
(@PATH,2,200.5827,-87.171326,0.005753752,NULL,0,1,0,100,0),
(@PATH,3,201.05713,-94.47349,0.0055515133,NULL,0,1,0,100,0),
(@PATH,4,211.34688,-101.7175,9.806146E-05,NULL,0,1,0,100,0),
(@PATH,5,221.76944,-105.02244,0.0001423994,NULL,0,1,0,100,0),
(@PATH,6,201.05713,-94.47349,0.0055515133,NULL,0,1,0,100,0),
(@PATH,7,200.5827,-87.171326,0.005753752,NULL,0,1,0,100,0),
(@PATH,8,208.24849,-83.39652,0.0051163677,NULL,0,1,0,100,0);
-- Pathing for Tempest-Forge Destroyer Entry: 19735
SET @NPC := @CGUID+60;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=233.31285,`position_y`=52.318443,`position_z`=0.021424541 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,233.31285,52.318443,0.021424541,NULL,0,0,0,100,0),
(@PATH,2,203.69647,53.04169,-0.004259702,NULL,0,0,0,100,0);
-- Pathing for Sunseeker Engineer Entry: 20988
SET @NPC := @CGUID+75;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=112.06979,`position_y`=40.35622,`position_z`=14.924257 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,112.06979,40.35622,14.924257,NULL,0,0,0,100,0),
(@PATH,2,101.23074,46.33547,14.9244,NULL,0,0,0,100,0),
(@PATH,3,102.23087,58.490253,14.934289,NULL,0,0,0,100,0),
(@PATH,4,110.57969,69.03175,14.918284,NULL,0,0,0,100,0),
(@PATH,5,102.23087,58.490253,14.934289,NULL,0,0,0,100,0),
(@PATH,6,101.23074,46.33547,14.9244,NULL,0,0,0,100,0);
-- Pathing for Sunseeker Engineer Entry: 20988
SET @NPC := @CGUID+73;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=101.51141,`position_y`=-74.898766,`position_z`=14.93021 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,101.51141,-74.898766,14.93021,NULL,0,0,0,100,0),
(@PATH,2,104.0157,-60.55514,14.924665,NULL,0,0,0,100,0),
(@PATH,3,100.0206,-48.74694,14.92466,NULL,0,0,0,100,0),
(@PATH,4,103.1169,-38.395683,14.924649,NULL,0,0,0,100,0),
(@PATH,5,115.30892,-32.14138,14.919365,NULL,0,0,0,100,0),
(@PATH,6,103.1169,-38.395683,14.924649,NULL,0,0,0,100,0),
(@PATH,7,100.0206,-48.74694,14.92466,NULL,0,0,0,100,0),
(@PATH,8,104.0157,-60.55514,14.924665,NULL,0,0,0,100,0);
-- Pathing for Sunseeker Engineer Entry: 20988
SET @NPC := @CGUID+70;
SET @PATH := @NPC * 10;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=2,`position_x`=229.27179,`position_y`=-57.646294,`position_z`=0.009516931 WHERE `guid`=@NPC;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,229.27179,-57.646294,0.009516931,NULL,0,0,0,100,0),
(@PATH,2,221.93794,-55.454258,0.008690897,NULL,0,0,0,100,0),
(@PATH,3,215.63664,-57.850872,0.0075872466,NULL,0,0,0,100,0),
(@PATH,4,212.29579,-63.3326,0.0074739046,NULL,0,0,0,100,0),
(@PATH,5,215.63664,-57.850872,0.0075872466,NULL,0,0,0,100,0),
(@PATH,6,221.93794,-55.454258,0.008690897,NULL,0,0,0,100,0);
-- Work EmoteState (173)
DELETE FROM `creature_addon` WHERE `emote`=173 AND `guid` IN (@CGUID+33,@CGUID+34,@CGUID+35,@CGUID+36,@CGUID+38,@CGUID+39,@CGUID+40,@CGUID+41,@CGUID+42,@CGUID+43,@CGUID+44,@CGUID+45,@CGUID+46,@CGUID+47,@CGUID+50,@CGUID+52,@CGUID+53);
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES
(@CGUID+33,0,0,0,1,173,0,''),
(@CGUID+34,0,0,0,1,173,0,''),
(@CGUID+35,0,0,0,1,173,0,''),
(@CGUID+36,0,0,0,1,173,0,''),
(@CGUID+38,0,0,0,1,173,0,''),
(@CGUID+39,0,0,0,1,173,0,''),
(@CGUID+40,0,0,0,1,173,0,''),
(@CGUID+41,0,0,0,1,173,0,''),
(@CGUID+42,0,0,0,1,173,0,''),
(@CGUID+43,0,0,0,1,173,0,''),
(@CGUID+44,0,0,0,1,173,0,''),
(@CGUID+45,0,0,0,1,173,0,''),
(@CGUID+46,0,0,0,1,173,0,''),
(@CGUID+47,0,0,0,1,173,0,''),
(@CGUID+50,0,0,0,1,173,0,''),
(@CGUID+52,0,0,0,1,173,0,''),
(@CGUID+53,0,0,0,1,173,0,'');
-- Pathaleon EmoteState
UPDATE `creature_template_addon` SET `bytes2` = 1, `emote` = 333 WHERE (`entry` = 19220);
-- Correct Auras
UPDATE `creature_template_addon` SET `bytes2` = 1, `auras` = '35191' WHERE (`entry` = 19167);
UPDATE `creature_template_addon` SET `bytes2` = 1, `auras` = '35188' WHERE (`entry` = 19510);
-- Static groups
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+06,@CGUID+07,@CGUID+08,@CGUID+10,@CGUID+11,@CGUID+12,@CGUID+13,@CGUID+15,@CGUID+17,@CGUID+19,@CGUID+20,@CGUID+25,@CGUID+26,@CGUID+28,@CGUID+33,@CGUID+34,@CGUID+35,@CGUID+37,@CGUID+39,@CGUID+40,@CGUID+44,@CGUID+49,@CGUID+91) AND `memberGUID` IN (@CGUID+06,@CGUID+07,@CGUID+08,@CGUID+10,@CGUID+11,@CGUID+12,@CGUID+13,@CGUID+14,@CGUID+15,@CGUID+16,@CGUID+17,@CGUID+18,@CGUID+19,@CGUID+20,@CGUID+25,@CGUID+26,@CGUID+28,@CGUID+29,@CGUID+30,@CGUID+31,@CGUID+33,@CGUID+34,@CGUID+35,@CGUID+36,@CGUID+37,@CGUID+38,@CGUID+39,@CGUID+40,@CGUID+41,@CGUID+42,@CGUID+43,@CGUID+44,@CGUID+45,@CGUID+46,@CGUID+47,@CGUID+48,@CGUID+49,@CGUID+50,@CGUID+51,@CGUID+52,@CGUID+53,@CGUID+54,@CGUID+55,@CGUID+56,@CGUID+57,@CGUID+58,@CGUID+59,@CGUID+65,@CGUID+68,@CGUID+69,@CGUID+70,@CGUID+71,@CGUID+72,@CGUID+73,@CGUID+74,@CGUID+75,@CGUID+76,@CGUID+77,@CGUID+78,@CGUID+79,@CGUID+80,@CGUID+81,@CGUID+82,@CGUID+83,@CGUID+84,@CGUID+87,@CGUID+88,@CGUID+89,@CGUID+90,@CGUID+91,@CGUID+92,@CGUID+93);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(@CGUID+08, @CGUID+08, 0, 0, 3),
(@CGUID+08, @CGUID+84, 0, 0, 3),
(@CGUID+06, @CGUID+06, 0, 0, 3),
(@CGUID+06, @CGUID+81, 0, 0, 3),
(@CGUID+35, @CGUID+35, 0, 0, 3),
(@CGUID+35, @CGUID+36, 0, 0, 3),
(@CGUID+35, @CGUID+73, 0, 0, 3),
(@CGUID+25, @CGUID+25, 0, 0, 3),
(@CGUID+25, @CGUID+53, 0, 0, 3),
(@CGUID+25, @CGUID+45, 0, 0, 3),
(@CGUID+12, @CGUID+12, 0, 0, 3),
(@CGUID+12, @CGUID+87, 0, 0, 3),
(@CGUID+26, @CGUID+26, 0, 0, 3),
(@CGUID+26, @CGUID+65, 0, 0, 3),
(@CGUID+26, @CGUID+82, 0, 0, 3),
(@CGUID+34, @CGUID+34, 0, 0, 3),
(@CGUID+34, @CGUID+51, 0, 0, 3),
(@CGUID+34, @CGUID+38, 0, 0, 3),
(@CGUID+34, @CGUID+55, 0, 0, 3),
(@CGUID+33, @CGUID+33, 0, 0, 3),
(@CGUID+33, @CGUID+70, 0, 0, 3),
(@CGUID+33, @CGUID+42, 0, 0, 3),
(@CGUID+39, @CGUID+39, 0, 0, 3),
(@CGUID+39, @CGUID+41, 0, 0, 3),
(@CGUID+39, @CGUID+54, 0, 0, 3),
(@CGUID+39, @CGUID+48, 0, 0, 3),
(@CGUID+49, @CGUID+49, 0, 0, 3),
(@CGUID+49, @CGUID+72, 0, 0, 3),
(@CGUID+49, @CGUID+57, 0, 0, 3),
(@CGUID+49, @CGUID+74, 0, 0, 3),
(@CGUID+37, @CGUID+37, 0, 0, 3),
(@CGUID+37, @CGUID+71, 0, 0, 3),
(@CGUID+37, @CGUID+56, 0, 0, 3),
(@CGUID+37, @CGUID+50, 0, 0, 3),
(@CGUID+37, @CGUID+47, 0, 0, 3),
(@CGUID+44, @CGUID+44, 0, 0, 3),
(@CGUID+44, @CGUID+46, 0, 0, 3),
(@CGUID+44, @CGUID+52, 0, 0, 3),
(@CGUID+44, @CGUID+58, 0, 0, 3),
(@CGUID+13, @CGUID+13, 0, 0, 3),
(@CGUID+13, @CGUID+14, 0, 0, 3),
(@CGUID+28, @CGUID+28, 0, 0, 3),
(@CGUID+28, @CGUID+88, 0, 0, 3),
(@CGUID+28, @CGUID+68, 0, 0, 3),
(@CGUID+11, @CGUID+11, 0, 0, 3),
(@CGUID+11, @CGUID+89, 0, 0, 3),
(@CGUID+40, @CGUID+40, 0, 0, 3),
(@CGUID+40, @CGUID+43, 0, 0, 3),
(@CGUID+40, @CGUID+59, 0, 0, 3),
(@CGUID+40, @CGUID+75, 0, 0, 3),
(@CGUID+10, @CGUID+10, 0, 0, 3),
(@CGUID+10, @CGUID+80, 0, 0, 3),
(@CGUID+07, @CGUID+07, 0, 0, 3),
(@CGUID+07, @CGUID+83, 0, 0, 3),
(@CGUID+15, @CGUID+15, 0, 0, 3),
(@CGUID+15, @CGUID+30, 0, 0, 3),
(@CGUID+15, @CGUID+16, 0, 0, 3),
(@CGUID+15, @CGUID+29, 0, 0, 3),
(@CGUID+17, @CGUID+17, 0, 0, 3),
(@CGUID+17, @CGUID+90, 0, 0, 3),
(@CGUID+17, @CGUID+18, 0, 0, 3),
(@CGUID+17, @CGUID+31, 0, 0, 3),
(@CGUID+91, @CGUID+91, 0, 0, 3),
(@CGUID+91, @CGUID+77, 0, 0, 3),
(@CGUID+91, @CGUID+76, 0, 0, 3),
(@CGUID+19, @CGUID+19, 0, 0, 3),
(@CGUID+19, @CGUID+92, 0, 0, 3),
(@CGUID+19, @CGUID+78, 0, 0, 3),
(@CGUID+20, @CGUID+20, 0, 0, 3),
(@CGUID+20, @CGUID+93, 0, 0, 3),
(@CGUID+20, @CGUID+69, 0, 0, 3),
(@CGUID+20, @CGUID+79, 0, 0, 3);
/*
These 2 Tempest-Forge Patrollers stop patrol and emote Emote ID: 3 (OneShotWave)
Pauses for 6000ms
Repeats around 30-60s
Can pause between points
*/
UPDATE `creature` SET `wander_distance`=0,`MovementType`=0,`position_x`=76.8514,`position_y`=59.621902,`position_z`=14.924665 WHERE `guid`=@CGUID+1;
UPDATE `creature` SET `wander_distance`=0,`MovementType`=0,`position_x`=73.91813,`position_y`=-56.71242,`position_z`=14.924665 WHERE `guid`=@CGUID+3;
DELETE FROM `waypoints` WHERE `point_comment`='Tempest-Forge Patroller' AND `entry` BETWEEN 1916600 AND 1916601;
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES
-- @CGUID+1
(1916600,1,76.8514,59.621902,14.924665,NULL,'Tempest-Forge Patroller'),
(1916600,2,38.19203,59.687855,0.1630622,NULL,'Tempest-Forge Patroller'),
(1916600,3,30.011766,55.230145,0.1630622,NULL,'Tempest-Forge Patroller'),
(1916600,4,32.04149,39.386734,0.014305516,NULL,'Tempest-Forge Patroller'),
(1916600,5,30.011766,55.230145,0.1630622,NULL,'Tempest-Forge Patroller'),
(1916600,6,38.19203,59.687855,0.1630622,NULL,'Tempest-Forge Patroller'),
-- @CGUID+3
(1916601,1,73.91813,-56.71242,14.924665,NULL,'Tempest-Forge Patroller'),
(1916601,2,38.843502,-56.28604,0.22432718,NULL,'Tempest-Forge Patroller'),
(1916601,3,30.624844,-54.907387,0.26585943,NULL,'Tempest-Forge Patroller'),
(1916601,4,31.930918,-34.87634,0.010954779,NULL,'Tempest-Forge Patroller'),
(1916601,5,30.624844,-54.907387,0.26585943,NULL,'Tempest-Forge Patroller'),
(1916601,6,38.843502,-56.28604,0.22432718,NULL,'Tempest-Forge Patroller');
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-(@CGUID+1), -(@CGUID+3)));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-(@CGUID+1), 0, 0, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - On Aggro - Say Line 0'),
(-(@CGUID+1), 0, 1, 0, 0, 0, 100, 2, 2000, 2000, 7000, 9000, 0, 11, 35012, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Charged Arcane Missile\' (Normal Dungeon)'),
(-(@CGUID+1), 0, 2, 0, 0, 0, 100, 4, 2000, 2000, 7000, 9000, 0, 11, 38941, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Charged Arcane Missile\' (Heroic Dungeon)'),
(-(@CGUID+1), 0, 3, 0, 0, 0, 100, 4, 6000, 6000, 14000, 16000, 0, 11, 35011, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Knockdown\' (Heroic Dungeon)'),
(-(@CGUID+1), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1916600, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - On Respawn - Start Waypoint'),
(-(@CGUID+1), 0, 1002, 1003, 1, 0, 100, 0, 30000, 60000, 30000, 60000, 0, 54, 6000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - Out of Combat - Pause Waypoint'),
(-(@CGUID+1), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 5, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - Out of Combat - Play Emote 3'),
(-(@CGUID+3), 0, 0, 0, 4, 0, 20, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - On Aggro - Say Line 0'),
(-(@CGUID+3), 0, 1, 0, 0, 0, 100, 2, 2000, 2000, 7000, 9000, 0, 11, 35012, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Charged Arcane Missile\' (Normal Dungeon)'),
(-(@CGUID+3), 0, 2, 0, 0, 0, 100, 4, 2000, 2000, 7000, 9000, 0, 11, 38941, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Charged Arcane Missile\' (Heroic Dungeon)'),
(-(@CGUID+3), 0, 3, 0, 0, 0, 100, 4, 6000, 6000, 14000, 16000, 0, 11, 35011, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - In Combat - Cast \'Knockdown\' (Heroic Dungeon)'),
(-(@CGUID+3), 0, 1001, 0, 11, 0, 100, 0, 0, 0, 0, 0, 0, 53, 0, 1916601, 1, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - On Respawn - Start Waypoint'),
(-(@CGUID+3), 0, 1002, 1003, 1, 0, 100, 0, 30000, 60000, 30000, 60000, 0, 54, 6000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - Out of Combat - Pause Waypoint'),
(-(@CGUID+3), 0, 1003, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 5, 3, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Tempest-Forge Patroller - Out of Combat - Play Emote 3');
/*
These 2 groups move together at the entrance and stop, not moving anymore
This is a hack as waypoint_data does not allow for this behaviour, and it's over-scripted in SAI as waypoints does not work with formations
*/
SET @NPC := @CGUID+66;
SET @PATH := @NPC * 10;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,28.006437,30.866398,0.0030425692,NULL,0,0,0,100,0), -- Point
(@PATH,2,22.140232,20.44575,-0.00017946598,NULL,0,0,0,100,0),
(@PATH,3,22.140232,20.44575,-0.00017946598,3.176499128341674804,2147483647,0,0,100,0); -- Point
SET @NPC := @CGUID+67;
SET @PATH := @NPC * 10;
DELETE FROM `creature_addon` WHERE `guid`=@NPC;
INSERT INTO `creature_addon` (`guid`,`path_id`,`mount`,`bytes1`,`bytes2`,`emote`,`visibilityDistanceType`,`auras`) VALUES (@NPC,@PATH,0,0,1,0,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,29.015987,-29.292263,0.0004399572,NULL,0,0,0,100,0), -- Point
(@PATH,2,23.20878,-18.283445,-0.00011080259,NULL,0,0,0,100,0),
(@PATH,3,23.20878,-18.283445,-0.00011080259,3.089232683181762695,2147483647,0,0,100,0); -- Point
DELETE FROM `creature_formations` WHERE `leaderGUID` IN (@CGUID+66, @CGUID+67) AND `memberGUID` IN (@CGUID+66, @CGUID+67, @CGUID+27, @CGUID+86, @CGUID+9, @CGUID+85);
INSERT INTO `creature_formations` (`leaderGUID`, `memberGUID`, `dist`, `angle`, `groupAI`) VALUES
(@CGUID+66, @CGUID+66, 0, 0, 3),
(@CGUID+66, @CGUID+27, 3, 90, 515),
(@CGUID+66, @CGUID+86, 3, 270, 515),
(@CGUID+67, @CGUID+67, 0, 0, 3),
(@CGUID+67, @CGUID+9, 3, 90, 515),
(@CGUID+67, @CGUID+85, 3, 270, 515);

View File

@@ -0,0 +1,5 @@
-- DB update 2023_03_13_03 -> 2023_03_14_00
--
DELETE FROM `spell_custom_attr` WHERE `spell_id`=69489;
INSERT INTO `spell_custom_attr` VALUES
(69489,0x02000000);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_14_00 -> 2023_03_14_01
--
UPDATE `creature_template` SET `speed_walk`=2, `speed_run`=1.42857 WHERE `entry` IN (17835,21137,17892,21136,18994,21138,18995,21139,21818,20740,20741,20742,20743,22165,22164,22166,22168,22169);

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_14_01 -> 2023_03_14_02
--
UPDATE `gameobject` SET `position_z`=-4.33 WHERE `guid`=11646 AND `id`=2045;

View File

@@ -0,0 +1,12 @@
-- DB update 2023_03_14_02 -> 2023_03_14_03
DELETE FROM `quest_request_items` WHERE `ID` IN (660, 714, 722, 747, 754, 758, 789, 829, 934);
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES
(660, 1, 0, 'The time for talk is done. Protect Kinelory if you care about the people of Hillsbrad at all.', 0),
(714, 0, 0, 'Yes, yes, yes. Just a moment.$B$B<Lotwil continues to work on some kind of contraption.>', 0),
(722, 1, 1, 'The Shadowforge clan... <cough> is dangerous. Be careful. <cough> You must find the amulet.', 0),
(747, 1, 1, 'Providing meat and feathers for the tribe is the first step in proving yourself as a hunter before the Chief.', 0),
(754, 1, 0, 'Do not delay, $n. The Winterhoof Well\'s taint must be removed!', 0),
(758, 1, 0, 'The Thunderhorn Water Well is still tainted, $n. Please, you must perform the ritual!', 0),
(789, 1, 0, 'The carapace of a scorpid isn\'t so thick that the strength of a determined warrior will be deterred. Strike strongly and without doubt, and the scorpids should prove easy prey.', 0),
(829, 2, 2, 'My most humble greetings, $C. How might I help my $R $Gbrother:sister; today?', 0),
(934, 1, 0, 'Along with the druids, the Oracle Tree and the Arch Druid have been carefully monitoring the growth of Teldrassil. But though we have a new home, our immortal lives have not been restored.', 0);

View File

@@ -0,0 +1,11 @@
-- DB update 2023_03_14_03 -> 2023_03_14_04
DELETE FROM `quest_request_items` WHERE `ID` IN (124, 191, 192, 257, 258, 289, 457, 511);
INSERT INTO `quest_request_items` (`ID`, `EmoteOnComplete`, `EmoteOnIncomplete`, `CompletionText`, `VerifiedBuild`) VALUES
(124, 1, 0, 'My horses still seem skittish, and I still hear that cursed wolf cry at night. Please, $N, do something about those Gnolls!', 0),
(191, 1, 0, 'Go kill 10 panthers! Show us what you\'ve got!', 0),
(192, 1, 0, 'What are you doing here, $n! You should be crawling through the brush, trying to kill 10 Shadowmaw Panthers. I thought you fancied yourself a big game $c?', 0),
(257, 1, 1, 'No luck? Don\'t feel too bad, $ner...$B$BNot everyone can be me.', 0),
(258, 1, 1, 'It\'s only natural to feel sorry for yourself when shown up by someone so new to this world. You shouldn\'t feel bad, $nah.$B$BHm? Did I get your name wrong?', 0),
(289, 1, 0, 'In my dreams, I can sometimes hear the doomed moans of my brethren! Please, good $gsir:lady;, free them from the bonds and quiet their cries.', 0),
(457, 25, 25, 'Your task is not yet complete, $N. Return to me once 5 mangy nightsabers and 5 thistle boars have been killed.', 0),
(511, 6, 0, 'Yes, $Gsir:ma\'am;? Do you have some business with me?', 0);

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_14_04 -> 2023_03_14_05
--
UPDATE `quest_template_addon` SET `RequiredMaxRepValue`=5000 WHERE `ID` IN (7893,8222,7903,7898,7885);
UPDATE `quest_template_addon` SET `RequiredMinRepValue`=5000 WHERE `ID` IN (7939,8223,7943,7942,7941);

View File

@@ -0,0 +1,239 @@
-- DB update 2023_03_14_05 -> 2023_03_15_00
--
UPDATE `creature_template` SET `ScriptName` = "npc_chesspiece", `flags_extra`=`flags_extra`|0x01000000 WHERE `entry` IN (17469,17211,21748,21664,21750,21683,21747,21682,21726,21160,21752,21684);
UPDATE `creature_template` SET `ScriptName` = "npc_echo_of_medivh" WHERE `entry`=16816;
UPDATE `creature_template` SET `ScriptName` = "npc_chess_move_trigger", `flags_extra`=130 WHERE `entry`=22519;
DELETE FROM `creature` WHERE `id1`=22519;
DELETE FROM `creature_template_addon` WHERE `entry`=22521;
INSERT INTO `creature_template_addon` (`entry`,`bytes2`,`auras`) VALUES
(22521,1,'39383');
UPDATE `creature_template` SET `flags_extra` = 130 WHERE `entry` = 22521;
DELETE FROM `creature_template_spell` WHERE `CreatureID` IN (21684,21683,21682,21664,21160,17211,21752,21750,21747,21748,21726,17469);
INSERT INTO `creature_template_spell` (`CreatureID`, `Index`, `Spell`, `VerifiedBuild`) VALUES
(21684, 0, 37146, 12340), -- King Llane
(21684, 1, 30284, 12340),
(21684, 2, 37471, 12340),
(21684, 3, 37474, 12340),
(21683, 0, 37148, 12340), -- Human Conjurer
(21683, 1, 30284, 12340),
(21683, 2, 37462, 12340),
(21683, 3, 37465, 12340),
(21682, 0, 37146, 12340), -- Human Cleric
(21682, 1, 30284, 12340),
(21682, 2, 37455, 12340),
(21682, 3, 37459, 12340),
(21664, 0, 37144, 12340), -- Human Charger
(21664, 1, 30284, 12340),
(21664, 2, 37453, 12340),
(21664, 3, 37498, 12340),
(21160, 0, 37146, 12340), -- Conjured Water Elemental
(21160, 1, 30284, 12340),
(21160, 2, 37427, 12340),
(21160, 3, 37432, 12340),
(17211, 0, 37146, 12340), -- Human Footman
(17211, 1, 30284, 12340),
(17211, 2, 37406, 12340),
(17211, 3, 37414, 12340),
(21752, 0, 37146, 12340), -- Warchief Blackhand
(21752, 1, 30284, 12340),
(21752, 2, 37472, 12340),
(21752, 3, 37476, 12340),
(21750, 0, 37148, 12340), -- Orc Warlock
(21750, 1, 30284, 12340),
(21750, 2, 37463, 12340),
(21750, 3, 37461, 12340),
(21747, 0, 37146, 12340), -- Orc Necrolyte
(21747, 1, 30284, 12340),
(21747, 2, 37456, 12340),
(21747, 3, 37461, 12340),
(21748, 0, 37144, 12340), -- Orc Wolf
(21748, 1, 30284, 12340),
(21748, 2, 37454, 12340),
(21748, 3, 37502, 12340),
(21726, 0, 37146, 12340), -- Summoned Daemon
(21726, 1, 30284, 12340),
(21726, 2, 37428, 12340),
(21726, 3, 37434, 12340),
(17469, 0, 37146, 12340), -- Orc Grunt
(17469, 1, 30284, 12340),
(17469, 2, 37413, 12340),
(17469, 3, 37416, 12340);
UPDATE `creature_template` SET `RegenHealth`=0, `BaseAttackTime`=3000 WHERE `entry` IN (21726,21748,21747,21750,21752,17469,21160,21664,21682,21684,21683,17211);
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId` = 13 AND `SourceEntry` IN (37465,37476,30012,37144,37148,37151,37152,37153,37472,37461,37454,37502,37428,37413,37471,37474,37459,37453,37498,37427,37406,39384,37462,37455,37463,37456,37144,37146,37148,30284,37469);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ScriptName`,`Comment`) VALUES
(13,1,37146,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,30012,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,37144,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,37148,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,37151,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,37152,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,37153,0,31,3,22519,0,'',"Move - Target Chess Piece: Karazhan Invisible Stalker"),
(13,3,30284,0,31,3,22519,0,'',"Change Facing - Target Chess Piece: Karazhan Invisible Stalker"),
(13,1,39384,0,31,3,21752,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,39384,1,31,3,21750,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,39384,2,31,3,21747,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,39384,3,31,3,21748,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,39384,4,31,3,21726,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,39384,5,31,3,17469,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,0,31,3,21683,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,1,31,3,21684,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,2,31,3,21682,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,3,31,3,21664,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,4,31,3,21160,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,2,39384,5,31,3,17211,0,'',"Alliance and Horde Chess Spell - Burning Flames - Target Alliance and Horde Pieces"),
(13,1,37471,0,31,3,21683,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37471,1,31,3,21684,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37471,2,31,3,21682,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37471,3,31,3,21664,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37471,4,31,3,21160,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37471,5,31,3,17211,0,'',"Alliance Chess Spell - Heroism - Target Alliance Pieces"),
(13,1,37459,0,31,3,21752,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37459,1,31,3,21750,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37459,2,31,3,21747,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37459,3,31,3,21748,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37459,4,31,3,21726,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37459,5,31,3,17469,0,'',"Alliance Chess Spell - Holy Lance - Target Horde Pieces"),
(13,1,37453,0,31,3,21752,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37453,1,31,3,21750,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37453,2,31,3,21747,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37453,3,31,3,21748,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37453,4,31,3,21726,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37453,5,31,3,17469,0,'',"Alliance Chess Spell - Smash - Target Horde Pieces"),
(13,1,37427,0,31,3,21752,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37427,1,31,3,21750,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37427,2,31,3,21747,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37427,3,31,3,21748,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37427,4,31,3,21726,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37427,5,31,3,17469,0,'',"Alliance Chess Spell - Geyser - Target Horde Pieces"),
(13,1,37474,0,31,3,21752,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37474,1,31,3,21750,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37474,2,31,3,21747,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37474,3,31,3,21748,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37474,4,31,3,21726,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37474,5,31,3,17469,0,'',"Alliance Chess Spell - Sweep - Target Horde Pieces"),
(13,1,37465,0,31,3,21752,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37465,1,31,3,21750,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37465,2,31,3,21747,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37465,3,31,3,21748,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37465,4,31,3,21726,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37465,5,31,3,17469,0,'',"Alliance Chess Spell - Rain of Fire - Target Horde Pieces"),
(13,1,37498,0,31,3,21752,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37498,1,31,3,21750,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37498,2,31,3,21747,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37498,3,31,3,21748,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37498,4,31,3,21726,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37498,5,31,3,17469,0,'',"Alliance Chess Spell - Stomp - Target Horde Pieces"),
(13,1,37406,0,31,3,21752,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37406,1,31,3,21750,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37406,2,31,3,21747,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37406,3,31,3,21748,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37406,4,31,3,21726,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37406,5,31,3,17469,0,'',"Alliance Chess Spell - Heroic Blow - Target Horde Pieces"),
(13,1,37472,0,31,3,21752,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37472,1,31,3,21750,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37472,2,31,3,21747,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37472,3,31,3,21748,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37472,4,31,3,21726,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37472,5,31,3,17469,0,'',"Horde Chess Spell - Bloodlust - Target Horde Pieces"),
(13,1,37461,0,31,3,21683,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37461,1,31,3,21684,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37461,2,31,3,21682,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37461,3,31,3,21664,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37461,4,31,3,21160,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37461,5,31,3,17211,0,'',"Horde Chess Spell - Shadow Spear - Target Alliance Pieces"),
(13,1,37502,0,31,3,21683,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37502,1,31,3,21684,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37502,2,31,3,21682,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37502,3,31,3,21664,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37502,4,31,3,21160,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37502,5,31,3,17211,0,'',"Horde Chess Spell - Howl - Target Alliance Pieces"),
(13,1,37428,0,31,3,21683,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37428,1,31,3,21684,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37428,2,31,3,21682,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37428,3,31,3,21664,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37428,4,31,3,21160,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37428,5,31,3,17211,0,'',"Horde Chess Spell - Hellfire - Target Alliance Pieces"),
(13,1,37476,0,31,3,21683,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37476,1,31,3,21684,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37476,2,31,3,21682,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37476,3,31,3,21664,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37476,4,31,3,21160,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37476,5,31,3,17211,0,'',"Horde Chess Spell - Cleave - Target Alliance Pieces"),
(13,1,37469,0,31,3,21683,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37469,1,31,3,21684,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37469,2,31,3,21682,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37469,3,31,3,21664,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37469,4,31,3,21160,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37469,5,31,3,17211,0,'',"Horde Chess Spell - Poison Cloud - Target Alliance Pieces"),
(13,1,37454,0,31,3,21683,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37454,1,31,3,21684,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37454,2,31,3,21682,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37454,3,31,3,21664,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37454,4,31,3,21160,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37454,5,31,3,17211,0,'',"Horde Chess Spell - Bite - Target Alliance Pieces"),
(13,1,37413,0,31,3,21683,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"),
(13,1,37413,1,31,3,21684,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"),
(13,1,37413,2,31,3,21682,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"),
(13,1,37413,3,31,3,21664,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"),
(13,1,37413,4,31,3,21160,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces"),
(13,1,37413,5,31,3,17211,0,'',"Horde Chess Spell - Vicious Strike - Target Alliance Pieces");
DELETE FROM `creature_text` WHERE `CreatureID`=16816;
INSERT INTO `creature_text` VALUES
(16816,0,0,'Very well. Let the game begin.',14,0,100,0,0,10338,0,0,'Echo of Medivh - EventBegin'),
(16816,1,0,'Perhaps a change is in order.',14,0,100,0,0,10357,0,0,'Echo of Medivh - Cheat 1'),
(16816,1,1,'Time for an alternative scenario.',14,0,100,0,0,10358,0,0,'Echo of Medivh - Cheat 2'),
(16816,1,2,'One must not become too complacent.',14,0,100,0,0,10359,0,0,'Echo of Medivh - Cheat 3'),
(16816,2,0,'%s cheats',16,0,100,0,0,0,21910,0,'Echo of Medivh - CheatEmote'),
(16816,3,0,'Let us see.',14,0,100,0,0,10340,0,0,'Echo of Medivh - Player Loose Pawn 1'),
(16816,3,1,'A transparent stratagem.',14,0,100,0,0,10339,0,0,'Echo of Medivh - Player Loose Pawn 2'),
(16816,3,2,'Ah, the wheels have begun to turn.',14,0,100,0,0,10341,0,0,'Echo of Medivh - Player Loose Pawn 3'),
(16816,4,0,'Foolish! Very foolish!',14,0,100,0,0,10345,0,0,'Echo of Medivh - Player Loose Rook'),
(16816,5,0,'Yes... all according to plan.',14,0,100,0,0,10349,0,0,'Echo of Medivh - Player Loose Knight'),
(16816,6,0,'The slightest loss of concentration is all it takes.',14,0,100,0,0,10347,0,0,'Echo of Medivh - Player Loose Bishop'),
(16816,7,0,'Now it gets interesting.',14,0,100,0,0,10351,0,0,'Echo of Medivh - Player Loose Queen'),
(16816,8,0,'As it should be.',14,0,100,0,0,10354,0,0,'Echo of Medivh - Player Loose King'),
(16816,9,0,'Hmm.',14,0,100,0,0,10342,0,0,'Echo of Medivh - Medivh Loose Pawn 1'),
(16816,9,1,'No matter.',14,0,100,0,0,10344,0,0,'Echo of Medivh - Medivh Loose Pawn 2'),
(16816,9,2,'Interesting.',14,0,100,0,0,10343,0,0,'Echo of Medivh - Medivh Loose Pawn 3'),
(16816,10,0,'A minor concern.',14,0,100,0,0,10346,0,0,'Echo of Medivh - Medivh Loose Rook'),
(16816,11,0,'Yes...of course.',14,0,100,0,0,10350,0,0,'Echo of Medivh - Medivh Loose Knight'),
(16816,12,0,'A necessary sacrifice.',14,0,100,0,0,10348,0,0,'Echo of Medivh - Medivh Loose Bishop'),
(16816,13,0,'Ahh, I should have known.',14,0,100,0,0,10352,0,0,'Echo of Medivh - Medivh Loose Queen'),
(16816,14,0,'And so, the end draws near',14,0,100,0,0,10353,0,0,'Echo of Medivh - Medivh Loose King'),
(16816,15,0,'Nothing less than perfection will do.',14,0,100,0,0,10356,0,0,'Echo of Medivh - Checkmate 1'),
(16816,15,1,'And so it ends.',14,0,100,0,0,10355,0,0,'Echo of Medivh - Checkmate 2'),
(16816,16,0,'The halls of Karazhan shake, as the curse binding the doors of the Gamesman\'s Hall is lifted.',16,0,100,0,0,0,20430,0,'Echo of Medivh - Event Ended');
DELETE FROM `gossip_menu_option` WHERE `menuid` IN (8404,7413,8354,8345,8346,8347,8348,8349,8355,8362,8366,8367,8368);
UPDATE `creature_template` SET `npcflag`=0 WHERE `entry` IN (17469,17211,21748,21664,21750,21683,21747,21682,21726,21160,21752,21684);
UPDATE `creature_template` SET `flags_extra`=130 WHERE `entry` IN (17208,17305,17317,17316);
DELETE FROM `spell_script_names` WHERE `spell_id`=30019;
INSERT INTO `spell_script_names` VALUES
(30019,'spell_control_piece');

View File

@@ -0,0 +1,207 @@
-- DB update 2023_03_15_00 -> 2023_03_15_01
--
UPDATE `creature_template_addon` SET `bytes2` = 1, `visibilityDistanceType` = 5 WHERE (`entry` = 19851);
UPDATE `creature_template` SET `unit_flags` = 32768, `flags_extra` = `flags_extra`|2097152 WHERE (`entry` = 19851);
DELETE FROM `creature` WHERE `id1`=19851; -- Delete extra Negatron
UPDATE `creature` SET `spawntimesecs`=120 WHERE `id1` IN (19737, 19849);
DELETE FROM `creature_summon_groups` WHERE `summonerId`=19851 AND `entry`=19541;
INSERT INTO `creature_summon_groups` (`summonerId`, `summonerType`, `groupId`, `entry`, `position_x`, `position_y`, `position_z`, `orientation`, `summonType`, `summonTime`, `Comment`) VALUES
(19851, 0, 0, 19541, 3035.4849, 3630.7654, 144.4357, 1.488142371177673339, 4, 60000, 'Netherstorm Agent - You, Robot - Negatron Failure Event'),
(19851, 0, 0, 19541, 3029.642, 3638.9456, 143.87413, 1.169370532035827636, 4, 60000, 'Netherstorm Agent - You, Robot - Negatron Failure Event');
DELETE FROM `waypoints` WHERE `entry` IN (1985100, 1985101, 1973700, 1973701, 1973702, 1973703) AND `point_comment` IN ('Negatron', 'Engineering Crewmember');
INSERT INTO `waypoints` (`entry`, `pointid`, `position_x`, `position_y`, `position_z`, `orientation`, `point_comment`) VALUES
(1985100,1,3137.2078,3268.273,110.69139,NULL,'Negatron'),
(1985100,2,3128.09,3294.4512,107.87908,NULL,'Negatron'),
(1985100,3,3121.0325,3314.7815,110.84304,NULL,'Negatron'), -- Doctor Vomisa face Negatron
(1985100,4,3113.2158,3336.4111,107.649345,NULL,'Negatron'),
(1985100,5,3104.8281,3361.3098,104.649345,NULL,'Negatron'),
(1985100,6,3097.5208,3381.5989,105.865395,NULL,'Negatron'),
(1985101,1,3053.5566,3421.556,111.00708,NULL,'Negatron'),
(1985101,2,3051.7932,3455.1265,118.63066,NULL,'Negatron'),
(1985101,3,3034.655,3492.1448,134.73538,NULL,'Negatron'),
(1985101,4,3024.468,3515.7493,143.77145,NULL,'Negatron'),
(1985101,5,3028.9001,3538.7004,144.36063,NULL,'Negatron'),
(1985101,6,3036.7417,3573.2764,143.18323,NULL,'Negatron'),
(1985101,7,3049.1687,3585.138,143.41333,NULL,'Negatron'),
(1973700,1,3031.1257,3688.058,143.15771,NULL,'Engineering Crewmember'), -- 70613
(1973700,2,3011.8333,3689.197,143.637,NULL,'Engineering Crewmember'),
(1973701,1,3071.3098,3668.194,142.37271,NULL,'Engineering Crewmember'), -- 70612
(1973701,2,3089.5693,3678.5586,142.48721,NULL,'Engineering Crewmember'),
(1973701,3,3108.9783,3684.0244,142.99113,NULL,'Engineering Crewmember'),
(1973701,4,3121.0576,3690.8025,143.11064,NULL,'Engineering Crewmember'),
(1973702,1,3071.934,3660.8694,142.9512,NULL,'Engineering Crewmember'), -- 70614
(1973702,2,3084.3215,3655.3108,142.87344,NULL,'Engineering Crewmember'),
(1973702,3,3090.7234,3645.0745,143.13007,NULL,'Engineering Crewmember'),
(1973702,4,3090.0159,3629.1611,143.10968,NULL,'Engineering Crewmember'),
(1973702,5,3081.2068,3620.2065,143.60968,NULL,'Engineering Crewmember'),
(1973703,1,3026.3057,3644.5496,143.46822,NULL,'Engineering Crewmember'), -- 70615
(1973703,2,3009.577,3644.3416,143.75604,NULL,'Engineering Crewmember');
UPDATE `creature_text` SET `Emote`=25, `BroadcastTextId`=17456 WHERE `CreatureID`=19832 AND `GroupID`=0 AND `ID`=0;
DELETE FROM `creature_text` WHERE `CreatureID` IN (19570, 19849, 19851);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(19570, 0, 0, 'Oh no! The X-52 Nether-Rocket is being attacked! Guards! Guards!', 14, 0, 100, 5, 0, 0, 17474, 0, 'Rocket-Chief Fuselage'),
(19849, 0, 0, 'The %s, having fought the good fight, falls to pieces.', 16, 0, 100, 0, 0, 0, 18587, 0, 'Scrap Reaver X6000'),
(19851, 0, 0, 'I AM DEATH! PREPARE YOUR TOWN FOR ANNIHILATION!', 14, 0, 100, 0, 0, 0, 17455, 0, 'Negatron'),
(19851, 1, 0, 'YOUR SAD ATTEMPT AT CREATING A FEL REAVER TO STOP ME HAS FAILED! NOW, ON TO AREA 52!', 14, 0, 100, 0, 0, 0, 17468, 0, 'Negatron');
-- After reaching Area 52, Negatron causes Engineering Crewmembers to flee (WPs) and Rocket-Chief to perform a short event
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 19737;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` IN (-70612, -70613, -70614, -70615));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(-70613, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1973700, 0, 0, 500, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineering Crewmember - On Data Set 1 1 - Start Waypoint (Negatron Failure Event)'),
(-70612, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1973701, 0, 0, 500, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineering Crewmember - On Data Set 1 1 - Start Waypoint (Negatron Failure Event)'),
(-70614, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1973702, 0, 0, 500, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineering Crewmember - On Data Set 1 1 - Start Waypoint (Negatron Failure Event)'),
(-70614, 0, 1, 0, 38, 0, 100, 0, 2, 2, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 10, 70731, 19776, 0, 0, 0, 0, 0, 0, 'Engineering Crewmember - On Data Set 2 2 - Set Orientation Closest Creature \'Experimental Pilot\''),
(-70614, 0, 2, 0, 38, 0, 100, 0, 3, 3, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 2.19912, 'Engineering Crewmember - On Data Set 3 3 - Set Orientation 2,199120'),
(-70615, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 53, 1, 1973703, 0, 0, 500, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Engineering Crewmember - On Data Set 1 1 - Start Waypoint (Negatron Failure Event)');
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 19570;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19570);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19570, 0, 0, 1, 38, 0, 100, 0, 1, 1, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rocket-Chief Fuselage - On Data Set 1 1 - Set Run On'),
(19570, 0, 1, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3062.3855, 3661.3877, 143.09126, 0, 'Rocket-Chief Fuselage - On Data Set 1 1 - Move To Position'),
(19570, 0, 2, 3, 34, 0, 100, 0, 0, 1, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 19, 19851, 100, 0, 0, 0, 0, 0, 0, 'Rocket-Chief Fuselage - On Reached Point 1 - Set Orientation Closest Creature \'Negatron\''),
(19570, 0, 3, 4, 61, 0, 100, 0, 0, 0, 0, 0, 0, 59, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rocket-Chief Fuselage - On Reached Point 1 - Set Run Off'),
(19570, 0, 4, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 67, 1, 60000, 60000, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rocket-Chief Fuselage - On Reached Point 1 - Create Timed Event'),
(19570, 0, 5, 0, 59, 0, 100, 0, 1, 0, 0, 0, 0, 24, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rocket-Chief Fuselage - On Timed Event 1 Triggered - Evade');
-- Doctor Vomisa
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19832);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19832, 0, 0, 0, 38, 0, 100, 0, 1, 1, 0, 0, 0, 12, 19851, 4, 300000, 0, 0, 0, 8, 0, 0, 0, 0, 3148.74, 3233.88, 97.6867, 1.90637, 'Doctor Vomisa, Ph.T. - On Data Set 1 1 - Summon Creature \'Negatron\''),
(19832, 0, 1, 2, 38, 0, 100, 512, 2, 2, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.072320938110352, 'Doctor Vomisa, Ph.T. - On Data Set 2 2 - Set Orientation 5.072320938110352'),
(19832, 0, 2, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Doctor Vomisa, Ph.T. - On Data Set 2 2 - Say Line 0');
-- Scrap Reaver X6000
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 19849;
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19849);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19849, 0, 0, 1, 8, 0, 100, 513, 34630, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 70967, 19832, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - On Spellhit \'Scrap Reaver X6000\' - Set Data 1 1 on Doctor Vomisa, Ph.T. - Summon Negatron'),
(19849, 0, 1, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - On Spellhit \'Scrap Reaver X6000\' - Store Targetlist Invoker Party'),
(19849, 0, 2, 0, 38, 0, 100, 512, 1, 1, 0, 0, 0, 80, 1984900, 2, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - On Data Set 1 1 - Run Success Script'),
(19849, 0, 3, 0, 11, 0, 100, 512, 0, 0, 0, 0, 0, 80, 1984901, 2, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - On Respawn - Run Respawn Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1984900, 1984901));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1984900, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 33, 19851, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Quest Credit \'You, Robot\''),
(1984900, 9, 1, 0, 0, 0, 100, 512, 10000, 10000, 0, 0, 0, 18, 33556488, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Set Flags PvP Attackable & Pet In Combat & Not Selectable'),
(1984900, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 103, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Set Rooted On'),
(1984900, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 90, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Set Flag Standstate Dead'),
(1984900, 9, 4, 0, 0, 0, 100, 512, 200, 200, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Say Line 0'),
(1984900, 9, 5, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 41, 6000, 120, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Despawn In 6000 ms'),
(1984901, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 91, 7, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Remove FlagStandstate Dead'),
(1984901, 9, 1, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 19, 33556488, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Remove Flags PvP Attackable & Pet In Combat & Not Selectable'),
(1984901, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 103, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Scrap Reaver X6000 - Actionlist - Set Rooted Off');
-- Negatron
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19851);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19851, 0, 0 , 0, 54, 0, 100, 0, 0, 0, 0, 0, 0, 80, 1985100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On Just Summoned - Run Script'),
(19851, 0, 1 , 0, 40, 0, 100, 0, 3, 1985100, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 70967, 19832, 0, 0, 0, 0, 0, 0, 'Negatron - On Waypoint 3 Reached - Set Data 2 2 on Doctor Vomisa, Ph.T.'),
(19851, 0, 2 , 0, 58, 0, 100, 0, 6, 1985100, 0, 0, 0, 80, 1985101, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On Waypoint Finished - Run Script'),
(19851, 0, 3 , 0, 25, 0, 100, 0, 0, 0, 0, 0, 0, 22, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On Reset - Set Event Phase 1 (Allow Failure Event Timer to Start)'),
(19851, 0, 4 , 0, 1, 1, 100, 1, 15000, 15000, 0, 0, 0, 80, 1985102, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Out of Combat - Run Failure Event Script (Phase 1)'),
(19851, 0, 5 , 0, 58, 0, 100, 0, 7, 1985101, 0, 0, 0, 80, 1985103, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On Waypoint Finished - Run Script'),
(19851, 0, 6 , 0, 34, 0, 100, 0, 8, 1, 0, 0, 0, 80, 1985104, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On MovementInform 1 - Run Script'),
(19851, 0, 7 , 8, 6, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 19, 19849, 100, 0, 0, 0, 0, 0, 0, 'Negatron - On Just Died - Set Data 1 1 on Scrap Reaver X6000 - Start Success Event'),
(19851, 0, 8 , 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 41, 15000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - On Just Died - Despawn In 15000 ms'),
(19851, 0, 9 , 0, 9, 0, 100, 0, 8, 25, 15000, 21000, 1, 11, 35570, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Within 8-25 Range - Cast \'Charge\''),
(19851, 0, 10, 0, 9, 0, 100, 0, 0, 5, 8000, 12000, 0, 11, 34625, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Within 0-5 Range - Cast \'Demolish\''),
(19851, 0, 11, 0, 0, 0, 100, 0, 15000, 19000, 21000, 25000, 0, 11, 35565, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - In Combat - Cast \'Earthquake\''),
(19851, 0, 12, 0, 2, 0, 100, 0, 0, 50, 16000, 22000, 0, 11, 34624, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Between 0-50% Health - Cast \'Frenzy\'');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` IN (1985100, 1985101, 1985102, 1985103, 1985104));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1985100, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 48, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Active On'),
(1985100, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33536, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Flags Immune To Players'),
(1985100, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1985100, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Start Waypoint'),
(1985100, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 11, 15742, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Cast \'Ashcrombe`s Teleport\''),
(1985100, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 22, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Event Phase 2 (Do Not Start Timer for Failure Event)'),
(1985101, 9, 0, 0, 0, 0, 100, 0, 2000, 2000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 10, 70967, 19832, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Orientation Creature \'Doctor Vomisa, Ph.T.\''),
(1985101, 9, 1, 0, 0, 0, 100, 0, 150, 150, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Say Line 0'),
(1985101, 9, 2, 0, 0, 0, 100, 0, 6000, 6000, 0, 0, 0, 18, 32768, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Remove Immunity Flags'),
(1985101, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 10, 70975, 19849, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Start Attacking Scrap Reaver X6000'),
(1985102, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 53, 1, 1985101, 0, 0, 0, 2, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Start Waypoint'),
(1985102, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 18, 33536, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Flags Immune To Players & Immune To NPC\'s'),
(1985102, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Say Line 1'),
(1985103, 9, 0, 0, 0, 0, 100, 0, 300, 300, 0, 0, 0, 11, 34427, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Cast \'Ethereal Teleport\''),
(1985103, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 62, 530, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 3044.2, 3622.36, 143.269, 0, 'Negatron - Actionlist - Teleport'),
(1985103, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 59, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Run On'),
(1985103, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 69, 1, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3037.824, 3659.001, 143.53865, 0, 'Negatron - Actionlist - Move To Position'),
(1985103, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 19737, 0, 200, 1, 0, 0, 0, 0, 'Negatron - Actionlist - Set Data 1 1 on Engineering Crewmembers'),
(1985103, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 10, 70009, 19570, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Set Data 1 1 on Rocket-Chief Fuselage'),
(1985104, 9, 0, 0, 0, 0, 100, 0, 150, 150, 0, 0, 0, 5, 54, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Play Emote 54'),
(1985104, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3030.1443, 3656.7964, 159.49426, 0.15707901, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 2, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3047.6445, 3668.2544, 158.13696, 0.017452462, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3029.779, 3677.4927, 158.64986, 1.3439013, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 4, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3038.2305, 3670.395, 197.78914, 6.073746, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 5, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3042.363, 3667.0383, 180.62209, 4.747296, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 50, 183987, 180000, 0, 0, 0, 0, 8, 0, 0, 0, 0, 3031.6763, 3671.5273, 180.86804, 0.69813144, 'Negatron - Actionlist - Summon Gameobject \'Rocket Fire\''),
(1985104, 9, 7, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 10, 70009, 19570, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Say Line 0 (Rocket-Chief Fuselage)'),
(1985104, 9, 8, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 19, 512, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Remove Flag Immune To NPC'),
(1985104, 9, 9, 0, 0, 0, 100, 0, 800, 800, 0, 0, 0, 107, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Summon Creature Group 0'),
(1985104, 9, 10, 0, 0, 0, 100, 0, 400, 400, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 19541, 100, 0, 0, 0, 0, 0, 0, 'Negatron - Actionlist - Start Attacking');
-- Experimental Pilot Refactor
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19776);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19776, 0, 0, 0, 25, 0, 100, 512, 0, 0, 0, 0, 0, 53, 0, 19776, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - On Reset - Start Waypoint'),
(19776, 0, 1, 0, 40, 0, 100, 512, 8, 19776, 0, 0, 0, 80, 1977600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - On Waypoint 8 Reached - Run Script'),
(19776, 0, 2, 3, 40, 0, 100, 512, 15, 19776, 0, 0, 0, 54, 300000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - On Waypoint 15 Reached - Pause Waypoint'),
(19776, 0, 3, 0, 61, 0, 100, 512, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 5.0689, 'Experimental Pilot - On Waypoint 15 Reached - Set Orientation 5,0689');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1977600);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1977600, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 54, 140000, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Pause Waypoint'),
(1977600, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 0, 2.11134, 'Experimental Pilot - Actionlist - Set Orientation 2.11134'),
(1977600, 9, 2, 0, 0, 0, 100, 0, 4000, 4000, 0, 0, 0, 45, 2, 2, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Set Data 2 2'),
(1977600, 9, 3, 0, 0, 0, 100, 0, 1000, 1000, 0, 0, 0, 1, 0, 15000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 0'),
(1977600, 9, 4, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 1, 0, 20000, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 0'),
(1977600, 9, 5, 0, 0, 0, 100, 0, 20000, 20000, 0, 0, 0, 1, 1, 20000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 1'),
(1977600, 9, 6, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Play Emote 6'),
(1977600, 9, 7, 0, 0, 0, 100, 0, 20000, 20000, 0, 0, 0, 1, 1, 15000, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 1'),
(1977600, 9, 8, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 5, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Play Emote 6'),
(1977600, 9, 9, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 2, 15000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 2'),
(1977600, 9, 10, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 1, 2, 10000, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 2'),
(1977600, 9, 11, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 3, 15000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 3'),
(1977600, 9, 12, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 5, 6, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Play Emote 6'),
(1977600, 9, 13, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 1, 3, 10000, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 3'),
(1977600, 9, 14, 0, 0, 0, 100, 0, 10000, 10000, 0, 0, 0, 1, 4, 15000, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 4'),
(1977600, 9, 15, 0, 0, 0, 100, 0, 15000, 15000, 0, 0, 0, 1, 4, 0, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Say Line 4'),
(1977600, 9, 16, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 45, 3, 3, 0, 0, 0, 0, 10, 70614, 19737, 0, 0, 0, 0, 0, 0, 'Experimental Pilot - Actionlist - Set Data 3 3');
-- Don't play Experimental Pilot Script if there are no Crewmembers nearby
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 22) AND (`SourceGroup` = 2) AND (`SourceEntry` = 19776);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 2, 19776, 0, 0, 29, 1, 19737, 10, 0, 0, 0, 0, '', 'Only Run Script if creature Engineering Crewmember (19737) is nearby');
-- Netherstorm Agent
DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 19541);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(19541, 0, 0, 0, 1, 0, 80, 0, 60000, 60000, 200000, 230000, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - Out of Combat - Say Line 0'),
(19541, 0, 1, 0, 9, 0, 100, 0, 5, 30, 3600, 3600, 0, 11, 36246, 64, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - Within 5-30 Range - Cast \'Shoot Tech Gun\''),
(19541, 0, 2, 0, 54, 0, 100, 512, 0, 0, 0, 0, 0, 80, 1954100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - On Just Summoned - Run Script');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1954100);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1954100, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 2, 1770, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - Actionlist - Set Faction 1770'),
(1954100, 9, 1, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 42, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - Actionlist - Set Invincibility Hp 1'),
(1954100, 9, 2, 0, 0, 0, 100, 512, 1200, 1200, 0, 0, 0, 49, 0, 0, 0, 0, 0, 0, 19, 19851, 100, 0, 0, 0, 0, 0, 0, 'Netherstorm Agent - Actionlist - Start Attacking');
-- Conditions for controlling Scrap Reaver X6000
DELETE FROM `conditions` WHERE (`SourceTypeOrReferenceId` = 17) AND (`SourceEntry` = 34630) AND (`ConditionTypeOrReference` IN (28, 29)) AND (`ConditionValue1` IN (19851, 10248));
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(17, 0, 34630, 0, 0, 29, 0, 19851, 200, 0, 1, 0, 0, '', 'Only cast Scrap Reaver X6000 if Negatron is not spawned'),
(17, 0, 34630, 0, 0, 28, 0, 10248, 0, 0, 1, 0, 0, '', 'Only cast Scrap Reaver X6000 if quest You, Robot is not completed');
-- Quest not being completable
UPDATE `quest_template_addon` SET `SpecialFlags`=`SpecialFlags`&~2 WHERE (`ID` = 10248);

View File

@@ -0,0 +1,7 @@
-- DB update 2023_03_15_01 -> 2023_03_15_02
--
-- Repair Warp Splinter Loot Table
UPDATE `reference_loot_template` SET `GroupId`=3 WHERE `Entry`=35006 AND `Item` IN (28370, 28367, 28371, 28348, 28350, 28349);
UPDATE `creature_loot_template` SET `MaxCount`=1 WHERE `Entry`=17977 AND `Item`=35006 AND `Reference`=35006 AND `GroupId`=2;
DELETE FROM `creature_loot_template` WHERE `Entry`=17977 AND `Item`=35006 AND `Reference`=35006 AND `GroupId`=3;
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `LootMode`, `GroupId`, `MinCount`, `MaxCount`, `Comment`) VALUES (17977, 35006, 35006, 100, 0, 1, 3, 1, 1, 'Warp Splinter High Value Table - (ReferenceTable)');

View File

@@ -0,0 +1,15 @@
-- DB update 2023_03_15_02 -> 2023_03_15_03
-- Ridgespine Horror
UPDATE `creature_template_addon` SET `auras` = '7939 22766' WHERE `entry` = 20998;
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 20998;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 20998;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(20998, 0, 0, 0, 0, 0, 100, 0, 3000, 7000, 8000, 12000, 0, 11, 745, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Horror - In Combat - Cast \'Web\''),
(20998, 0, 1, 0, 0, 0, 100, 0, 0, 0, 5000, 12000, 0, 11, 7951, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Horror - In Combat - Cast \'Toxic Spit\'');
-- Ridgespine Stalker
UPDATE `creature_template_addon` SET `auras` = '7939 22766' WHERE `entry` = 20714;
DELETE FROM `smart_scripts` WHERE `source_type` = 0 AND `entryorguid` = 20714;
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(20714, 0, 0, 0, 0, 0, 100, 0, 8000, 12000, 8000, 12000, 0, 11, 744, 32, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 'Ridgespine Stalker - In Combat - Cast \'Poison\'');

View File

@@ -0,0 +1,22 @@
-- DB update 2023_03_15_03 -> 2023_03_15_04
-- Karaaz <Consortium Quartermaster>
DELETE FROM `creature_text` WHERE `CreatureID`=20242;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(20242, 0, 0, 'Of course none of my goods are stolen. But if someone asks, you didn\'t get them from me!', 12, 0, 100, 1, 0, 0, 17914, 0, 'Karaaz'),
(20242, 0, 1, 'The latest blueprints, patterns and schematics are available right here. These instructions are so simple to follow they practically craft themselves!', 12, 0, 100, 1, 0, 0, 17915, 0, 'Karaaz'),
(20242, 0, 2, 'The best selection of smuggled goods is available right here, $n. Great for the whole family! Avoid goblin taxation and naaru prohibition - the Consortium is here to fill your every shopping need!', 12, 0, 100, 1, 0, 0, 17916, 0, 'Karaaz'),
(20242, 0, 3, 'Pssst! I have something that might interest you, $n. It fell off a pack mule in Nagrand!', 12, 0, 100, 1, 0, 0, 17917, 0, 'Karaaz');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 20242 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(20242, 0, 0, 0, 38, 0, 100, 0, 0, 1, 120000, 120000, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Karaaz - On Data Set 0 1 - Say Line 0 (Areatrigger 4495 Invoker)');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry`=4495;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (4495, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid`=4495 AND `source_type`=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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(4495, 2, 0, 1, 46, 0, 100, 0, 4495, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Trigger - Store Targetlist'),
(4495, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20242, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Link - Send Target 1 (Karaaz)'),
(4495, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, 20242, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (The Stormspire) - On Link - Set Data 0 1 (Karaaz)');

View File

@@ -0,0 +1,27 @@
-- DB update 2023_03_15_04 -> 2023_03_15_05
-- Brother Sarno
UPDATE `creature_template` SET `AIName` = 'SmartAI' WHERE `entry` = 7917;
DELETE FROM `smart_scripts` WHERE `entryorguid`=7917 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`)
VALUES (7917, 0, 0, 0, 38, 0, 100, 0, 0, 1, 60000, 60000, 0, 80, 791700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Data Set 0 1 - Run Script (Areatrigger 1125 Invoker)');
DELETE FROM `smart_scripts` WHERE `entryorguid`=791700 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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(791700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Set Orientation Stored Target'),
(791700, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Say Line 0'),
(791700, 9, 2, 0, 0, 0, 100, 0, 3000, 3000, 0, 0, 0, 66, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Brother Sarno - On Script - Set Orientation Home Position');
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry` = 1125;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (1125, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid`=1125 AND `source_type`=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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1125, 2, 0, 1, 46, 0, 100, 0, 1125, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Trigger - Store Targetlist'),
(1125, 2, 1, 2, 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 7917, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Link - Send Target 1 (Brother Sarno)'),
(1125, 2, 2, 0, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 0, 1, 0, 0, 0, 0, 19, 7917, 0, 0, 0, 0, 0, 0, 0, 'Areatrigger (Cathedral of Light) - On Link - Set Data 0 1 (Brother Sarno)');
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=22 AND `SourceEntry`=1125;
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(22, 1, 1125, 2, 0, 15, 0, 32, 0, 0, 1, 0, 0, '', 'Execute Areatrigger 1125 SAI if player is not a Death Knight');

View File

@@ -0,0 +1,31 @@
-- DB update 2023_03_15_05 -> 2023_03_15_06
-- Griftah
DELETE FROM `smart_scripts` WHERE `entryorguid` = 19227 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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(19227, 0, 0, 0, 38, 0, 100, 0, 0, 1, 60000, 60000, 0, 80, 1922700, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - On Data Set 0 1 - Run Script (Areatrigger 4389 Invoker)');
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 1922700);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(1922700, 9, 0, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Say Line 0'),
(1922700, 9, 1, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 5, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Play Emote 1'),
(1922700, 9, 2, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 5, 5, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Griftah - Actionlist - Play Emote 5');
DELETE FROM `creature_text` WHERE `CreatureID` = 19227;
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
(19227,0,0,"Hey! Hey, $r! I be havin' just the thing for ya. Ya ever see a tikbalang? Frightenin' creatures. Prone to stealin' ya away. What ya need is one of my tikbalang wards. Guaranteed to ward away all tikbalangs!",12,0,100,5,0,0,16318,0,"Griftah"),
(19227,0,1,"Look over here, $c! I got somethin' for ya. Just what ya need. It's soap, right... and it's on a rope! No offense, $G man:honey;, but yer a little ripe, know what I'm sayin'?",12,0,100,5,0,0,16319,0,"Griftah"),
(19227,0,2,"Ya look lovesick. Special someone be gettin' ya down, eh? No worries, no worries. Ya get this medallion from me, ya wear it when ya see 'em, and they be all over ya, $G man:sweetheart;!",12,0,100,5,0,0,16320,0,"Griftah"),
(19227,0,3,"Dangerous out there, innit? Know what ya need? Protection. I can help ya defy death itself! Ya wear this madstone 'round yer neck, see, and then ya be able to come back if ya find yerself in the spirit world! Just a quick jaunt to yer corpse and up ya come, fresh and new!",12,0,100,5,0,0,16321,0,"Griftah"),
(19227,0,4,"Amazing amulets! Incredible curios! The newfangled jewelcrafters be havin' nothin' on the tried and true mystical methods of ol' Griftah! Improve yerself through these magical talismans for a bargain price!",12,0,100,5,0,0,16322,0,"Griftah"),
(19227,0,5,"C'mere, $r. Ya don't want to be riskin' yerself in a dungeon, do ya? Filthy work, and for what? Some worthless trinket? Nah, what ya need be one of my amulets. Guaranteed to work!",12,0,100,5,0,0,16323,0,"Griftah"),
(19227,0,6,"Ya look tired, $c. I be havin' somethin' for ya. These amulets, they can help ya leap obstacles and swim through the rivers like ya be born to it. They energize the food ya be eatin', makin' yer wounds close before yer eyes!",12,0,100,5,0,0,16324,0,"Griftah");
-- Areatrigger
DELETE FROM `areatrigger_scripts` WHERE `entry` = 4389;
INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES (4389, 'SmartTrigger');
DELETE FROM `smart_scripts` WHERE `entryorguid` = 4389 AND `source_type` = 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`,`event_param5`,`action_type`,`action_param1`,`action_param2`,`action_param3`,`action_param4`,`action_param5`,`action_param6`,`target_type`,`target_param1`,`target_param2`,`target_param3`,`target_param4`,`target_x`,`target_y`,`target_z`,`target_o`,`comment`) VALUES
(4389,2,0,1,46,0,100,0,4389,0,0,0,0,64,1,0,0,0,0,0,7,0,0,0,0,0,0,0,0,"Areatrigger (Lower City) - On Trigger - Store Targetlist"),
(4389,2,1,2,61,0,100,0,0,0,0,0,0,100,1,0,0,0,0,0,10,68758,19227,0,0,0,0,0,0,"Areatrigger (Lower City) - On Link - Send Target 1 (Griftah)"),
(4389,2,2,0,61,0,100,0,0,0,0,0,0,45,0,1,0,0,0,0,10,68758,19227,0,0,0,0,0,0,"Areatrigger (Lower City) - On Link - Set Data 0 1 (Griftah)");

View File

@@ -0,0 +1,6 @@
-- DB update 2023_03_15_06 -> 2023_03_15_07
--
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 18551200) AND (`source_type` = 9) AND (`id` IN (0, 1));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(18551200, 9, 0, 0, 0, 0, 100, 0, 2400, 2400, 0, 0, 0, 12, 22920, 1, 300000, 0, 1, 0, 8, 0, 0, 0, 0, 3989.02, 6071.37, 266.41, 3.72, 'Stasis Chamber Alpha - On Script - Summon Creature \'Thuk the Defiant\''),
(18551200, 9, 1, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Stasis Chamber Alpha - On Script - Despawn Self');

View File

@@ -0,0 +1,3 @@
-- DB update 2023_03_15_07 -> 2023_03_15_08
--
UPDATE `pool_gameobject` SET `Chance`=0 WHERE `description`='Rotten Arakkoa Egg (184795)';

View File

@@ -0,0 +1,67 @@
-- DB update 2023_03_15_08 -> 2023_03_15_09
-- Store Targetlist of group (id 1)
DELETE FROM `smart_scripts` WHERE (`source_type` = 1 AND `entryorguid` IN (183770, 183956, 184311, 184312));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(183770, 1, 0 , 1 , 62, 0, 100, 0, 8036, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Gossip Option Select - Store Target List'),
(183770, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Store Target List Party'),
(183770, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20209, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2918.95, 4189.98, 161.88, 0.34, 'B\'naar Control Console - Linked with previous event - Summon B\'naar Control Console'),
(183770, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Send Targetlist to B\'naar Control Console'),
(183770, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Send Targetlist to B\'naar Control Console'),
(183770, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Close Gossip'),
(183770, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18377000, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - Linked with previous event - Run Script'),
(183770, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Fail Quest'),
(183770, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Say'),
(183770, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20209, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Set Data'),
(183770, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'B\'naar Control Console - On Data Set - Reset Scripts'),
(183956, 1, 0 , 1 , 62, 0, 100, 0, 8113, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Gossip Option Select - Store Target List'),
(183956, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Store Target List Party'),
(183956, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20417, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2426.77, 2750.38, 133.24, 2.14, 'Coruu Control Console - Linked with previous event - Summon Coruu Control Console'),
(183956, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Send Targetlist to Coruu Control Console'),
(183956, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Send Targetlist to Coruu Control Console'),
(183956, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Close Gossip'),
(183956, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18395600, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - Linked with previous event - Run Script'),
(183956, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Fail Quest'),
(183956, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Say'),
(183956, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20417, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Set Data'),
(183956, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Coruu Control Console - On Data Set - Reset Scripts'),
(184311, 1, 0 , 1 , 62, 0, 100, 0, 8115, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Gossip Option Select - Store Target List'),
(184311, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Store Target List Party'),
(184311, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20418, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 2976.48, 2183.29, 163.2, 1.85, 'Duru Control Console - Linked with previous event - Summon Duru Control Console'),
(184311, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Send Targetlist to Duru Control Console'),
(184311, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Send Targetlist to Duru Control Console'),
(184311, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Close Gossip'),
(184311, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18431100, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - Linked with previous event - Run Script'),
(184311, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Fail Quest'),
(184311, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Say'),
(184311, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20418, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Set Data'),
(184311, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Duru Control Console - On Data Set - Reset Scripts'),
(184312, 1, 0 , 1 , 62, 0, 100, 0, 8116, 0, 0, 0, 0, 64, 1, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Gossip Option Select - Store Target List'),
(184312, 1, 1 , 2 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 64, 2, 0, 0, 0, 0, 0, 16, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Store Target List Party'),
(184312, 1, 2 , 3 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 12, 20440, 1, 120000, 0, 0, 0, 8, 0, 0, 0, 0, 4013.71, 4028.76, 192.1, 1.25, 'Ara Control Console - Linked with previous event - Summon Ara Control Console'),
(184312, 1, 3 , 4 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 1, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Send Targetlist to Ara Control Console'),
(184312, 1, 4 , 5 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 100, 2, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Send Targetlist to Ara Control Console'),
(184312, 1, 5 , 6 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 72, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Close Gossip'),
(184312, 1, 6 , 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 80, 18431200, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - Linked with previous event - Run Script'),
(184312, 1, 7 , 8 , 38, 0, 100, 0, 1, 1, 2000, 2000, 0, 104, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Fail Quest'),
(184312, 1, 8 , 9 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 1, 5, 0, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Say'),
(184312, 1, 9 , 10, 61, 0, 100, 0, 0, 0, 0, 0, 0, 45, 7, 7, 0, 0, 0, 0, 19, 20440, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Set Data'),
(184312, 1, 10, 0 , 61, 0, 100, 0, 0, 0, 0, 0, 0, 78, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Ara Control Console - On Data Set - Reset Scripts');
-- Update to new Stored ID
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20209) AND (`source_type` = 0) AND (`id` IN (11, 12, 13));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20417) AND (`source_type` = 0) AND (`id` IN (13, 14, 15));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20418) AND (`source_type` = 0) AND (`id` IN (15, 16, 17));
UPDATE `smart_scripts` SET `target_param1`=2 WHERE (`entryorguid` = 20440) AND (`source_type` = 0) AND (`id` IN (14, 15, 16));
-- Fix Flags
UPDATE `creature_template` SET `unit_flags`=`unit_flags`|33554432|256 WHERE (`entry` IN (20209, 20417, 20418, 20440));
-- Delete wrong spawns of Technicians causing trouble with Duro
DELETE FROM `creature` WHERE `id1` = 20218;
-- Fix Wrong WPs being assigned
UPDATE `smart_scripts` SET `action_param1`=2021802, `action_param2`=2021803 WHERE (`id`=12 AND `source_type` = 0 AND `entryorguid` = 20218);
UPDATE `smart_scripts` SET `action_param1`=2021804, `action_param2`=2021805 WHERE (`id`=14 AND `source_type` = 0 AND `entryorguid` = 20218);

View File

@@ -0,0 +1,25 @@
-- DB update 2023_03_15_09 -> 2023_03_15_10
-- Improve Respawn Script
DELETE FROM `smart_scripts` WHERE (`source_type` = 9 AND `entryorguid` = 2102700);
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2102700, 9, 0, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 60, 0, 30, 1, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Disable Gravity'),
(2102700, 9, 1, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 2, 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Faction 35'),
(2102700, 9, 2, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 83, 2, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Remove Npc Flags Questgiver'),
(2102700, 9, 3, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Reactstate Passive'),
(2102700, 9, 4, 0, 0, 0, 100, 512, 0, 0, 0, 0, 0, 11, 35921, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Cast \'Water Bubble\''),
(2102700, 9, 5, 0, 0, 0, 100, 512, 1200, 1200, 0, 0, 0, 45, 1, 1, 0, 0, 0, 0, 9, 21041, 0, 40, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Set Data 1 1');
UPDATE `smart_scripts` SET `event_flags`=512, `action_param2`=2, `action_param3`=1 WHERE (`entryorguid` = 21027) AND (`source_type` = 0) AND (`id` IN (0));
-- Increase Visibility Range of Triggers
DELETE FROM `creature_template_addon` WHERE (`entry` = 21041);
INSERT INTO `creature_template_addon` (`entry`, `path_id`, `mount`, `bytes1`, `bytes2`, `emote`, `visibilityDistanceType`, `auras`) VALUES
(21041, 0, 0, 0, 0, 0, 3, '');
-- Handle Quest Credit and Despawn on Actionlist
UPDATE `smart_scripts` SET `action_param4`=0, `action_param5`=0 WHERE (`entryorguid` = 2102704) AND (`source_type` = 9) AND (`id` IN (1));
DELETE FROM `smart_scripts` WHERE (`entryorguid` = 2102705) AND (`source_type` = 9) AND (`id` IN (3, 4));
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`, `event_param5`, `action_type`, `action_param1`, `action_param2`, `action_param3`, `action_param4`, `action_param5`, `action_param6`, `target_type`, `target_param1`, `target_param2`, `target_param3`, `target_param4`, `target_x`, `target_y`, `target_z`, `target_o`, `comment`) VALUES
(2102705, 9, 3, 0, 0, 0, 100, 0, 0, 0, 0, 0, 0, 26, 10451, 0, 0, 0, 0, 0, 12, 1, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Quest Credit \'Escape from Coilskar Cistern\''),
(2102705, 9, 4, 0, 0, 0, 100, 0, 3600, 3600, 0, 0, 0, 41, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Earthmender Wilda - Actionlist - Despawn Instant');

View File

@@ -0,0 +1,4 @@
-- DB update 2023_03_15_10 -> 2023_03_16_00
-- Mr Pinchy's Blessing (1300 health)
DELETE FROM `spell_group` WHERE `id`=1 AND `spell_id`=33053;
INSERT INTO `spell_group` (`id`, `spell_id`, `special_flag`) VALUES (1, 33053, 3);

View File

@@ -26,6 +26,7 @@
void BIH::buildHierarchy(std::vector<uint32>& tempTree, buildData& dat, BuildStats& stats)
{
// create space for the first node
// cppcheck-suppress integerOverflow
tempTree.push_back(uint32(3 << 30)); // dummy leaf
tempTree.insert(tempTree.end(), 2, 0);
//tempTree.add(0);

View File

@@ -187,9 +187,9 @@ public:
while (true)
{
uint32 tn = tree[node];
uint32 axis = (tn & (3 << 30)) >> 30;
bool BVH2 = tn & (1 << 29);
int offset = tn & ~(7 << 29);
uint32 axis = (tn & (3 << 30)) >> 30; // cppcheck-suppress integerOverflow
bool BVH2 = tn & (1 << 29); // cppcheck-suppress integerOverflow
int offset = tn & ~(7 << 29); // cppcheck-suppress integerOverflow
if (!BVH2)
{
if (axis < 3)
@@ -297,9 +297,9 @@ public:
while (true)
{
uint32 tn = tree[node];
uint32 axis = (tn & (3 << 30)) >> 30;
bool BVH2 = tn & (1 << 29);
int offset = tn & ~(7 << 29);
uint32 axis = (tn & (3 << 30)) >> 30; // cppcheck-suppress integerOverflow
bool BVH2 = tn & (1 << 29); // cppcheck-suppress integerOverflow
int offset = tn & ~(7 << 29); // cppcheck-suppress integerOverflow
if (!BVH2)
{
if (axis < 3)
@@ -425,7 +425,7 @@ protected:
void createNode(std::vector<uint32>& tempTree, int nodeIndex, uint32 left, uint32 right) const
{
// write leaf node
tempTree[nodeIndex + 0] = (3 << 30) | left;
tempTree[nodeIndex + 0] = (3 << 30) | left; // cppcheck-suppress integerOverflow
tempTree[nodeIndex + 1] = right - left + 1;
}

View File

@@ -42,6 +42,7 @@ SERVICE_STATUS serviceStatus;
SERVICE_STATUS_HANDLE serviceStatusHandle = 0;
// cppcheck-suppress syntaxError
typedef WINADVAPI BOOL (WINAPI* CSD_T)(SC_HANDLE, DWORD, LPCVOID);
bool WinServiceInstall()

View File

@@ -139,6 +139,21 @@ namespace Acore::Containers
return *it;
}
/*
* Select a random element from a container.
*
* Note: container cannot be empty
*/
template<class C, class Predicate>
inline auto SelectRandomContainerElementIf(C const& container, Predicate&& predicate) -> typename std::add_const<decltype(*std::begin(container))>::type&
{
C containerCopy;
std::copy_if(std::begin(container), std::end(container), std::inserter(containerCopy, std::end(containerCopy)), predicate);
auto it = std::begin(containerCopy);
std::advance(it, urand(0, uint32(std::size(containerCopy)) - 1));
return *it;
}
/*
* Select a random element from a container where each element has a different chance to be selected.
*

View File

@@ -75,7 +75,7 @@ void EventProcessor::Update(uint32 p_time)
// Reschedule non deletable events to be checked at
// the next update tick
AddEvent(event, CalculateTime(1), false);
AddEvent(event, CalculateTime(1), false, 0);
}
}
@@ -111,11 +111,33 @@ void EventProcessor::KillAllEvents(bool force)
m_events.clear();
}
void EventProcessor::AddEvent(BasicEvent* Event, uint64 e_time, bool set_addtime)
void EventProcessor::CancelEventGroup(uint8 group)
{
for (auto itr = m_events.begin(); itr != m_events.end();)
{
if (itr->second->m_eventGroup != group)
{
continue;
}
// Abort events which weren't aborted already
if (!itr->second->IsAborted())
{
itr->second->SetAborted();
itr->second->Abort(m_time);
}
delete itr->second;
itr = m_events.erase(itr);
}
}
void EventProcessor::AddEvent(BasicEvent* Event, uint64 e_time, bool set_addtime, uint8 eventGroup)
{
if (set_addtime)
Event->m_addTime = m_time;
Event->m_execTime = e_time;
Event->m_eventGroup = eventGroup;
m_events.insert(std::pair<uint64, BasicEvent*>(e_time, Event));
}

View File

@@ -69,6 +69,7 @@ class BasicEvent
// these can be used for time offset control
uint64 m_addTime{0}; // time when the event was added to queue, filled by event handler
uint64 m_execTime{0}; // planned time of next execution, filled by event handler
uint8 m_eventGroup{0};
};
template<typename T>
@@ -101,11 +102,16 @@ class EventProcessor
void Update(uint32 p_time);
void KillAllEvents(bool force);
void AddEvent(BasicEvent* Event, uint64 e_time, bool set_addtime = true);
void AddEvent(BasicEvent* Event, uint64 e_time, bool set_addtime = true) { AddEvent(Event, e_time, set_addtime, 0); };
void AddEvent(BasicEvent* Event, uint64 e_time, bool set_addtime, uint8 eventGroup);
template<typename T>
is_lambda_event<T> AddEvent(T&& event, Milliseconds e_time, bool set_addtime = true) { AddEvent(new LambdaBasicEvent<T>(std::move(event)), e_time, set_addtime); }
void AddEventAtOffset(BasicEvent* event, Milliseconds offset) { AddEvent(event, CalculateTime(offset.count())); }
void AddEventAtOffset(BasicEvent* event, Milliseconds offset, Milliseconds offset2) { AddEvent(event, CalculateTime(randtime(offset, offset2).count())); }
void AddEventAtOffset(BasicEvent* event, Milliseconds offset) { AddEvent(event, CalculateTime(offset.count()), true, 0); }
void AddEventAtOffset(BasicEvent* event, Milliseconds offset, Milliseconds offset2) { AddEvent(event, CalculateTime(randtime(offset, offset2).count()), true, false); }
template<typename T>
is_lambda_event<T> AddEventAtOffset(T&& event, Milliseconds offset, uint8 eventGroup) { AddEvent(new LambdaBasicEvent<T>(std::move(event)), CalculateTime(offset.count()), true, eventGroup); };
template<typename T>
is_lambda_event<T> AddEventAtOffset(T&& event, Milliseconds offset, Milliseconds offset2, uint8 eventGroup) { AddEvent(new LambdaBasicEvent<T>(std::move(event)), CalculateTime(randtime(offset, offset2).count()), true, eventGroup); };
template<typename T>
is_lambda_event<T> AddEventAtOffset(T&& event, Milliseconds offset) { AddEventAtOffset(new LambdaBasicEvent<T>(std::move(event)), offset); }
template<typename T>
@@ -116,6 +122,8 @@ class EventProcessor
//calculates next queue tick time
[[nodiscard]] uint64 CalculateQueueTime(uint64 delay) const;
void CancelEventGroup(uint8 group);
protected:
uint64 m_time{0};
EventList m_events;

View File

@@ -77,7 +77,8 @@ DatabaseWorkerPool<T>::DatabaseWorkerPool() :
bool isSameClientDB = true; // Client version 3.2.3?
#endif
WPFatal(isSupportClientDB, "AzerothCore does not support MySQL versions below 5.7 and MariaDB 10.5\nSearch the wiki for ACE00043 in Common Errors (https://www.azerothcore.org/wiki/common-errors#ace00043).");
WPFatal(isSupportClientDB, "AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5.\n\nFound version: {} / {}. Server compiled with: {}.\nSearch the wiki for ACE00043 in Common Errors (https://www.azerothcore.org/wiki/common-errors#ace00043).",
mysql_get_client_info(), mysql_get_client_version(), MYSQL_VERSION_ID);
WPFatal(isSameClientDB, "Used MySQL library version ({} id {}) does not match the version id used to compile AzerothCore (id {}).\nSearch the wiki for ACE00046 in Common Errors (https://www.azerothcore.org/wiki/common-errors#ace00046).",
mysql_get_client_info(), mysql_get_client_version(), MYSQL_VERSION_ID);
}
@@ -407,7 +408,8 @@ uint32 DatabaseWorkerPool<T>::OpenConnections(InternalIndex type, uint8 numConne
}
else if (connection->GetServerVersion() < MIN_MYSQL_SERVER_VERSION)
{
LOG_ERROR("sql.driver", "AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5");
LOG_ERROR("sql.driver", "AzerothCore does not support MySQL versions below 5.7 or MariaDB versions below 10.5.\n\nFound server version: {}. Server compiled with: {}.",
connection->GetServerVersion(), MYSQL_VERSION_ID);
return 1;
}
else

View File

@@ -596,6 +596,7 @@ void CharacterDatabaseConnection::DoPrepareStatements()
// Character names
PrepareStatement(CHAR_INS_RESERVED_PLAYER_NAME, "INSERT IGNORE INTO reserved_name (name) VALUES (?)", CONNECTION_ASYNC);
PrepareStatement(CHAR_INS_PROFANITY_PLAYER_NAME, "INSERT IGNORE INTO profanity_name (name) VALUES (?)", CONNECTION_ASYNC);
// Character settings
PrepareStatement(CHAR_SEL_CHAR_SETTINGS, "SELECT source, data FROM character_settings WHERE guid = ?", CONNECTION_ASYNC);

View File

@@ -510,6 +510,7 @@ enum CharacterDatabaseStatements : uint32
CHAR_SEL_ARENAPOINTS,
CHAR_INS_RESERVED_PLAYER_NAME,
CHAR_INS_PROFANITY_PLAYER_NAME,
CHAR_SEL_CHAR_SETTINGS,
CHAR_REP_CHAR_SETTINGS,

View File

@@ -110,7 +110,7 @@ bool TransactionTask::Execute()
// Make sure only 1 async thread retries a transaction so they don't keep dead-locking each other
std::lock_guard<std::mutex> lock(_deadlockLock);
for (Milliseconds loopDuration = 0s, startMSTime = GetTimeMS(); loopDuration <= DEADLOCK_MAX_RETRY_TIME_MS; loopDuration = GetMSTimeDiffToNow(startMSTime))
for (Milliseconds loopDuration{}, startMSTime = GetTimeMS(); loopDuration <= DEADLOCK_MAX_RETRY_TIME_MS; loopDuration = GetMSTimeDiffToNow(startMSTime))
{
if (!TryExecute())
return true;
@@ -157,7 +157,7 @@ bool TransactionWithResultTask::Execute()
// Make sure only 1 async thread retries a transaction so they don't keep dead-locking each other
std::lock_guard<std::mutex> lock(_deadlockLock);
for (Milliseconds loopDuration = 0s, startMSTime = GetTimeMS(); loopDuration <= DEADLOCK_MAX_RETRY_TIME_MS; loopDuration = GetMSTimeDiffToNow(startMSTime))
for (Milliseconds loopDuration{}, startMSTime = GetTimeMS(); loopDuration <= DEADLOCK_MAX_RETRY_TIME_MS; loopDuration = GetMSTimeDiffToNow(startMSTime))
{
if (!TryExecute())
{

View File

@@ -577,6 +577,7 @@ void BossAI::_Reset()
events.Reset();
scheduler.CancelAll();
summons.DespawnAll();
_healthCheckEvents.clear();
if (instance)
instance->SetBossState(_bossId, NOT_STARTED);
}
@@ -586,6 +587,7 @@ void BossAI::_JustDied()
events.Reset();
scheduler.CancelAll();
summons.DespawnAll();
_healthCheckEvents.clear();
if (instance)
{
instance->SetBossState(_bossId, DONE);
@@ -667,6 +669,39 @@ void BossAI::UpdateAI(uint32 diff)
DoMeleeAttackIfReady();
}
void BossAI::DamageTaken(Unit* /*attacker*/, uint32& damage, DamageEffectType /*damagetype*/, SpellSchoolMask /*damageSchoolMask*/)
{
if (!_healthCheckEvents.empty())
{
_healthCheckEvents.remove_if([&](HealthCheckEventData data) -> bool
{
return _ProccessHealthCheckEvent(data._healthPct, damage, data._exec);
});
}
}
/**
* @brief Executes a function once the creature reaches the defined health point percent.
*
* @param healthPct The health percent at which the code will be executed.
* @param exec The fuction to be executed.
*/
void BossAI::ScheduleHealthCheckEvent(uint32 healthPct, std::function<void()> exec)
{
_healthCheckEvents.push_back(HealthCheckEventData(healthPct, exec));
};
bool BossAI::_ProccessHealthCheckEvent(uint8 healthPct, uint32 damage, std::function<void()> exec) const
{
if (me->HealthBelowPctDamaged(healthPct, damage))
{
exec();
return true;
}
return false;
}
// WorldBossAI - for non-instanced bosses
WorldBossAI::WorldBossAI(Creature* creature) :

View File

@@ -139,6 +139,20 @@ public:
}
}
void DoForAllSummons(std::function<void(WorldObject*)> exec)
{
// We need to use a copy of SummonList here, otherwise original SummonList would be modified
StorageType listCopy = storage_;
for (auto const& guid : listCopy)
{
if (WorldObject* summon = ObjectAccessor::GetWorldObject(*me, guid))
{
exec(summon);
}
}
}
void DoZoneInCombat(uint32 entry = 0);
void RemoveNotExisting();
bool HasEntry(uint32 entry) const;
@@ -430,6 +444,14 @@ private:
bool _isHeroic;
};
struct HealthCheckEventData
{
HealthCheckEventData(uint8 healthPct, std::function<void()> exec) : _healthPct(healthPct), _exec(exec) { };
uint8 _healthPct;
std::function<void()> _exec;
};
class BossAI : public ScriptedAI
{
public:
@@ -440,12 +462,15 @@ public:
bool CanRespawn() override;
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType damagetype, SpellSchoolMask damageSchoolMask) override;
void JustSummoned(Creature* summon) override;
void SummonedCreatureDespawn(Creature* summon) override;
void SummonedCreatureDespawnAll() override;
void UpdateAI(uint32 diff) override;
void ScheduleHealthCheckEvent(uint32 healthPct, std::function<void()> exec);
// Hook used to execute events scheduled into EventMap without the need
// to override UpdateAI
// note: You must re-schedule the event within this method if the event
@@ -464,6 +489,7 @@ protected:
void _JustEngagedWith();
void _JustDied();
void _JustReachedHome() { me->setActive(false); }
[[nodiscard]] bool _ProccessHealthCheckEvent(uint8 healthPct, uint32 damage, std::function<void()> exec) const;
void TeleportCheaters();
@@ -473,6 +499,7 @@ protected:
private:
uint32 const _bossId;
std::list<HealthCheckEventData> _healthCheckEvents;
};
class WorldBossAI : public ScriptedAI

View File

@@ -129,12 +129,12 @@ void AutobroadcastMgr::SendAutobroadcasts()
LOG_DEBUG("autobroadcast", "AutobroadcastMgr::SendAutobroadcasts: '{}'", msg);
}
void AutobroadcastMgr::SendWorldAnnouncement(std::string_view msg)
void AutobroadcastMgr::SendWorldAnnouncement(std::string msg)
{
sWorld->SendWorldTextOptional(LANG_AUTO_BROADCAST, ANNOUNCER_FLAG_DISABLE_AUTOBROADCAST, msg.data());
}
void AutobroadcastMgr::SendNotificationAnnouncement(std::string_view msg)
void AutobroadcastMgr::SendNotificationAnnouncement(std::string msg)
{
WorldPacket data(SMSG_NOTIFICATION, (msg.size() + 1));
data << msg.data();

View File

@@ -37,8 +37,8 @@ public:
void SendAutobroadcasts();
private:
void SendWorldAnnouncement(std::string_view msg);
void SendNotificationAnnouncement(std::string_view msg);
void SendWorldAnnouncement(std::string msg);
void SendNotificationAnnouncement(std::string msg);
typedef std::map<uint8, std::string> AutobroadcastsMap;
typedef std::map<uint8, uint8> AutobroadcastsWeightMap;

Some files were not shown because too many files have changed in this diff Show More