Files
moonwell-core-vanilla/sql/naxx/anubrekhan.sql
T

48 lines
3.3 KiB
SQL

/*
-- remove the crypt guards from creature table. They are spawned by anub instead.
DELETE FROM `creature` WHERE `id`='16573';
-- Remove all the corpse scarabs that were next to the crypt guards
DELETE FROM `creature` where id = 16698;
*/
-- Increasing anubs attackspeed from 2.4 to 2.0
UPDATE `creature_template` SET `baseattacktime`=2000, `flags_extra`=257 WHERE `entry`=15956;
-- corpse scarabs dmg reduced
UPDATE `creature_template` SET `mindmg`=200, `maxdmg`=300, `speed_walk`=3, `speed_run`=1.5, `MovementType`=2, `ScriptName`='' WHERE `entry`=16698;
-- we need a dummy creature named Anub'Rekhan to use for casting impale to avoid the visual bug where impale is always cast towards maintank
-- super ugly ninjaing the mob_plague_cloud AI for this creature as well, as it does the same, aka nothing.
DELETE FROM `creature_template` WHERE `entry` = 533003;
INSERT INTO `creature_template`
(`entry`, `KillCredit1`, `KillCredit2`, `modelid_1`, `modelid_2`, `modelid_3`, `modelid_4`, `name`, `subname`, `gossip_menu_id`, `minlevel`, `maxlevel`, `minhealth`, `maxhealth`, `minmana`, `maxmana`, `armor`, `faction_A`, `faction_H`, `npcflag`, `speed_walk`, `speed_run`, `scale`, `rank`, `mindmg`, `maxdmg`, `dmgschool`, `attackpower`, `dmg_multiplier`, `baseattacktime`, `rangeattacktime`, `unit_class`, `unit_flags`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `minrangedmg`, `maxrangedmg`, `rangedattackpower`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `resistance1`, `resistance2`, `resistance3`, `resistance4`, `resistance5`, `resistance6`, `spell1`, `spell2`, `spell3`, `spell4`, `PetSpellDataId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `InhabitType`, `Civilian`, `RacialLeader`, `RegenHealth`, `equipment_id`, `trainer_id`, `vendor_id`, `MechanicImmuneMask`, `SchoolImmuneMask`, `flags_extra`, `ScriptName`)
VALUES
('533003', '0', '0', '11686', '0', '0', '0', "Anub'Rekhan", 'NULL', '0', '63', '63', '5000', '5000', '0', '0', '7', '20', '20', '0', '1.2', '1.1486', '1', '0', '0', '0', '0', '0', '1', '2000', '2000', '1', '33587968', '0', '0', '0', '0', '0', '0', '1', '1', '0', '10', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '3', '0', '0', '1', '0', '0', '0', '0', '0', '0', "mob_plague_cloud");
UPDATE creature_template SET `MechanicImmuneMask`=1023383290 where entry = 16573;
-- giving corrpse scarabs an AI to do patrolling
UPDATE `creature_template` SET `ScriptName`='mob_corpse_scarab' WHERE `entry`=16698;
DELETE FROM creature_movement_template where entry = 16698;
INSERT INTO creature_movement_template (entry, point, position_x, position_y, position_z) VALUES
(16698, 1, 3203.53, -3475.68, 287.06),
(16698, 2, 3173.12, -3478.96, 287.12),
(16698, 3, 3130.50, -3511.49, 287.07),
(16698, 4, 3086.07, -3509.39, 287.08),
(16698, 5, 3068.29, -3538.47, 287.08),
(16698, 6, 3100.69, -3574.87, 287.08),
(16698, 7, 3138.66, -3550.26, 287.08),
(16698, 8, 3132.69, -3511.14, 287.07),
(16698, 9, 3173.12, -3478.96, 287.12),
(16698, 10, 3203.53, -3475.68, 287.06),
(16698, 11, 3233.81, -3488.35, 287.08),
(16698, 12, 3259.52, -3512.41, 287.08),
(16698, 13, 3287.53, -3513.52, 287.08),
(16698, 14, 3311.63, -3490.15, 287.08),
(16698, 15, 3309.49, -3454.61, 287.08),
(16698, 16, 3267.45, -3435.48, 287.08),
(16698, 17, 3232.18, -3470.62, 287.08);