49 lines
3.4 KiB
SQL
49 lines
3.4 KiB
SQL
-- Noth HP update
|
|
UPDATE `creature_template` SET `minhealth`=1626363, `maxhealth`=1626363 WHERE `entry`=15954;
|
|
|
|
-- Removing the static adds from creature table, all should be spawned during combat by noth
|
|
DELETE FROM creature where id in (16984, 16981, 16982, 16983);
|
|
|
|
DELETE FROM `creature_ai_scripts` where id IN(
|
|
1698101,
|
|
1698301,
|
|
1698302,
|
|
1698401,
|
|
1698201
|
|
);
|
|
INSERT INTO `creature_ai_scripts`
|
|
(`id`, `creature_id`, `event_type`, `event_inverse_phase_mask`, `event_chance`, `event_flags`, `event_param1`, `event_param2`, `event_param3`, `event_param4`, `action1_type`, `action1_param1`, `action1_param2`, `action1_param3`, `action2_type`, `action2_param1`, `action2_param2`, `action2_param3`, `action3_type`, `action3_param1`, `action3_param2`, `action3_param3`, `comment`)
|
|
VALUES
|
|
(1698101, 16981, 0, 0, 100, 1, 3000, 3000, 8000, 10000, 11, 19712, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Plagued Guardian arcane explosion'), -- unsure if correct. Does right dmg, has huge range and casttime which matches videos
|
|
(1698301, 16983, 0, 0, 100, 1, 1000, 4000, 8000, 8500, 11, 30138, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Plagued Champion shadow shock'), -- Same as wotlk, should be right, matches in dmg on videos
|
|
(1698302, 16983, 0, 0, 100, 1, 0, 1000, 4000, 5000, 11, 13737, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Plagued Champion mortal strike'), -- MS used by eventAI hits for about 1-1.3k, which is a bit higher for some unknown reason. Using 130% MS which is the lowest % i found
|
|
(1698401, 16984, 0, 0, 100, 1, 1000, 4000, 7000, 8000, 11, 20691, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Plagued Warrior cleave'), -- 15496 is used by wotlk version of this mob, might be more correct but who knows
|
|
(1698201, 16982, 0, 0, 100, 1, 1000, 4000, 7000, 10000, 11, 30092, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Plagued Construct blast wave'); -- this is pure guesswork, based on a quote that third balc phase is "flame, death, destruction", and that the spellid is around that of shadow shock
|
|
|
|
-- Plagued champion shadow shock should be cast even while shackled according to
|
|
-- https://web.archive.org/web/20070224095002/http://www.worldofraids.com:80/v2/?page=Nboss&wing=plague&mob=8
|
|
-- so giving the action flags: triggered and force cast
|
|
UPDATE `creature_ai_scripts` SET `action1_param3`=6 WHERE `id`=1698301;
|
|
|
|
-- Making sure the 3 Plagued creatures above are of eventai type
|
|
-- Making them elite
|
|
-- Updating damage values. Plagued champion matches with vanilla videos. Rest are unchecked.
|
|
UPDATE `creature_template` SET `AIName`='EventAI', `rank`=1, `mindmg`=1953, `maxdmg`=2382 WHERE `entry`=16981;
|
|
UPDATE `creature_template` SET `AIName`='EventAI', `rank`=1, `mindmg`=1953, `maxdmg`=2382 WHERE `entry`=16982;
|
|
UPDATE `creature_template` SET `AIName`='EventAI', `rank`=1, `mindmg`=2000, `maxdmg`=3012 WHERE `entry`=16983;
|
|
UPDATE `creature_template` SET `AIName`='EventAI', `rank`=1, `mindmg`=2000, `maxdmg`=3012 WHERE `entry`=16984;
|
|
|
|
|
|
-- Giving Plagued Warrior and Champion their weps
|
|
UPDATE `creature_template` SET `equipment_id` = 16984 where `entry` = 16984;
|
|
UPDATE `creature_template` SET `equipment_id` = 16983 where `entry` = 16983;
|
|
DELETE FROM `creature_equip_template` where entry IN (16983, 16984);
|
|
INSERT INTO `creature_equip_template` (entry, equipentry1, equipentry2, equipentry3)
|
|
VALUES
|
|
(16984, 12285, 0, 0),
|
|
(16983, 4991, 0, 0);
|
|
|
|
|
|
-- Noth adds corrected faction.
|
|
UPDATE `creature_template` SET `faction_A`=20, `faction_H`=20 WHERE `entry` IN (16981, 16982, 16983, 16984);
|