This commit is contained in:
Jelle Meeus
2024-07-10 16:47:51 +02:00
parent ae2da23677
commit 2db428a8ce
18 changed files with 907 additions and 952 deletions

View File

@@ -28,24 +28,16 @@ INSERT INTO `areatrigger_scripts` (`entry`, `ScriptName`) VALUES
UPDATE `creature` SET `spawnMask` = 3 WHERE `spawnMask` = 7 AND `map` = 533; UPDATE `creature` SET `spawnMask` = 3 WHERE `spawnMask` = 7 AND `map` = 533;
-- Update spawnMask of all gameobjects to all -- Update spawnMask of all gameobjects to all
UPDATE `gameobject` SET `spawnMask` = 7 WHERE `spawnMask` = 3 AND `map` = 533; UPDATE `gameobject` SET `spawnMask` = 7 WHERE `spawnMask` = 3 AND `map` = 533;
-- Lich King uses same entry in Naxx WotLK and Naxx40 - Allow spawning in all versions -- Lich King uses same entry in Naxx WotLK and Naxx40 - Allow spawning in all versions
UPDATE `creature` SET `spawnMask` = `spawnMask` | 4 WHERE `id1` = 16980; UPDATE `creature` SET `spawnMask` = `spawnMask` | 4 WHERE `id1` = 16980;
-- Naxxramas Trigger (frogger) should also spawn in Naxx40 -- Naxxramas Trigger (frogger) should also spawn in Naxx40
UPDATE `creature` SET `spawnMask` = `spawnMask`| 4 WHERE `id1` = 16082; UPDATE `creature` SET `spawnMask` = `spawnMask`| 4 WHERE `id1` = 16082;
-- Orb of Naxxramas does not exist in classic
UPDATE `gameobject` SET `spawnMask` = 3 WHERE `id` IN (202278, 202277);
DELETE FROM `dungeon_access_template` WHERE `id`=122; DELETE FROM `dungeon_access_template` WHERE `id`=122;
INSERT INTO `dungeon_access_template` (`id`, `map_id`, `difficulty`, `min_level`, `max_level`, `min_avg_item_level`, `comment`) VALUES (122, 533, 2, 60, 0, 0, 'Naxxramas - 40man'); INSERT INTO `dungeon_access_template` (`id`, `map_id`, `difficulty`, `min_level`, `max_level`, `min_avg_item_level`, `comment`) VALUES (122, 533, 2, 60, 0, 0, 'Naxxramas - 40man');
-- Naxx40 Strath Entrance
DELETE FROM `creature_template` WHERE `entry` = 351097;
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(351097, 0, 0, 0, 0, 0, 'Naxx40 Strath Entrance Trigger', '', NULL, 0, 70, 70, 1, 35, 0, 1, 1.14286, 1, 1, 20, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 33554432, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 'npc_naxx40_area_trigger', 0);
DELETE FROM `creature` WHERE `guid` = 352042;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(352042, 351097, 0, 0, 329, 0, 0, 1, 1, 0, 3929.06, -3372.12, 119.653, 4.71395, 300, 0, 0, 6986, 0, 0, 0, 0, 0, '', 0);
-- Naxx40 Dungeon DBC entries (helps Autobalance work correctly) -- Naxx40 Dungeon DBC entries (helps Autobalance work correctly)
DELETE FROM `lfgdungeons_dbc` WHERE `ID` = 1001; DELETE FROM `lfgdungeons_dbc` WHERE `ID` = 1001;
INSERT INTO `lfgdungeons_dbc` VALUES INSERT INTO `lfgdungeons_dbc` VALUES

View File

@@ -1,8 +1,9 @@
-- Custom GUIDs -- Custom GUIDs
-- `creature_template` [351000,351089] 351090 351091 351092 -- `creature_template` [351000,351089] 351090 351091 351092
-- `creature` [361000,362043] [362043,362059] -- `creature` [361000,362043] [362043,362059]
DELETE FROM `creature_template` WHERE `entry` BETWEEN 351000 AND 351089; DELETE FROM `creature_template` WHERE `entry` BETWEEN 351000 AND 351089;
REPLACE INTO `creature_template` (`entry`, `name`, `subname`, `minlevel`, `maxlevel`, `faction`, `speed_walk`, `speed_run`, `detection_range`,`scale`,`rank`,`dmgschool`,`DamageModifier`,`BaseAttackTime`,`RangeAttackTime`,`BaseVariance`,`RangeVariance`,`unit_class`,`unit_flags`,`unit_flags2`,`family`,`type`,`type_flags`,`lootid`,`skinloot`,`PetSpellDataId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`HoverHeight`,`HealthModifier`,`ManaModifier`,`ArmorModifier`,`ExperienceModifier`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`spell_school_immune_mask`,`flags_extra`,`ScriptName`) VALUES INSERT INTO `creature_template` (`entry`, `name`, `subname`, `minlevel`, `maxlevel`, `faction`, `speed_walk`, `speed_run`, `detection_range`,`scale`,`rank`,`dmgschool`,`DamageModifier`,`BaseAttackTime`,`RangeAttackTime`,`BaseVariance`,`RangeVariance`,`unit_class`,`unit_flags`,`unit_flags2`,`family`,`type`,`type_flags`,`lootid`,`skinloot`,`PetSpellDataId`,`mingold`,`maxgold`,`AIName`,`MovementType`,`HoverHeight`,`HealthModifier`,`ManaModifier`,`ArmorModifier`,`ExperienceModifier`,`movementId`,`RegenHealth`,`mechanic_immune_mask`,`spell_school_immune_mask`,`flags_extra`,`ScriptName`) VALUES
(351000, "Thaddius", "", 63, 63, 21, 1.0, 1.42857, 20.0, 1.0, 3, 0, 50.0, 2000, 3700, 1.0, 1.0, 1, 0, 2048, 0, 6, 76, 351000, 0, 0, 1513636, 1850000, '', 0, 1.0, 2000.0, 2.0, 1.5, 1.0, 0, 1, 2093694843, 0, 3221225473, 'boss_thaddius_40'), (351000, "Thaddius", "", 63, 63, 21, 1.0, 1.42857, 20.0, 1.0, 3, 0, 50.0, 2000, 3700, 1.0, 1.0, 1, 0, 2048, 0, 6, 76, 351000, 0, 0, 1513636, 1850000, '', 0, 1.0, 2000.0, 2.0, 1.5, 1.0, 0, 1, 2093694843, 0, 3221225473, 'boss_thaddius_40'),
(351001, "Stalagg", "", 63, 63, 21, 0.8, 1.14286, 20.0, 1.0, 3, 0, 54.85, 2500, 3700, 1.0, 1.0, 1, 64, 2048, 0, 6, 76, 0, 0, 0, 0, 0, '', 0, 1.0, 150.0, 2.0, 1.3, 1.0, 0, 1, 2093694843, 0, 1073741825, 'boss_thaddius_summon_40'), (351001, "Stalagg", "", 63, 63, 21, 0.8, 1.14286, 20.0, 1.0, 3, 0, 54.85, 2500, 3700, 1.0, 1.0, 1, 64, 2048, 0, 6, 76, 0, 0, 0, 0, 0, '', 0, 1.0, 150.0, 2.0, 1.3, 1.0, 0, 1, 2093694843, 0, 1073741825, 'boss_thaddius_summon_40'),
(351002, "Feugen", "", 63, 63, 21, 0.8, 1.14286, 20.0, 1.0, 3, 0, 56.25, 2500, 3700, 1.0, 1.0, 1, 64, 2048, 0, 6, 76, 0, 0, 0, 0, 0, '', 0, 1.0, 150.0, 2.0, 1.3, 1.0, 0, 1, 2093694843, 0, 1073741825, 'boss_thaddius_summon_40'), (351002, "Feugen", "", 63, 63, 21, 0.8, 1.14286, 20.0, 1.0, 3, 0, 56.25, 2500, 3700, 1.0, 1.0, 1, 64, 2048, 0, 6, 76, 0, 0, 0, 0, 0, '', 0, 1.0, 150.0, 2.0, 1.3, 1.0, 0, 1, 2093694843, 0, 1073741825, 'boss_thaddius_summon_40'),
@@ -50,7 +51,7 @@ REPLACE INTO `creature_template` (`entry`, `name`, `subname`, `minlevel`, `maxle
(351044, "Unrelenting Deathknight", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 24.0, 2000, 2000, 1.0, 1.0, 1, 32832, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 6.5, 1.0, 1.15, 1.0, 144, 1, 1006764050, 0, 65536, 'npc_boss_gothik_minion_40'), (351044, "Unrelenting Deathknight", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 24.0, 2000, 2000, 1.0, 1.0, 1, 32832, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 6.5, 1.0, 1.15, 1.0, 144, 1, 1006764050, 0, 65536, 'npc_boss_gothik_minion_40'),
(351045, "Unrelenting Rider", "", 62, 62, 21, 1.0, 1.71429, 20.0, 1.0, 1, 0, 22.05, 2000, 2000, 1.0, 1.0, 2, 32832, 2048, 0, 6, 2120, 0, 0, 0, 0, 0, '', 0, 1.0, 10.0, 5.0, 1.25, 1.0, 164, 1, 1023033343, 0, 65536, 'npc_boss_gothik_minion_40'), (351045, "Unrelenting Rider", "", 62, 62, 21, 1.0, 1.71429, 20.0, 1.0, 1, 0, 22.05, 2000, 2000, 1.0, 1.0, 2, 32832, 2048, 0, 6, 2120, 0, 0, 0, 0, 0, '', 0, 1.0, 10.0, 5.0, 1.25, 1.0, 164, 1, 1023033343, 0, 65536, 'npc_boss_gothik_minion_40'),
(351046, "Spectral Trainee", "", 61, 61, 21, 1.11111, 1.42857, 20.0, 1.0, 1, 0, 6.0, 2000, 1265, 1.0, 1.0, 2, 32768, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 2.0, 3.0, 1.15, 1.0, 144, 1, 1006632960, 124, 65536, 'npc_boss_gothik_minion_40'), (351046, "Spectral Trainee", "", 61, 61, 21, 1.11111, 1.42857, 20.0, 1.0, 1, 0, 6.0, 2000, 1265, 1.0, 1.0, 2, 32768, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 2.0, 3.0, 1.15, 1.0, 144, 1, 1006632960, 124, 65536, 'npc_boss_gothik_minion_40'),
(351047, "Naxxramas Military Sub-Boss Trigger", "", 60, 60, 114, 1.0, 1.14286, 18.0, 1.0, 0, 0, 4.2, 2000, 2000, 1.0, 1.0, 1, 33554432, 2048, 0, 10, 0, 0, 0, 0, 0, 0, '', 0, 1.0, 1.35, 1.0, 2.8, 1.0, 0, 1, 0, 0, 130, ''), (351047, "Naxxramas Military Sub-Boss Trigger", "", 60, 60, 114, 1.0, 1.14286, 18.0, 1.0, 0, 0, 4.2, 2000, 2000, 1.0, 1.0, 1, 33554432, 2048, 0, 10, 0, 0, 0, 0, 0, 0, '', 0, 1.0, 1.35, 1.0, 2.8, 1.0, 0, 1, 0, 0, 130, 'npc_gothik_trigger_40'),
(351048, "Deathknight Captain", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 31.5, 3500, 1265, 1.0, 1.0, 1, 64, 2048, 0, 6, 72, 351048, 0, 0, 4138, 9644, 'SmartAI', 0, 1.0, 30.0, 2.0, 1.15, 1.0, 148, 1, 1019952727, 0, 0, ''), (351048, "Deathknight Captain", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 31.5, 3500, 1265, 1.0, 1.0, 1, 64, 2048, 0, 6, 72, 351048, 0, 0, 4138, 9644, 'SmartAI', 0, 1.0, 30.0, 2.0, 1.15, 1.0, 148, 1, 1019952727, 0, 0, ''),
(351049, "Deathknight", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 22.6, 1700, 1265, 1.0, 1.0, 1, 64, 2048, 0, 6, 72, 0, 0, 0, 3373, 4410, 'SmartAI', 0, 1.0, 24.0, 2.0, 1.45, 1.0, 148, 1, 1019952723, 0, 0, ''), (351049, "Deathknight", "", 61, 61, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 22.6, 1700, 1265, 1.0, 1.0, 1, 64, 2048, 0, 6, 72, 0, 0, 0, 3373, 4410, 'SmartAI', 0, 1.0, 24.0, 2.0, 1.45, 1.0, 148, 1, 1019952723, 0, 0, ''),
(351050, "Spectral Deathknight", "", 62, 62, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 24.0, 2000, 2000, 1.0, 1.0, 1, 32832, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 5.0, 1.5, 1.2, 1.0, 144, 1, 1006764032, 124, 65536, 'npc_boss_gothik_minion_40'), (351050, "Spectral Deathknight", "", 62, 62, 21, 1.0, 1.42857, 20.0, 1.0, 1, 0, 24.0, 2000, 2000, 1.0, 1.0, 1, 32832, 2048, 0, 6, 72, 0, 0, 0, 0, 0, '', 0, 1.0, 5.0, 1.5, 1.2, 1.0, 144, 1, 1006764032, 124, 65536, 'npc_boss_gothik_minion_40'),
@@ -94,7 +95,13 @@ REPLACE INTO `creature_template` (`entry`, `name`, `subname`, `minlevel`, `maxle
(351088, "Maexxna Spiderling", "", 60, 60, 16, 1.0, 2.14286, 18.0, 1.0, 0, 0, 1.85, 500, 2000, 1.0, 1.0, 1, 0, 2048, 0, 1, 72, 0, 0, 0, 0, 0, 'SmartAI', 0, 1.0, 1.25, 1.0, 1.1, 1.0, 188, 1, 1022042641, 0, 0, ''), (351088, "Maexxna Spiderling", "", 60, 60, 16, 1.0, 2.14286, 18.0, 1.0, 0, 0, 1.85, 500, 2000, 1.0, 1.0, 1, 0, 2048, 0, 1, 72, 0, 0, 0, 0, 0, 'SmartAI', 0, 1.0, 1.25, 1.0, 1.1, 1.0, 188, 1, 1022042641, 0, 0, ''),
(351089, "Grobbulus Cloud", "", 63, 63, 21, 0.004, 0.001429, 18.0, 1.0, 0, 0, 0.05, 2000, 2000, 1.0, 1.0, 1, 33554432, 2048, 0, 10, 0, 0, 0, 0, 0, 0, '', 0, 1.0, 1.35, 1.0, 1.0, 1.0, 60, 1, 0, 0, 0, 'boss_grobbulus_poison_cloud_40'); (351089, "Grobbulus Cloud", "", 63, 63, 21, 0.004, 0.001429, 18.0, 1.0, 0, 0, 0.05, 2000, 2000, 1.0, 1.0, 1, 33554432, 2048, 0, 10, 0, 0, 0, 0, 0, 0, '', 0, 1.0, 1.35, 1.0, 1.0, 1.0, 60, 1, 0, 0, 0, 'boss_grobbulus_poison_cloud_40');
REPLACE INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES DELETE FROM `creature_loot_template` WHERE `entry` IN
(351000, 351003, 351004, 351005, 351006, 351007, 351008, 351009, 351010, 351011,
351012, 351014, 351015, 351016, 351017, 351018, 351019, 351020, 351021, 351022,
351023, 351024, 351025, 351027, 351028, 351029, 351035, 351036, 351041, 351048,
351053, 351054, 351055, 351056, 351057, 351058, 351059, 351060, 351061, 351062,
351063, 351064, 351065, 351070, 351077, 351078);
INSERT INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(351000, 22726, 0, 30.0, 0, 0, 1, 1), (351000, 22726, 0, 30.0, 0, 0, 1, 1),
(351000, 304500, 304500, 100.0, 0, 0, 1, 1), (351000, 304500, 304500, 100.0, 0, 0, 1, 1),
(351000, 304510, 304510, 100.0, 0, 0, 1, 1), (351000, 304510, 304510, 100.0, 0, 0, 1, 1),
@@ -1144,7 +1151,12 @@ REPLACE INTO `creature_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `
(351078, 300810, 300810, 1.0, 0, 0, 1, 1), (351078, 300810, 300810, 1.0, 0, 0, 1, 1),
(351078, 301070, 301070, 1.0, 0, 2, 1, 1); (351078, 301070, 301070, 1.0, 0, 2, 1, 1);
REPLACE INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES DELETE FROM `reference_loot_template` WHERE `entry` IN
(304640, 304770, 304520, 300810, 304650, 304780, 301070, 304530, 304660, 304790,
304540, 304670, 240160, 304800, 304550, 304680, 304560, 304690, 304570, 304700,
300610, 304580, 304710, 304590, 304720, 304600, 304730, 304610, 304740, 304620,
304750, 240240, 304370, 304500, 304630, 304760, 304510);
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(240160, 8283, 0, 0.0, 0, 1, 1, 1), (240160, 8283, 0, 0.0, 0, 1, 1, 1),
(240160, 8289, 0, 0.0, 0, 1, 1, 1), (240160, 8289, 0, 0.0, 0, 1, 1, 1),
(240160, 8290, 0, 0.0, 0, 1, 1, 1), (240160, 8290, 0, 0.0, 0, 1, 1, 1),
@@ -4586,8 +4598,14 @@ INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Lan
(351037, 1, 1, "Conserve your anger. Harness your rage. You will all have outlets for your frustrations soon enough.", 14, 0, 100, 0, 0, 8843, 13059, 3, 'mograine SAY_MOG_TAUNT2 (Naxx 40)'), (351037, 1, 1, "Conserve your anger. Harness your rage. You will all have outlets for your frustrations soon enough.", 14, 0, 100, 0, 0, 8843, 13059, 3, 'mograine SAY_MOG_TAUNT2 (Naxx 40)'),
(351037, 4, 0, "I... am... released... perhaps it's not too late to- No! I need... more... time...", 14, 0, 100, 0, 0, 8838, 13054, 0, 'mograine SAY_MOG_DEATH (Naxx 40)'); (351037, 4, 0, "I... am... released... perhaps it's not too late to- No! I need... more... time...", 14, 0, 100, 0, 0, 8838, 13054, 0, 'mograine SAY_MOG_DEATH (Naxx 40)');
-- restore: UPDATE `creature_equip_template` SET `ItemID1` = 13623 WHERE (`CreatureID` = 16861);
UPDATE `creature_equip_template` SET `ItemID1` = 22738 WHERE (`CreatureID` = 16861);
DELETE FROM `creature_equip_template` WHERE `CreatureID` BETWEEN 351000 and 351089; DELETE FROM `creature_equip_template` WHERE `CreatureID` BETWEEN 351000 and 351089;
REPLACE INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES INSERT INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`, `ItemID3`) VALUES
-- (16157, 1, 2558, 0, 0), -- already exists
-- (16158, 1, 1903, 5532, 0), -- already exists
-- (16451, 1, 2181, 0, 0), -- already exists
-- (16452, 1, 5305, 0, 0), -- already exists
(351005, 1, 13061, 0, 0), (351005, 1, 13061, 0, 0),
(351007, 1, 23743, 0, 0), (351007, 1, 23743, 0, 0),
(351036, 1, 23328, 0, 0), (351036, 1, 23328, 0, 0),
@@ -4603,8 +4621,6 @@ REPLACE INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`
(351052, 1, 2181, 0, 0), (351052, 1, 2181, 0, 0),
(351053, 1, 3367, 0, 0), (351053, 1, 3367, 0, 0),
(351054, 1, 12801, 0, 0), (351054, 1, 12801, 0, 0),
(16157, 1, 2558, 0, 0),
(16158, 1, 1903, 5532, 0),
(351055, 1, 23328, 0, 0), (351055, 1, 23328, 0, 0),
(351057, 1, 24418, 0, 0), (351057, 1, 24418, 0, 0),
(351060, 1, 10756, 0, 0), (351060, 1, 10756, 0, 0),
@@ -4612,11 +4628,8 @@ REPLACE INTO `creature_equip_template` (`CreatureID`, `ID`, `ItemID1`, `ItemID2`
(351062, 1, 12959, 0, 0), (351062, 1, 12959, 0, 0),
(351063, 1, 13222, 13222, 0), (351063, 1, 13222, 13222, 0),
(351070, 1, 10617, 0, 0), (351070, 1, 10617, 0, 0),
(16451, 1, 2181, 0, 0),
(16452, 1, 5305, 0, 0),
(351080, 1, 5495, 0, 0), (351080, 1, 5495, 0, 0),
(351084, 1, 2180, 23356, 0), (351084, 1, 2180, 23356, 0),
(16861, 1, 22738, 0, 0),
(351085, 1, 5305, 0, 0), (351085, 1, 5305, 0, 0),
(351086, 1, 4991, 0, 0), (351086, 1, 4991, 0, 0),
(351087, 1, 12285, 0, 0); (351087, 1, 12285, 0, 0);
@@ -4831,554 +4844,127 @@ INSERT INTO `creature_template_model` (`CreatureID`, `Idx`, `CreatureDisplayID`,
(351097, 0, 17035, 1.0, 1.0, 0), (351097, 0, 17035, 1.0, 1.0, 0),
(351097, 1, 11686, 1.0, 1.0, 0); (351097, 1, 11686, 1.0, 1.0, 0);
/* Deathknight */ DELETE FROM `creature_template_resistance` WHERE `CreatureID` IN
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351049, 2); (16157, 16158, 16448, 16449, 16451, 16452, 16453, 16861, 351000, 351001,
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351049, 3); 351002, 351003, 351004, 351005, 351006, 351007, 351008, 351009, 351010, 351011,
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351049, 4); 351012, 351013, 351014, 351015, 351016, 351017, 351018, 351019, 351020, 351021,
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351049, 5); 351022, 351023, 351024, 351027, 351028, 351029, 351030, 351035, 351036, 351037,
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351049, 6); 351038, 351039, 351040, 351041, 351044, 351045, 351048, 351049, 351050, 351051,
351052, 351053, 351054, 351055, 351056, 351057, 351058, 351059, 351060, 351061,
/* Spectral Horse */ 351062, 351063, 351064, 351065, 351068, 351070, 351077, 351078, 351080, 351082,
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351051, 2); 351085, 351086, 351087);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351051, 3); INSERT INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351051, 4); (5, 351049, 2), (5, 351049, 3), (5, 351049, 4), (5, 351049, 5), (5, 351049, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351051, 5); (15, 351051, 2), (15, 351051, 3), (15, 351051, 4), (15, 351051, 5), (15, 351051, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351051, 6); (5, 351053, 2), (5, 351053, 3), (5, 351053, 4), (5, 351053, 5), (5, 351053, 6),
(5, 351054, 2), (5, 351054, 3), (5, 351054, 4), (5, 351054, 5), (5, 351054, 6),
/* Risen Deathknight */ (5, 16158, 2), (5, 16158, 3), (5, 16158, 4), (5, 16158, 5), (5, 16158, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351053, 2); (5, 351055, 2), (5, 351055, 3), (5, 351055, 4), (5, 351055, 5), (5, 351055, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351053, 3); (5, 351010, 2), (5, 351010, 3), (5, 351010, 4), (5, 351010, 5), (5, 351010, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351053, 4); (5, 351057, 2), (5, 351057, 3), (5, 351057, 4), (5, 351057, 5), (5, 351057, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351053, 5); (5, 351058, 2), (5, 351058, 3), (5, 351058, 4), (5, 351058, 5), (5, 351058, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351053, 6); (5, 351059, 2), (5, 351059, 3), (5, 351059, 4), (5, 351059, 5), (5, 351059, 6),
(5, 351060, 2), (5, 351060, 3), (5, 351060, 4), (5, 351060, 5), (5, 351060, 6),
/* Dark Touched Warrior */ (5, 351061, 2), (5, 351061, 3), (5, 351061, 4), (5, 351061, 5), (5, 351061, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351054, 2); (5, 351062, 2), (5, 351062, 3), (5, 351062, 4), (5, 351062, 5), (5, 351062, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351054, 3); (5, 351063, 2), (5, 351063, 3), (5, 351063, 4), (5, 351063, 5), (5, 351063, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351054, 4); (5, 351064, 2), (5, 351064, 3), (5, 351064, 4), (5, 351064, 5), (5, 351064, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351054, 5); (5, 351065, 2), (5, 351065, 3), (5, 351065, 4), (5, 351065, 5), (5, 351065, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351054, 6); (5, 351068, 2), (5, 351068, 3), (5, 351068, 4), (5, 351068, 5), (5, 351068, 6),
(5, 351077, 2), (5, 351077, 3), (5, 351077, 4), (5, 351077, 5), (5, 351077, 6),
/* Death Touched Warrior */ (5, 351078, 2), (5, 351078, 3), (5, 351078, 4), (5, 351078, 5), (5, 351078, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16158, 2); (5, 16448, 2), (5, 16448, 3), (5, 16448, 4), (5, 16448, 5), (5, 16448, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16158, 3); (5, 16453, 2), (5, 16453, 3), (5, 16453, 4), (5, 16453, 5), (5, 16453, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16158, 4); (5, 351080, 2), (5, 351080, 3), (5, 351080, 4), (5, 351080, 5), (5, 351080, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16158, 5); (5, 351082, 2), (5, 351082, 3), (5, 351082, 4), (5, 351082, 5), (5, 351082, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16158, 6); (15, 351009, 2), (15, 351009, 3), (15, 351009, 4), (15, 351009, 5), (15, 351009, 6),
(5, 351022, 2), (5, 351022, 3), (5, 351022, 4), (5, 351022, 5), (5, 351022, 6),
/* Deathknight Cavalier */ (5, 351011, 2), (5, 351011, 3), (5, 351011, 4), (5, 351011, 5), (5, 351011, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351055, 2); (5, 351014, 2), (5, 351014, 3), (5, 351014, 4), (5, 351014, 5), (5, 351014, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351055, 3); (15, 351002, 2), (15, 351002, 3), (15, 351002, 4), (15, 351002, 5), (15, 351002, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351055, 4); (15, 351004, 2), (15, 351004, 3), (15, 351004, 4), (15, 351004, 5), (15, 351004, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351055, 5); (15, 351035, 2), (15, 351035, 3), (15, 351035, 4), (15, 351035, 5), (15, 351035, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351055, 6); (15, 351007, 2), (15, 351007, 3), (15, 351007, 4), (15, 351007, 5), (15, 351007, 6),
(15, 351003, 2), (15, 351003, 3), (15, 351003, 4), (15, 351003, 5), (15, 351003, 6),
/* Dread Creeper */ (15, 351005, 2), (15, 351005, 3), (15, 351005, 4), (15, 351005, 5), (15, 351005, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351010, 2); (15, 351037, 2), (15, 351037, 3), (15, 351037, 4), (15, 351037, 5), (15, 351037, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351010, 3); (5, 351013, 2), (5, 351013, 3), (5, 351013, 4), (5, 351013, 5), (5, 351013, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351010, 4); (15, 351019, 2), (15, 351019, 3), (200, 351019, 4), (100, 351019, 5), (15, 351019, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351010, 5); (15, 351040, 2), (15, 351040, 3), (15, 351040, 4), (15, 351040, 5), (15, 351040, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351010, 6); (10, 351024, 2), (10, 351024, 3), (10, 351024, 4), (10, 351024, 5), (10, 351024, 6),
(15, 351020, 2), (15, 351020, 3), (15, 351020, 4), (15, 351020, 5), (15, 351020, 6),
/* Necro Knight */ (5, 351023, 2), (5, 351023, 3), (5, 351023, 4), (5, 351023, 5), (5, 351023, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351057, 2); (15, 351006, 2), (15, 351006, 3), (15, 351006, 4), (15, 351006, 5), (15, 351006, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351057, 3); (5, 351016, 2), (5, 351016, 3), (5, 351016, 4), (5, 351016, 5), (5, 351016, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351057, 4); (5, 351017, 2), (5, 351017, 3), (5, 351017, 4), (5, 351017, 5), (5, 351017, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351057, 5); (15, 351008, 2), (15, 351008, 3), (15, 351008, 4), (15, 351008, 5), (15, 351008, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351057, 6); (15, 351028, 2), (15, 351028, 3), (15, 351028, 4), (15, 351028, 5), (15, 351028, 6),
(5, 351021, 2), (5, 351021, 3), (5, 351021, 4), (5, 351021, 5), (5, 351021, 6),
/* Bony Construct */ (5, 351030, 2), (5, 351030, 3), (5, 351030, 4), (5, 351030, 5), (5, 351030, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351058, 2); (15, 351018, 2), (15, 351018, 3), (15, 351018, 4), (15, 351018, 5), (15, 351018, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351058, 3); (5, 351056, 2), (5, 351056, 3), (5, 351056, 4), (5, 351056, 5), (5, 351056, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351058, 4); (15, 351038, 2), (15, 351038, 3), (15, 351038, 4), (15, 351038, 5), (15, 351038, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351058, 5); (5, 351041, 2), (5, 351041, 3), (5, 351041, 4), (5, 351041, 5), (5, 351041, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351058, 6); (10, 351029, 2), (10, 351029, 3), (10, 351029, 4), (10, 351029, 5), (10, 351029, 6),
(15, 351001, 2), (15, 351001, 3), (15, 351001, 4), (15, 351001, 5), (15, 351001, 6),
/* Stoneskin Gargoyle */ (15, 351027, 2), (15, 351027, 3), (15, 351027, 4), (15, 351027, 5), (15, 351027, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351059, 2); (15, 351000, 2), (15, 351000, 3), (15, 351000, 4), (15, 351000, 5), (15, 351000, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351059, 3); (15, 351039, 2), (15, 351039, 3), (15, 351039, 4), (15, 351039, 5), (15, 351039, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351059, 4); (5, 351012, 2), (5, 351012, 3), (5, 351012, 4), (5, 351012, 5), (5, 351012, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351059, 5); (5, 351048, 2), (5, 351048, 3), (5, 351048, 4), (5, 351048, 5), (5, 351048, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351059, 6); (15, 351036, 2), (15, 351036, 3), (15, 351036, 4), (15, 351036, 5), (15, 351036, 6),
(5, 351044, 2), (5, 351044, 3), (5, 351044, 4), (5, 351044, 5), (5, 351044, 6),
/* Skeletal Smith */ (10, 351045, 2), (10, 351045, 3), (10, 351045, 4), (10, 351045, 5), (10, 351045, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351060, 2); (10, 351050, 2), (10, 351050, 3), (10, 351050, 4), (10, 351050, 5), (10, 351050, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351060, 3); (15, 351052, 2), (15, 351052, 3), (15, 351052, 4), (15, 351052, 5), (15, 351052, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351060, 4); (5, 351085, 2), (5, 351085, 3), (5, 351085, 4), (5, 351085, 5), (5, 351085, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351060, 5); (5, 351086, 2), (5, 351086, 3), (5, 351086, 4), (5, 351086, 5), (5, 351086, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351060, 6); (5, 351087, 2), (5, 351087, 3), (5, 351087, 4), (5, 351087, 5), (5, 351087, 6),
(5, 16861, 2), (5, 16861, 3), (5, 16861, 4), (5, 16861, 5), (5, 16861, 6),
/* Unholy Axe */ (10, 16452, 2), (10, 16452, 3), (10, 16452, 4), (10, 16452, 5), (10, 16452, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351061, 2); (10, 16451, 2), (10, 16451, 3), (10, 16451, 4), (10, 16451, 5), (10, 16451, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351061, 3); (5, 16449, 2), (5, 16449, 3), (5, 16449, 4), (5, 16449, 5), (5, 16449, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351061, 4); (10, 351070, 2), (10, 351070, 3), (10, 351070, 4), (10, 351070, 5), (10, 351070, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351061, 5); (5, 16157, 2), (5, 16157, 3), (5, 16157, 4), (5, 16157, 5), (5, 16157, 6),
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351061, 6); (5, 351015, 2), (5, 351015, 3), (5, 351015, 4), (5, 351015, 5), (5, 351015, 6);
/* Unholy Staff */ -- Doom Touched Warrior
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351062, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351062, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351062, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351062, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351062, 6);
/* Unholy Swords */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351063, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351063, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351063, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351063, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351063, 6);
/* Plague Slime */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351064, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351064, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351064, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351064, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351064, 6);
/* Infectious Ghoul */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351065, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351065, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351065, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351065, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351065, 6);
/* Mutated Grub */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351068, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351068, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351068, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351068, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351068, 6);
/* Plagued Gargoyle */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351077, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351077, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351077, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351077, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351077, 6);
/* Plagued Ghoul */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351078, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351078, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351078, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351078, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351078, 6);
/* Plagued Deathhound */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16448, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16448, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16448, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16448, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16448, 6);
/* Necro Stalker */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16453, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16453, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16453, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16453, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16453, 6);
/* Naxxramas Follower */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351080, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351080, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351080, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351080, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351080, 6);
/* Crypt Guard */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351082, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351082, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351082, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351082, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351082, 6);
/* Anub'Rekhan */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351009, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351009, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351009, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351009, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351009, 6);
/* Bile Retcher */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351022, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351022, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351022, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351022, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351022, 6);
/* Carrion Spinner */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351011, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351011, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351011, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351011, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351011, 6);
/* Crypt Reaver */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351014, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351014, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351014, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351014, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351014, 6);
/* Feugen */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351002, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351002, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351002, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351002, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351002, 6);
/* Gluth */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351004, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351004, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351004, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351004, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351004, 6);
/* Gothik the Harvester */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351035, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351035, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351035, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351035, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351035, 6);
/* Grand Widow Faerlina */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351007, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351007, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351007, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351007, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351007, 6);
/* Grobbulus */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351003, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351003, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351003, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351003, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351003, 6);
/* Heigan the Unclean */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351005, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351005, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351005, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351005, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351005, 6);
/* Highlord Mograine */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351037, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351037, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351037, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351037, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351037, 6);
/* Infectious Skitterer */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351013, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351013, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351013, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351013, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351013, 6);
/* Kel'Thuzad */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351019, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351019, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (200, 351019, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (100, 351019, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351019, 6);
/* Lady Blaumeux */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351040, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351040, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351040, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351040, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351040, 6);
/* Living Monstrosity */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351024, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351024, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351024, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351024, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351024, 6);
/* Loatheb */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351020, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351020, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351020, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351020, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351020, 6);
/* Mad Scientist */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351023, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351023, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351023, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351023, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351023, 6);
/* Maexxna */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351006, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351006, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351006, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351006, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351006, 6);
/* Naxxramas Cultist */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351016, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351016, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351016, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351016, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351016, 6);
/* Naxxramas Acolyte */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351017, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351017, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351017, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351017, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351017, 6);
/* Noth the Plaguebringer */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351008, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351008, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351008, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351008, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351008, 6);
/* Patchwerk */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351028, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351028, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351028, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351028, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351028, 6);
/* Patchwork Golem */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351021, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351021, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351021, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351021, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351021, 6);
/* Plague Beast */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351030, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351030, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351030, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351030, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351030, 6);
/* Sapphiron */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351018, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351018, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351018, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351018, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351018, 6);
/* Shade of Naxxramas */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351056, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351056, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351056, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351056, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351056, 6);
/* Sir Zeliek */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351038, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351038, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351038, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351038, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351038, 6);
/* Skeletal Steed */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351041, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351041, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351041, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351041, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351041, 6);
/* Sludge Belcher */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351029, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351029, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351029, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351029, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351029, 6);
/* Stalagg */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351001, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351001, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351001, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351001, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351001, 6);
/* Stitched Spewer */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351027, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351027, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351027, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351027, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351027, 6);
/* Thaddius */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351000, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351000, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351000, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351000, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351000, 6);
/* Thane Korth'azz */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351039, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351039, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351039, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351039, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351039, 6);
/* Venom Stalker */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351012, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351012, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351012, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351012, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351012, 6);
/* Deathknight Captain */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351048, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351048, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351048, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351048, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351048, 6);
/* Instructor Razuvious */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351036, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351036, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351036, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351036, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351036, 6);
/* Unrelenting Deathknight */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351044, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351044, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351044, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351044, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351044, 6);
/* Unrelenting Rider */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351045, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351045, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351045, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351045, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351045, 6);
/* Spectral Deathknight */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351050, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351050, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351050, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351050, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351050, 6);
/* Spectral Rider */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351052, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351052, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351052, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351052, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (15, 351052, 6);
/* Plagued Guardian */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351085, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351085, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351085, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351085, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351085, 6);
/* Plagued Champion */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351086, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351086, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351086, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351086, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351086, 6);
/* Plagued Warrior */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351087, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351087, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351087, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351087, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351087, 6);
/* Death Lord */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16861, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16861, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16861, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16861, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16861, 6);
/* Necro Knight Guardian */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16452, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16452, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16452, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16452, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16452, 6);
/* Deathknight Vindicator */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16451, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16451, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16451, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16451, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 16451, 6);
/* Spirit of Naxxramas */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16449, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16449, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16449, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16449, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16449, 6);
/* Necropolis Acolyte */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351070, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351070, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351070, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351070, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (10, 351070, 6);
/* Doom Touched Warrior */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16157, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16157, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16157, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16157, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 16157, 6);
/* Tomb Horror */
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351015, 2);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351015, 3);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351015, 4);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351015, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351015, 6);
/* Doom Touched Warrior */
UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 17.1, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265 WHERE `entry`=16157; UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 17.1, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265 WHERE `entry`=16157;
/* Death Touched Warrior */ -- Death Touched Warrior
UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 25.0, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265 WHERE `entry`=16158; UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 25.0, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265 WHERE `entry`=16158;
/* Naxxramas Combat Dummy */ -- Naxxramas Combat Dummy
UPDATE `creature_template` SET `speed_run` = 1.0, `DamageModifier` = 1.3 WHERE `entry`=16211; UPDATE `creature_template` SET `speed_run` = 1.0, `DamageModifier` = 1.3 WHERE `entry`=16211;
/* Master Craftsman Omarion */ -- Master Craftsman Omarion
UPDATE `creature_template` SET `speed_walk` = 1.0, `DamageModifier` = 23.0, `ArmorModifier` = 1.1, `RangeAttackTime` = 1265 WHERE `entry`=16365; UPDATE `creature_template` SET `speed_walk` = 1.0, `DamageModifier` = 23.0, `ArmorModifier` = 1.1, `RangeAttackTime` = 1265 WHERE `entry`=16365;
/* Archmage Tarsis Kir-Moldir */ -- Archmage Tarsis Kir-Moldir
UPDATE `creature_template` SET `speed_walk` = 1.0, `DamageModifier` = 24.75, `ArmorModifier` = 1.35, `RangeAttackTime` = 1265, `unit_class` = 2 WHERE `entry`=16381; UPDATE `creature_template` SET `speed_walk` = 1.0, `DamageModifier` = 24.75, `ArmorModifier` = 1.35, `RangeAttackTime` = 1265, `unit_class` = 2 WHERE `entry`=16381;
/* Plagued Deathhound */ -- Plagued Deathhound
UPDATE `creature_template` SET `speed_walk` = 2.0, `speed_run` = 2.14286, `DamageModifier` = 22.6, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `mingold` = 1, `maxgold` = 138065 WHERE `entry`=16448; UPDATE `creature_template` SET `speed_walk` = 2.0, `speed_run` = 2.14286, `DamageModifier` = 22.6, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `mingold` = 1, `maxgold` = 138065 WHERE `entry`=16448;
/* Spirit of Naxxramas */ -- Spirit of Naxxramas
UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 37.35, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `mingold` = 1, `maxgold` = 10432 WHERE `entry`=16449; UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 37.35, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `mingold` = 1, `maxgold` = 10432 WHERE `entry`=16449;
/* [UNUSED] Death Knight Vindicator */ -- [UNUSED] Death Knight Vindicator
UPDATE `creature_template` SET `name` = 'Deathknight Vindicator', `speed_walk` = 1.0, `speed_run` = 1.71429, `DamageModifier` = 32.85, `ArmorModifier` = 1.25, `BaseAttackTime` = 2000, `RangeAttackTime` = 1200, `unit_class` = 2, `mingold` = 4220 WHERE `entry`=16451; UPDATE `creature_template` SET `name` = 'Deathknight Vindicator', `speed_walk` = 1.0, `speed_run` = 1.71429, `DamageModifier` = 32.85, `ArmorModifier` = 1.25, `BaseAttackTime` = 2000, `RangeAttackTime` = 1200, `unit_class` = 2, `mingold` = 4220 WHERE `entry`=16451;
/* Necro Knight Guardian */ -- Necro Knight Guardian
UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.71429, `DamageModifier` = 26.0, `ArmorModifier` = 1.25, `BaseAttackTime` = 2000, `RangeAttackTime` = 1450, `unit_class` = 8 WHERE `entry`=16452; UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.71429, `DamageModifier` = 26.0, `ArmorModifier` = 1.25, `BaseAttackTime` = 2000, `RangeAttackTime` = 1450, `unit_class` = 8 WHERE `entry`=16452;
/* Necro Stalker */ -- Necro Stalker
UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 27.35, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `lootid` = 351010 WHERE `entry`=16453; UPDATE `creature_template` SET `speed_walk` = 1.0, `speed_run` = 1.42857, `DamageModifier` = 27.35, `ArmorModifier` = 1.15, `RangeAttackTime` = 1265, `lootid` = 351010 WHERE `entry`=16453;
/* [UNUSED] Death Lord */ -- [UNUSED] Death Lord
UPDATE `creature_template` SET `name` = 'Death Lord', `speed_run` = 1.42857, `DamageModifier` = 35.85, `ArmorModifier` = 1.15, `unit_class` = 2 WHERE `entry`=16861; UPDATE `creature_template` SET `name` = 'Death Lord', `speed_run` = 1.42857, `DamageModifier` = 35.85, `ArmorModifier` = 1.15, `unit_class` = 2 WHERE `entry`=16861;
/* Mr. Bigglesworth */ -- Mr. Bigglesworth
UPDATE `creature_template` SET `speed_run` = 0.857143, `DamageModifier` = 400.0, `RangeAttackTime` = 1265 WHERE `entry`=16998; UPDATE `creature_template` SET `speed_run` = 0.857143, `DamageModifier` = 400.0, `RangeAttackTime` = 1265 WHERE `entry`=16998;
/* Eye Stalk */ -- Eye Stalk
DELETE FROM `creature_template` WHERE (`entry` = 351090); DELETE FROM `creature_template` WHERE (`entry` = 351090);
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(351090, 0, 0, 0, 0, 0, 'Eye Stalk', '', '', 0, 61, 61, 2, 16, 0, 1, 1, 1, 1, 20, 1, 1, 0, 7.5, 1000, 2000, 1, 1, 1, 4, 2048, 8, 0, 0, 0, 0, 0, 10, 72, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 1, 1, 1, 1, 1, 0, 0, 1, 1022042641, 0, 0, '', 12340); (351090, 0, 0, 0, 0, 0, 'Eye Stalk', '', '', 0, 61, 61, 2, 16, 0, 1, 1, 1, 1, 20, 1, 1, 0, 7.5, 1000, 2000, 1, 1, 1, 4, 2048, 8, 0, 0, 0, 0, 0, 10, 72, 0, 0, 0, 0, 0, 0, 0, 'SmartAI', 0, 1, 1, 1, 1, 1, 0, 0, 1, 1022042641, 0, 0, '', 12340);
@@ -5420,12 +5006,10 @@ DELETE FROM `smart_scripts` WHERE (`source_type` = 0 AND `entryorguid` = 351091)
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`, `event_param6`, `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 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`, `event_param6`, `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
(351091, 0, 0, 0, 0, 0, 100, 0, 1000, 3000, 4000, 4000, 0, 0, 218, 28297, 0, 1899, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cast Spell IC (Naxx 40)'); (351091, 0, 0, 0, 0, 0, 100, 0, 1000, 3000, 4000, 4000, 0, 0, 218, 28297, 0, 1899, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Cast Spell IC (Naxx 40)');
/* Lightning Totem */ -- Lightning Totem
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351091, 2); DELETE FROM `creature_template_resistance` WHERE `CreatureID` = 351091;
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351091, 3); INSERT INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351091, 4); (5, 351091, 2), (5, 351091, 3), (5, 351091, 4), (5, 351091, 5), (5, 351091, 6);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351091, 5);
REPLACE INTO `creature_template_resistance` (`Resistance`, `CreatureID`, `School`) VALUES (5, 351091, 6);
-- Toxic Slime Tunnel -- Toxic Slime Tunnel
DELETE FROM `creature_template_addon` WHERE (`entry` = 351072); DELETE FROM `creature_template_addon` WHERE (`entry` = 351072);
@@ -5816,6 +5400,66 @@ INSERT INTO `smart_scripts` (`entryorguid`, `source_type`, `id`, `link`, `event_
(351033, 0, 0, 0, 76, 0, 100, 0, 0, 181202, 54, 1500, 0, 0, 41, 200, 10, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Diseased Maggot - On Distance 54y To GameObject - Despawn In 200 ms'), (351033, 0, 0, 0, 76, 0, 100, 0, 0, 181202, 54, 1500, 0, 0, 41, 200, 10, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Diseased Maggot - On Distance 54y To GameObject - Despawn In 200 ms'),
(351034, 0, 0, 0, 76, 0, 100, 0, 0, 181202, 54, 1500, 0, 0, 41, 200, 10, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rotten Maggot - On Distance 54y To GameObject - Despawn In 200 ms'); (351034, 0, 0, 0, 76, 0, 100, 0, 0, 181202, 54, 1500, 0, 0, 41, 200, 10, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 'Rotten Maggot - On Distance 54y To GameObject - Despawn In 200 ms');
-- Naxx40 Strath Entrance teleport trigger
DELETE FROM `creature_template` WHERE `entry` = 351097;
INSERT INTO `creature_template` (`entry`, `difficulty_entry_1`, `difficulty_entry_2`, `difficulty_entry_3`, `KillCredit1`, `KillCredit2`, `name`, `subname`, `IconName`, `gossip_menu_id`, `minlevel`, `maxlevel`, `exp`, `faction`, `npcflag`, `speed_walk`, `speed_run`, `speed_swim`, `speed_flight`, `detection_range`, `scale`, `rank`, `dmgschool`, `DamageModifier`, `BaseAttackTime`, `RangeAttackTime`, `BaseVariance`, `RangeVariance`, `unit_class`, `unit_flags`, `unit_flags2`, `dynamicflags`, `family`, `trainer_type`, `trainer_spell`, `trainer_class`, `trainer_race`, `type`, `type_flags`, `lootid`, `pickpocketloot`, `skinloot`, `PetSpellDataId`, `VehicleId`, `mingold`, `maxgold`, `AIName`, `MovementType`, `HoverHeight`, `HealthModifier`, `ManaModifier`, `ArmorModifier`, `ExperienceModifier`, `RacialLeader`, `movementId`, `RegenHealth`, `mechanic_immune_mask`, `spell_school_immune_mask`, `flags_extra`, `ScriptName`, `VerifiedBuild`) VALUES
(351097, 0, 0, 0, 0, 0, 'Naxx40 Strath Entrance Trigger', '', NULL, 0, 70, 70, 1, 35, 0, 1, 1.14286, 1, 1, 20, 1, 0, 0, 1, 2000, 2000, 1, 1, 1, 33554432, 2048, 0, 0, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, '', 0, 1, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 'npc_naxx40_area_trigger', 0);
DELETE FROM `creature` WHERE `guid` = 352042;
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`) VALUES
(352042, 351097, 0, 0, 329, 0, 0, 1, 1, 0, 3929.06, -3372.12, 119.653, 4.71395, 300, 0, 0, 6986, 0, 0, 0, 0, 0, '', 0);
-- Razuvious RP
-- Razuvious
DELETE FROM `creature_text` WHERE `CreatureID` = 351036 AND `GroupID` IN (4, 5);
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(351036, 4, 0, 'Pathetic...', 12, 0, 100, 5, 0, 0, 27865, 0, 'Razuvious SAY_PATHETIC'),
(351036, 5, 0, 'Start doing something before I replace that target dummy with you and begin a warm up session of my own!', 12, 0, 100, 5, 0, 0, 13136, 0, 'Razuvious SAY_TARGET_DUMMY');
-- Death Knight Understudy
DELETE FROM `creature_text` WHERE `CreatureID` = 29941;
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
(29941, 0, 0, 'Sir, student requests that you beat him for his lack of understanding!', 12, 0, 100, 1, 0, 0, 13140, 0, 'Death Knight Understudy SAY_BEAT_ME'),
(29941, 0, 1, 'I am unworthy, master!', 12, 0, 100, 1, 0, 0, 13138, 0, 'Death Knight Understudy SAY_UNWORTHY'),
(29941, 0, 2, 'Student is worthless, master! Student apologizes for his deficiency!', 12, 0, 100, 1, 0, 0, 13137, 0, 'Death Knight Understudy SAY_WORTHLESS');
-- Gothik Visuals
-- re-do spawn locations for triggers
SET @CGUID:=351093;
DELETE FROM `creature` WHERE `id1`=351047 AND (`guid` BETWEEN @CGUID+0 AND @CGUID+14);
INSERT INTO `creature` (`guid`, `id1`, `id2`, `id3`, `map`, `zoneId`, `areaId`, `spawnMask`, `phaseMask`, `equipment_id`, `position_x`, `position_y`, `position_z`, `orientation`, `spawntimesecs`, `wander_distance`, `currentwaypoint`, `curhealth`, `curmana`, `MovementType`, `npcflag`, `unit_flags`, `dynamicflags`, `ScriptName`, `VerifiedBuild`, `CreateObject`, `Comment`) VALUES
(@CGUID+0, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2643.73095703125, -3399.680908203125, 284.18292236328125, 6.091198921203613281, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side soul trigger (south) - Naxx40'),
(@CGUID+1, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2739.994873046875, -3399.779296875, 284.294647216796875, 6.108652114868164062, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side soul trigger (north) - Naxx40'),
(@CGUID+2, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2643.73095703125, -3321.72705078125, 284.23272705078125, 6.195918560028076171, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side soul trigger (south) - Naxx40'),
(@CGUID+3, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2739.994873046875, -3321.72705078125, 284.23162841796875, 2.827433347702026367, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side soul trigger (north) - Naxx40'),
(@CGUID+4, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2692.16064453125, -3430.745849609375, 268.64617919921875, 1.605702877044677734, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (center back) - Naxx40'),
(@CGUID+5, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2714.561767578125, -3430.6103515625, 268.646240234375, 1.413716673851013183, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (north back) - Naxx40'),
(@CGUID+6, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2669.581298828125, -3428.858642578125, 268.64617919921875, 1.378810048103332519, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (south front) - Naxx40'),
(@CGUID+7, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2669.59033203125, -3431.460205078125, 268.64617919921875, 1.343903541564941406, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (south back) - Naxx40'),
(@CGUID+8, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2692.212646484375, -3428.78271484375, 268.64617919921875, 1.48352980613708496, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (center front) - Naxx40'),
(@CGUID+9, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2733.456787109375, -3349.387939453125, 267.7677001953125, 1.780235767364501953, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'living side spawn trigger (north front) - Naxx40'),
(@CGUID+10, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2714.4619140625, -3428.727783203125, 268.64617919921875, 1.65806281566619873, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side spawn trigger (northwest) - Naxx40'),
(@CGUID+11, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2725.818603515625, -3309.567626953125, 267.89178466796875, 2.827433347702026367, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side spawn trigger (northeast) - Naxx40'),
(@CGUID+12, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2700.268798828125, -3322.3544921875, 267.767791748046875, 3.525565147399902343, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side spawn trigger (center) - Naxx40'),
(@CGUID+13, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2683.885986328125, -3304.212890625, 267.76800537109375, 2.49582076072692871, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side spawn trigger (southwest) - Naxx40'),
(@CGUID+14, 351047, 0, 0, 533, 3456, 3456, 4, 1, 0, 2664.871826171875, -3340.7490234375, 267.767364501953125, 5.934119224548339843, 7200, 0, 0, 17010, 0, 0, 0, 0, 0, '', 46248, 0, 'spectral side spawn trigger (southeast) - Naxx40');
-- make visuals target proper triggers
-- to anchor 1: 27892 (Trainee), 27928 (DK), 27935 (Rider)
-- to anchor 2: 27893 (Trainee), 27929 (DK), 27936 (Rider)
-- anchor -> skull: 27915 (Trainee), 27931 (DK), 27937 (Rider)
DELETE FROM `conditions` WHERE `SourceTypeOrReferenceId`=13 AND `SourceEntry` IN (27892,27928,27935,27893,27929,27936,27915,27931,27937) AND (`ConditionValue3` BETWEEN @CGUID+0 AND @CGUID+3);
INSERT INTO `conditions` (`SourceTypeOrReferenceId`, `SourceGroup`, `SourceEntry`, `SourceId`, `ElseGroup`, `ConditionTypeOrReference`, `ConditionTarget`, `ConditionValue1`, `ConditionValue2`, `ConditionValue3`, `NegativeCondition`, `ErrorType`, `ErrorTextId`, `ScriptName`, `Comment`) VALUES
(13,1,27892,0,2,31,0,3,351047,@CGUID+0,0,0,0,'','To Anchor 1 - Target Anchor Living South - Naxx40'),
(13,1,27892,0,3,31,0,3,351047,@CGUID+1,0,0,0,'','To Anchor 1 - Target Anchor Living North - Naxx40'),
(13,1,27928,0,2,31,0,3,351047,@CGUID+0,0,0,0,'','To Anchor 1 - Target Anchor Living South - Naxx40'),
(13,1,27928,0,3,31,0,3,351047,@CGUID+1,0,0,0,'','To Anchor 1 - Target Anchor Living North - Naxx40'),
(13,1,27935,0,2,31,0,3,351047,@CGUID+0,0,0,0,'','To Anchor 1 - Target Anchor Living South - Naxx40'),
(13,1,27935,0,3,31,0,3,351047,@CGUID+1,0,0,0,'','To Anchor 1 - Target Anchor Living North - Naxx40'),
(13,1,27893,0,2,31,0,3,351047,@CGUID+2,0,0,0,'','To Anchor 2 - Target Anchor Spectral South - Naxx40'),
(13,1,27893,0,3,31,0,3,351047,@CGUID+3,0,0,0,'','To Anchor 2 - Target Anchor Spectral North - Naxx40'),
(13,1,27929,0,2,31,0,3,351047,@CGUID+2,0,0,0,'','To Anchor 2 - Target Anchor Spectral South - Naxx40'),
(13,1,27929,0,3,31,0,3,351047,@CGUID+3,0,0,0,'','To Anchor 2 - Target Anchor Spectral North - Naxx40'),
(13,1,27936,0,2,31,0,3,351047,@CGUID+2,0,0,0,'','To Anchor 2 - Target Anchor Spectral South - Naxx40'),
(13,1,27936,0,3,31,0,3,351047,@CGUID+3,0,0,0,'','To Anchor 2 - Target Anchor Spectral North - Naxx40');
-- Scaling -- Scaling
SET @DAMAGE_MULTIPLIER:= 0.69; SET @DAMAGE_MULTIPLIER:= 0.69;
SET @HEALTH_MULTIPLIER:= 1.00; SET @HEALTH_MULTIPLIER:= 1.00;

View File

@@ -172,23 +172,23 @@ INSERT INTO `pool_gameobject` (`guid`, `pool_entry`, `chance`, `description`) VA
(5330508, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)'); (5330508, 47870, 0.0, 'Naxxramas - Frozen Rune - Deathknight Wing, right (181287)');
DELETE FROM `gameobject` WHERE `guid` IN DELETE FROM `gameobject` WHERE `guid` IN
(5330450, 5330447, 5330446, 5330445, 5330444, 5330443, 5330442, 5330441, (5330450, 5330447, 5330446, 5330445, 5330444, 5330443, 5330442, 5330441,
5330440, 5330432, 5330431, 5330430, 5330429, 5330428, 5330427, 5330426, 5330425, 5330440, 5330432, 5330431, 5330430, 5330429, 5330428, 5330427, 5330426, 5330425,
5330424, 5330423, 5330422, 5330421, 5330420, 5330416, 5330415, 5330414, 5330413, 5330424, 5330423, 5330422, 5330421, 5330420, 5330416, 5330415, 5330414, 5330413,
5330412, 5330411, 5330410, 5330404, 5330403, 5330402, 5330401, 5330400, 5330396, 5330412, 5330411, 5330410, 5330404, 5330403, 5330402, 5330401, 5330400, 5330396,
5330395, 5330394, 5330393, 5330392, 5330391, 5330390, 5330385, 5330384, 5330383, 5330395, 5330394, 5330393, 5330392, 5330391, 5330390, 5330385, 5330384, 5330383,
5330382, 5330381, 5330380, 5330376, 5330375, 5330374, 5330373, 5330372, 5330371, 5330382, 5330381, 5330380, 5330376, 5330375, 5330374, 5330373, 5330372, 5330371,
5330370, 5330367, 5330366, 5330365, 5330364, 5330363, 5330362, 5330361, 5330360, 5330370, 5330367, 5330366, 5330365, 5330364, 5330363, 5330362, 5330361, 5330360,
5330355, 5330354, 5330353, 5330352, 5330351, 5330350, 5330346, 5330345, 5330453, 5330355, 5330354, 5330353, 5330352, 5330351, 5330350, 5330346, 5330345, 5330453,
5330452, 5330451, 5330344, 5330343, 5330342, 5330341, 5330340, 5330336, 5330335, 5330452, 5330451, 5330344, 5330343, 5330342, 5330341, 5330340, 5330336, 5330335,
5330334, 5330333, 5330332, 5330331, 5330330, 5330326, 5330325, 5330324, 5330323, 5330334, 5330333, 5330332, 5330331, 5330330, 5330326, 5330325, 5330324, 5330323,
5330322, 5330321, 5330320, 5330316, 5330315, 5330314, 5330313, 5330312, 5330311, 5330322, 5330321, 5330320, 5330316, 5330315, 5330314, 5330313, 5330312, 5330311,
5330310, 5330307, 5330306, 5330305, 5330304, 5330303, 5330302, 5330301, 5330300, 5330310, 5330307, 5330306, 5330305, 5330304, 5330303, 5330302, 5330301, 5330300,
5330454, 5330455, 5330456, 5330457, 5330460, 5330461, 5330462, 5330463, 5330464, 5330454, 5330455, 5330456, 5330457, 5330460, 5330461, 5330462, 5330463, 5330464,
5330465, 5330470, 5330471, 5330472, 5330473, 5330474, 5330475, 5330476, 5330477, 5330465, 5330470, 5330471, 5330472, 5330473, 5330474, 5330475, 5330476, 5330477,
5330480, 5330481, 5330482, 5330483, 5330484, 5330485, 5330486, 5330487, 5330490, 5330480, 5330481, 5330482, 5330483, 5330484, 5330485, 5330486, 5330487, 5330490,
5330491, 5330492, 5330493, 5330494, 5330495, 5330496, 5330500, 5330501, 5330502, 5330491, 5330492, 5330493, 5330494, 5330495, 5330496, 5330500, 5330501, 5330502,
5330503, 5330504, 5330505, 5330506, 5330507, 5330508); 5330503, 5330504, 5330505, 5330506, 5330507, 5330508);
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 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
(5330450, 181287, 533, 0, 0, 2, 1, 3430.49, -3195.66, 297.557, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0), (5330450, 181287, 533, 0, 0, 2, 1, 3430.49, -3195.66, 297.557, 4.72984, 0.0, 0.0, -0.700909, 0.713251, 604800, 100, 1, '', 0),

View File

@@ -8,11 +8,13 @@ UPDATE `gameobject` SET `spawnMask` = 3 WHERE `id` IN (202278, 202277);
DELETE FROM `gameobject_template` WHERE `entry`=361000; DELETE FROM `gameobject_template` WHERE `entry`=361000;
INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES INSERT INTO `gameobject_template` (`entry`, `type`, `displayId`, `name`, `IconName`, `castBarCaption`, `unk1`, `size`, `Data0`, `Data1`, `Data2`, `Data3`, `Data4`, `Data5`, `Data6`, `Data7`, `Data8`, `Data9`, `Data10`, `Data11`, `Data12`, `Data13`, `Data14`, `Data15`, `Data16`, `Data17`, `Data18`, `Data19`, `Data20`, `Data21`, `Data22`, `Data23`, `AIName`, `ScriptName`, `VerifiedBuild`) VALUES
(361000, 3, 1387, 'Four Horsemen Chest', '', '', '', 1, 1634, 361000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 1); (361000, 3, 1387, 'Four Horsemen Chest', '', '', '', 1, 1634, 361000, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, '', '', 1);
REPLACE INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES DELETE FROM `reference_loot_template` WHERE `entry`=314800;
INSERT INTO `reference_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(314800, 22349, 0, 0.0, 0, 1, 1, 1), (314800, 22349, 0, 0.0, 0, 1, 1, 1),
(314800, 22350, 0, 0.0, 0, 1, 1, 1), (314800, 22350, 0, 0.0, 0, 1, 1, 1),
(314800, 22351, 0, 0.0, 0, 1, 1, 1); (314800, 22351, 0, 0.0, 0, 1, 1, 1);
REPLACE INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES DELETE FROM `gameobject_loot_template` WHERE `entry`=361000;
INSERT INTO `gameobject_loot_template` (`Entry`, `Item`, `Reference`, `Chance`, `QuestRequired`, `GroupId`, `MinCount`, `MaxCount`) VALUES
(361000, 314800, 314800, 100, 0, 0, 2, 2), (361000, 314800, 314800, 100, 0, 0, 2, 2),
(361000, 22691, 0, 0, 0, 2, 1, 1), (361000, 22691, 0, 0, 0, 2, 1, 1),
(361000, 22726, 0, 30, 0, 0, 1, 1), (361000, 22726, 0, 30, 0, 0, 1, 1),

View File

@@ -1,4 +1,5 @@
-- Enable T3 turn in Quests -- Enable T3 turn in Quests
-- Enable exalted attunement quest (9378)
DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` IN ( DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` IN (
9232, 9033, 9230, 9229, 9120, 9082, 9101, 9102, 9038, 9034, 9099, 9232, 9033, 9230, 9229, 9120, 9082, 9101, 9102, 9038, 9034, 9099,
9237, 9057, 9042, 9037, 9039, 9041, 9036, 9233, 9089, 9118, 9098, 9237, 9057, 9042, 9037, 9039, 9041, 9036, 9233, 9089, 9118, 9098,
@@ -11,7 +12,7 @@ DELETE FROM `disables` WHERE `sourceType` = 1 AND `entry` IN (
9235, 9238, 9239, 9378); 9235, 9238, 9239, 9378);
REPLACE INTO `creature_queststarter` (`id`, `quest`) VALUES REPLACE INTO `creature_queststarter` (`id`, `quest`) VALUES
(16115, 9033), -- (16115, 9033), -- already exists
(16112, 9034), (16112, 9034),
(16112, 9036), (16112, 9036),
(16112, 9037), (16112, 9037),
@@ -22,7 +23,7 @@ REPLACE INTO `creature_queststarter` (`id`, `quest`) VALUES
(16112, 9042), (16112, 9042),
(16115, 9043), (16115, 9043),
(16115, 9044), (16115, 9044),
(16115, 9045), -- (16115, 9045), -- already exists
(16115, 9046), (16115, 9046),
(16115, 9047), (16115, 9047),
(16115, 9048), (16115, 9048),
@@ -86,23 +87,23 @@ REPLACE INTO `creature_queststarter` (`id`, `quest`) VALUES
(16113, 9118), (16113, 9118),
(16112, 9229), (16112, 9229),
(16112, 9230), (16112, 9230),
(16376, 9232), (16376, 9232);
(16376, 9234), -- (16376, 9234), -- already exists
(16376, 9235), -- (16376, 9235), -- already exists
(16376, 9236), -- (16376, 9236), -- already exists
(16376, 9237), -- (16376, 9237), -- already exists
(16376, 9238), -- (16376, 9238), -- already exists
(16376, 9239), -- (16376, 9239), -- already exists
(16376, 9240), -- (16376, 9240), -- already exists
(16376, 9241), -- (16376, 9241), -- already exists
(16376, 9242), -- (16376, 9242), -- already exists
(16376, 9243), -- (16376, 9243), -- already exists
(16376, 9244), -- (16376, 9244), -- already exists
(16376, 9245), -- (16376, 9245), -- already exists
(16376, 9246); -- (16376, 9246); -- already exists
REPLACE INTO `creature_questender` (`id`, `quest`) VALUES REPLACE INTO `creature_questender` (`id`, `quest`) VALUES
(16115, 9033), (16115, 9033), -- already exists
(16112, 9034), (16112, 9034),
(16112, 9036), (16112, 9036),
(16112, 9037), (16112, 9037),
@@ -113,7 +114,7 @@ REPLACE INTO `creature_questender` (`id`, `quest`) VALUES
(16112, 9042), (16112, 9042),
(16115, 9043), (16115, 9043),
(16115, 9044), (16115, 9044),
(16115, 9045), -- (16115, 9045), -- already exists
(16115, 9046), (16115, 9046),
(16115, 9047), (16115, 9047),
(16115, 9048), (16115, 9048),
@@ -178,42 +179,30 @@ REPLACE INTO `creature_questender` (`id`, `quest`) VALUES
(16113, 9120), (16113, 9120),
(16112, 9229), (16112, 9229),
(16112, 9230), (16112, 9230),
(16376, 9232), -- (16376, 9232), -- already exists
(16376, 9233), (16376, 9233);
(16376, 9234), -- (16376, 9234), -- already exists
(16376, 9235), -- (16376, 9235), -- already exists
(16376, 9236), -- (16376, 9236), -- already exists
(16376, 9237), -- (16376, 9237), -- already exists
(16376, 9238), -- (16376, 9238), -- already exists
(16376, 9239), -- (16376, 9239), -- already exists
(16376, 9240), -- (16376, 9240), -- already exists
(16376, 9241), -- (16376, 9241), -- already exists
(16376, 9242), -- (16376, 9242), -- already exists
(16376, 9243), -- (16376, 9243), -- already exists
(16376, 9244), -- (16376, 9244), -- already exists
(16376, 9245), -- (16376, 9245), -- already exists
(16376, 9246); -- (16376, 9246); -- already exists
update quest_template_addon set PrevQuestId = 9121 where ID = 9033; -- echoes of war requires 9121 -- echoes of war requires 9121
UPDATE `quest_template_addon` SET `PrevQuestId` = 9121 WHERE `ID` = 9033;
-- quest "The only song i know..." requires quest "Echoes of war" completed -- quest "The only song i know..." requires quest "Echoes of war" completed
update quest_template_addon set PrevQuestId = 9033 where ID = 9232; UPDATE `quest_template_addon` SET `PrevQuestId` = 9033 WHERE `ID` = 9232;
-- The remaining craft quests require quest "Omarion's Handbook" completed -- The remaining craft quests require quest "Omarion's Handbook" completed
update quest_template_addon set PrevQuestId = 9233 where ID in ( UPDATE `quest_template_addon` SET `PrevQuestId` = 9233 WHERE `ID` IN (9234, 9235, 9236, 9237, 9238, 9239, 9240, 9241, 9242, 9243, 9244, 9245, 9246);
9234,
9235,
9236,
9237,
9238,
9239,
9240,
9241,
9242,
9243,
9244,
9245,
9246);
-- warrior -- warrior
SET @NPC:= 16112; SET @NPC:= 16112;
@@ -311,7 +300,8 @@ DELETE FROM `creature_questender` WHERE (`quest` = 9233);
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (16376, 9233); INSERT INTO `creature_questender` (`id`, `quest`) VALUES (16376, 9233);
-- Frost Resistance quests from Craftsman Wilhelm -- Frost Resistance quests from Craftsman Wilhelm
-- Echoes of War 9033; Omarion's Handbook quest: 9233 -- Echoes of War 9033
-- Omarion's Handbook quest 9233
SET @NPC:= 16376; SET @NPC:= 16376;
UPDATE `quest_template_addon` SET `PrevQuestID` = 9033 WHERE `ID` = 9232; UPDATE `quest_template_addon` SET `PrevQuestID` = 9033 WHERE `ID` = 9232;
UPDATE `quest_template_addon` SET `PrevQuestID` = 9233 WHERE (`ID` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243)); UPDATE `quest_template_addon` SET `PrevQuestID` = 9233 WHERE (`ID` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243));
@@ -319,8 +309,8 @@ DELETE FROM `creature_queststarter` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9
INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232); INSERT INTO `creature_queststarter` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232);
DELETE FROM `creature_questender` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243, 9232)); DELETE FROM `creature_questender` WHERE (`quest` IN (9237, 9239, 9240, 9238, 9235, 9236, 9234, 9244, 9246, 9245, 9241, 9242, 9243, 9232));
INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232); INSERT INTO `creature_questender` (`id`, `quest`) VALUES (@NPC, 9237), (@NPC, 9239), (@NPC, 9240), (@NPC, 9238), (@NPC, 9235), (@NPC, 9236), (@NPC, 9234), (@NPC, 9244), (@NPC, 9246), (@NPC, 9245), (@NPC, 9241), (@NPC, 9242), (@NPC, 9243), (@NPC, 9232);
DELETE FROM `creature_questitem` WHERE `ItemId` = 22708;
REPLACE INTO `creature_questitem` (`CreatureEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES INSERT INTO `creature_questitem` (`CreatureEntry`, `Idx`, `ItemId`, `VerifiedBuild`) VALUES
(351007, 0, 22708, 0), (351007, 0, 22708, 0),
(351008, 0, 22708, 0), (351008, 0, 22708, 0),
(351010, 0, 22708, 0), (351010, 0, 22708, 0),

View File

@@ -12,80 +12,68 @@
-- (28785, 'spell_anub_locust_swarm_aura_40'); -- (28785, 'spell_anub_locust_swarm_aura_40');
-- (28450, 'spell_unholy_staff_arcane_explosion_40'); -- (28450, 'spell_unholy_staff_arcane_explosion_40');
-- (28153, 'spell_disease_cloud_damage_40'); -- (28153, 'spell_disease_cloud_damage_40');
-- `spell_dbc` [90001,90007} -- `spell_dbc` [90001,90007}
DELETE FROM `spell_dbc` WHERE `ID` BETWEEN 90001 AND 90002;
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
(90001,0,0,0,8388864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,4,0,0,0,0,0,18,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351083,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7626,0,1,0,0,'Summon Corpse Scarabs (5)','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0), # 29105 - Corpse Scarabs (5)
(90002,0,0,0,8388864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,9,0,0,0,0,0,18,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351083,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7626,0,1,0,0,'Summon Corpse Scarabs (10)','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0); # 28864 - Corpse Scarabs (10)
-- Custom Spells
DELETE FROM `spell_dbc` WHERE `ID` BETWEEN 90001 AND 90007;
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
-- Anub'Arak
-- 29105 - Corpse Scarabs (5)
(90001,0,0,0,8388864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,4,0,0,0,0,0,18,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351083,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7626,0,1,0,0,'Summon Corpse Scarabs (5)','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
-- 28864 - Corpse Scarabs (10)
(90002,0,0,0,8388864,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,101,0,0,0,0,21,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,9,0,0,0,0,0,18,0,0,0,0,0,12,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351083,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7626,0,1,0,0,'Summon Corpse Scarabs (10)','','','','','','','','','','','','','','','',16712190,'','','','','','','','','','','','','','','','',16712172,'','','','','','','','','','','','','','','','',16712188,'','','','','','','','','','','','','','','','',16712188,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
-- Trash Construct Quarter -- Trash Construct Quarter
-- 28280 - Spell Bombard Slime - Sewage Slime (10) -- 28280 - Spell Bombard Slime - Sewage Slime (10)
DELETE FROM `spell_dbc` WHERE (`ID` = 90003); (90003,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,101,0,0,0,0,26,0,0,0,0,0,6,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351071,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,68,0,0,"Bombard Slime","","","","","","","","",0,0,0,0,0,0,0,16712190,"","","","","","","","","",0,0,0,0,0,0,0,16712190,"Bombards the area below with a Sewage Slime.","","","","","","","","",0,0,0,0,0,0,0,16712190,"","","","","","","","","",0,0,0,0,0,0,0,16712190,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0),
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES -- Trash Military Quarter
(90003,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,101,0,0,0,0,26,0,0,0,0,0,6,25,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-1,0,0,28,0,0,1,0,0,0,0,0,0,0,0,0,0,0,17,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,351071,0,0,64,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,8,0,68,0,0,"Bombard Slime","","","","","","","","",0,0,0,0,0,0,0,16712190,"","","","","","","","","",0,0,0,0,0,0,0,16712190,"Bombards the area below with a Sewage Slime.","","","","","","","","",0,0,0,0,0,0,0,16712190,"","","","","","","","","",0,0,0,0,0,0,0,16712190,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0); -- 28383 - Portal of Shadows - Update summon to 351092 Ghost of Naxxramas
(90004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351092, 0, 0, 64, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3459, 0, 1490, 0, 0, 'Portal of Shadows', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 'Opens a portal into the Twisting Nether that periodically summons demonic minions to aid the caster in battle for $d.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0),
-- 351024 - Living Monstrosity - Summon Lightning Totem with entry 351091
(90005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 101, 0, 0, 29, 29, 3, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351091, 0, 0, 61, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 62, 0, 0, 'Lightning Totem', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 'Summons an Lightning Totem that lasts $d and periodically damages nearby enemies.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0),
-- Loatheb
-- 29234 - Summon Spore - Spore entry to 351066
(90006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 14, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351066, 0, 0, 1362, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'Summon Spore', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712188, 'Summons a Spore that lasts for $d.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0),
-- Maexxna
-- 90007: Summon Web Wrap. custom summon entry: 16486 -> 351079
(90007, 0, 0, 0, 256, 268435456, 0, 268435456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 265, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 6, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 18, 1, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351079, 17286, 0, 64, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Summon Web Wrap', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0);
-- Update target of spell 90003, summon Sewage Slime -- Update target of spell 90003, summon Sewage Slime
DELETE FROM `spell_target_position` WHERE (`ID` = 90003); DELETE FROM `spell_target_position` WHERE (`ID` = 90003);
INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES INSERT INTO `spell_target_position` (`ID`, `EffectIndex`, `MapID`, `PositionX`, `PositionY`, `PositionZ`, `Orientation`, `VerifiedBuild`) VALUES
(90003, 0, 533, 3128.96, -3312.96, 293.25, 0.0, 0); (90003, 0, 533, 3128.96, -3312.96, 293.25, 0.0, 0);
-- Unholy Staff, reduce radius from 45yd to 20yd
DELETE FROM `spell_script_names` WHERE `spell_id` = 28450;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28450, 'spell_unholy_staff_arcane_explosion_40');
-- Sewage Slime -- Sewage Slime
-- 28153 Disease cloud 600->300 -- 28153 Disease cloud 600->300
DELETE FROM `spell_script_names` WHERE `spell_id` = 28153; DELETE FROM `spell_script_names` WHERE `spell_id` = 28153;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28153, 'spell_disease_cloud_damage_40'); INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28153, 'spell_disease_cloud_damage_40');
-- 351024 - Living Monstrosity - Summon Lightning Totem with entry 351091
DELETE FROM `spell_dbc` WHERE (`ID` = 90005);
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
(90005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 101, 0, 0, 29, 29, 3, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351091, 0, 0, 61, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 36, 0, 62, 0, 0, 'Lightning Totem', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 'Summons an Lightning Totem that lasts $d and periodically damages nearby enemies.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 8, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0);
-- Trash Military Quarter
-- 90004 - Portal of Shadows - Update summon to 351092 Ghost of Naxxramas
DELETE FROM `spell_dbc` WHERE (`ID` = 90004);
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
(90004, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 18, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351092, 0, 0, 64, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3459, 0, 1490, 0, 0, 'Portal of Shadows', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 'Opens a portal into the Twisting Nether that periodically summons demonic minions to aid the caster in battle for $d.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0);
-- Unholy Staff, reduce radius from 45yd to 20yd
DELETE FROM `spell_script_names` WHERE `spell_id` = 28450;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(28450, 'spell_unholy_staff_arcane_explosion_40');
-- Loatheb
-- 90006 - Summon Spore - Spore entry to 351066
DELETE FROM `spell_dbc` WHERE (`ID` = 90006);
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
(90006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 14, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 0, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 73, 0, 0, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351066, 0, 0, 1362, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 'Summon Spore', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712188, 'Summons a Spore that lasts for $d.', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712190, '', '', '', '', '', '', '', '', '', 0, 0, 0, 0, 0, 0, 0, 16712188, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 1.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0);
-- Anub'Arak -- Anub'Arak
-- Locust Swarm: Reduce damage ~1500 to ~1000, increase radius 25yd to 30yd -- Locust Swarm: Reduce damage ~1500 to ~1000, increase radius 25yd to 30yd
DELETE FROM `spell_script_names` WHERE `spell_id` = 28785; DELETE FROM `spell_script_names` WHERE `spell_id` = 28785;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28785, 'spell_anub_locust_swarm_aura_40');
(28785, 'spell_anub_locust_swarm_aura_40');
-- 90007: Summon Web Wrap. custom summon entry: 16486 -> 351079
DELETE FROM `spell_dbc` WHERE (`ID` = 90007);
INSERT INTO `spell_dbc` (`ID`,`Category`,`DispelType`,`Mechanic`,`Attributes`,`AttributesEx`,`AttributesEx2`,`AttributesEx3`,`AttributesEx4`,`AttributesEx5`,`AttributesEx6`,`AttributesEx7`,`ShapeshiftMask`,`unk_320_2`,`ShapeshiftExclude`,`unk_320_3`,`Targets`,`TargetCreatureType`,`RequiresSpellFocus`,`FacingCasterFlags`,`CasterAuraState`,`TargetAuraState`,`ExcludeCasterAuraState`,`ExcludeTargetAuraState`,`CasterAuraSpell`,`TargetAuraSpell`,`ExcludeCasterAuraSpell`,`ExcludeTargetAuraSpell`,`CastingTimeIndex`,`RecoveryTime`,`CategoryRecoveryTime`,`InterruptFlags`,`AuraInterruptFlags`,`ChannelInterruptFlags`,`ProcTypeMask`,`ProcChance`,`ProcCharges`,`MaxLevel`,`BaseLevel`,`SpellLevel`,`DurationIndex`,`PowerType`,`ManaCost`,`ManaCostPerLevel`,`ManaPerSecond`,`ManaPerSecondPerLevel`,`RangeIndex`,`Speed`,`ModalNextSpell`,`CumulativeAura`,`Totem_1`,`Totem_2`,`Reagent_1`,`Reagent_2`,`Reagent_3`,`Reagent_4`,`Reagent_5`,`Reagent_6`,`Reagent_7`,`Reagent_8`,`ReagentCount_1`,`ReagentCount_2`,`ReagentCount_3`,`ReagentCount_4`,`ReagentCount_5`,`ReagentCount_6`,`ReagentCount_7`,`ReagentCount_8`,`EquippedItemClass`,`EquippedItemSubclass`,`EquippedItemInvTypes`,`Effect_1`,`Effect_2`,`Effect_3`,`EffectDieSides_1`,`EffectDieSides_2`,`EffectDieSides_3`,`EffectRealPointsPerLevel_1`,`EffectRealPointsPerLevel_2`,`EffectRealPointsPerLevel_3`,`EffectBasePoints_1`,`EffectBasePoints_2`,`EffectBasePoints_3`,`EffectMechanic_1`,`EffectMechanic_2`,`EffectMechanic_3`,`ImplicitTargetA_1`,`ImplicitTargetA_2`,`ImplicitTargetA_3`,`ImplicitTargetB_1`,`ImplicitTargetB_2`,`ImplicitTargetB_3`,`EffectRadiusIndex_1`,`EffectRadiusIndex_2`,`EffectRadiusIndex_3`,`EffectAura_1`,`EffectAura_2`,`EffectAura_3`,`EffectAuraPeriod_1`,`EffectAuraPeriod_2`,`EffectAuraPeriod_3`,`EffectMultipleValue_1`,`EffectMultipleValue_2`,`EffectMultipleValue_3`,`EffectChainTargets_1`,`EffectChainTargets_2`,`EffectChainTargets_3`,`EffectItemType_1`,`EffectItemType_2`,`EffectItemType_3`,`EffectMiscValue_1`,`EffectMiscValue_2`,`EffectMiscValue_3`,`EffectMiscValueB_1`,`EffectMiscValueB_2`,`EffectMiscValueB_3`,`EffectTriggerSpell_1`,`EffectTriggerSpell_2`,`EffectTriggerSpell_3`,`EffectPointsPerCombo_1`,`EffectPointsPerCombo_2`,`EffectPointsPerCombo_3`,`EffectSpellClassMaskA_1`,`EffectSpellClassMaskA_2`,`EffectSpellClassMaskA_3`,`EffectSpellClassMaskB_1`,`EffectSpellClassMaskB_2`,`EffectSpellClassMaskB_3`,`EffectSpellClassMaskC_1`,`EffectSpellClassMaskC_2`,`EffectSpellClassMaskC_3`,`SpellVisualID_1`,`SpellVisualID_2`,`SpellIconID`,`ActiveIconID`,`SpellPriority`,`Name_Lang_enUS`,`Name_Lang_enGB`,`Name_Lang_koKR`,`Name_Lang_frFR`,`Name_Lang_deDE`,`Name_Lang_enCN`,`Name_Lang_zhCN`,`Name_Lang_enTW`,`Name_Lang_zhTW`,`Name_Lang_esES`,`Name_Lang_esMX`,`Name_Lang_ruRU`,`Name_Lang_ptPT`,`Name_Lang_ptBR`,`Name_Lang_itIT`,`Name_Lang_Unk`,`Name_Lang_Mask`,`NameSubtext_Lang_enUS`,`NameSubtext_Lang_enGB`,`NameSubtext_Lang_koKR`,`NameSubtext_Lang_frFR`,`NameSubtext_Lang_deDE`,`NameSubtext_Lang_enCN`,`NameSubtext_Lang_zhCN`,`NameSubtext_Lang_enTW`,`NameSubtext_Lang_zhTW`,`NameSubtext_Lang_esES`,`NameSubtext_Lang_esMX`,`NameSubtext_Lang_ruRU`,`NameSubtext_Lang_ptPT`,`NameSubtext_Lang_ptBR`,`NameSubtext_Lang_itIT`,`NameSubtext_Lang_Unk`,`NameSubtext_Lang_Mask`,`Description_Lang_enUS`,`Description_Lang_enGB`,`Description_Lang_koKR`,`Description_Lang_frFR`,`Description_Lang_deDE`,`Description_Lang_enCN`,`Description_Lang_zhCN`,`Description_Lang_enTW`,`Description_Lang_zhTW`,`Description_Lang_esES`,`Description_Lang_esMX`,`Description_Lang_ruRU`,`Description_Lang_ptPT`,`Description_Lang_ptBR`,`Description_Lang_itIT`,`Description_Lang_Unk`,`Description_Lang_Mask`,`AuraDescription_Lang_enUS`,`AuraDescription_Lang_enGB`,`AuraDescription_Lang_koKR`,`AuraDescription_Lang_frFR`,`AuraDescription_Lang_deDE`,`AuraDescription_Lang_enCN`,`AuraDescription_Lang_zhCN`,`AuraDescription_Lang_enTW`,`AuraDescription_Lang_zhTW`,`AuraDescription_Lang_esES`,`AuraDescription_Lang_esMX`,`AuraDescription_Lang_ruRU`,`AuraDescription_Lang_ptPT`,`AuraDescription_Lang_ptBR`,`AuraDescription_Lang_itIT`,`AuraDescription_Lang_Unk`,`AuraDescription_Lang_Mask`,`ManaCostPct`,`StartRecoveryCategory`,`StartRecoveryTime`,`MaxTargetLevel`,`SpellClassSet`,`SpellClassMask_1`,`SpellClassMask_2`,`SpellClassMask_3`,`MaxTargets`,`DefenseType`,`PreventionType`,`StanceBarOrder`,`EffectChainAmplitude_1`,`EffectChainAmplitude_2`,`EffectChainAmplitude_3`,`MinFactionID`,`MinReputation`,`RequiredAuraVision`,`RequiredTotemCategoryID_1`,`RequiredTotemCategoryID_2`,`RequiredAreasID`,`SchoolMask`,`RuneCostID`,`SpellMissileID`,`PowerDisplayID`,`EffectBonusMultiplier_1`,`EffectBonusMultiplier_2`,`EffectBonusMultiplier_3`,`SpellDescriptionVariableID`,`SpellDifficultyID`) VALUES
(90007, 0, 0, 0, 256, 268435456, 0, 268435456, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 101, 0, 0, 0, 0, 265, 0, 0, 0, 0, 0, 1, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 28, 6, 0, 1, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 18, 1, 0, 0, 0, 0, 0, 0, 0, 0, 56, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 351079, 17286, 0, 64, 0, 0, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 'Summon Web Wrap', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1.0, 1.0, 0.0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0.0, 0.0, 0.0, 0, 0);
-- Kel'Thuzad -- Kel'Thuzad
-- Dark Blast: Reduce damage ~3.5k to ~2k -- Dark Blast: Reduce damage ~3.5k to ~2k
DELETE FROM `spell_script_names` WHERE `spell_id` = 28457; DELETE FROM `spell_script_names` WHERE `spell_id` = 28457;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28457, 'spell_kelthuzad_dark_blast_40');
(28457, 'spell_kelthuzad_dark_blast_40');
-- Thaddius -- Thaddius
-- Feugen - Static Field: Change to mana drain -- Feugen - Static Field: Change to mana drain
DELETE FROM `spell_script_names` WHERE `spell_id` = 28135; DELETE FROM `spell_script_names` WHERE `spell_id` = 28135;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28135, 'spell_feugen_static_field_40');
(28135, 'spell_feugen_static_field');
-- Razuvious -- Razuvious
-- ? Script defines 29107? as target but only 55543 works -- ? Script defines 29107? as target but only 55543 works
-- 29107: Disrupting Shout -- 29107: Disrupting Shout
DELETE FROM `spell_script_names` WHERE `spell_id` = 29107; DELETE FROM `spell_script_names` WHERE `spell_id` = 29107;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (29107, 'spell_razuvious_disrupting_shout_40');
(29107, 'spell_razuvious_disrupting_shout_40');
-- 55543: 10 man version of Disrupting Shout -- 55543: 10 man version of Disrupting Shout
DELETE FROM `spell_script_names` WHERE `spell_id` = 55543; DELETE FROM `spell_script_names` WHERE `spell_id` = 55543;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (55543, 'spell_razuvious_disrupting_shout_40');
(55543, 'spell_razuvious_disrupting_shout_40');
-- Generic Spell Submerge -- Generic Spell Submerge
-- relinquery of souls and eye stalk TC: https://github.com/search?q=repo%3ATrinityCore%2FTrinityCore%20spell_reliquary_of_souls_submerge&type=code -- relinquery of souls and eye stalk TC: https://github.com/search?q=repo%3ATrinityCore%2FTrinityCore%20spell_reliquary_of_souls_submerge&type=code
@@ -95,27 +83,22 @@ INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
(28819, 'spell_submerge_visual_aura'); (28819, 'spell_submerge_visual_aura');
-- Update heigan teleport player (unused in core) -- Update heigan teleport player (unused in core)
UPDATE `spell_target_position` UPDATE `spell_target_position` SET `PositionX`=2917.43, `PositionY`=-3769.18, `PositionZ`=273.62, `Orientation`=3.1415 WHERE `ID`=29273;
SET `PositionX`=2917.43, `PositionY`=-3769.18, `PositionZ`=273.62, `Orientation`=3.1415
WHERE `ID`=29273;
-- Grobullus -- Grobullus
-- Poison damage by Poison Cloud ~3k to ~1k -- Poison damage by Poison Cloud ~3k to ~1k
DELETE FROM `spell_script_names` WHERE `spell_id` = 28241; DELETE FROM `spell_script_names` WHERE `spell_id` = 28241;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (28241, 'spell_grobbulus_poison_cloud_poison_damage_40');
(28241, 'spell_grobbulus_poison_cloud_poison_damage_40');
-- Heigan, Plague Cloud -- Heigan
-- Plague Cloud
DELETE FROM `spell_script_names` WHERE `spell_id` = 29350; DELETE FROM `spell_script_names` WHERE `spell_id` = 29350;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (29350, 'spell_heigan_plague_cloud_aura_40');
(29350, 'spell_heigan_plague_cloud_aura_40'); -- Eruption
-- Heigan, Eruption
DELETE FROM `spell_script_names` WHERE `spell_id` = 29371; DELETE FROM `spell_script_names` WHERE `spell_id` = 29371;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (29371, 'spell_heigan_eruption_40');
(29371, 'spell_heigan_eruption_40');
-- Noth -- Noth
-- Wrath of the Plaguebringer, if failed to decurse -- Wrath of the Plaguebringer, damage if failed to decurse
DELETE FROM `spell_script_names` WHERE `spell_id` = 29213; DELETE FROM `spell_script_names` WHERE `spell_id` = 29213;
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES (29213, 'spell_noth_curse_of_the_plaguebringer_aura_40');
(29213, 'spell_noth_curse_of_the_plaguebringer_aura_40');

View File

@@ -38,8 +38,6 @@ enum Spells
SPELL_IMPALE = 28783, SPELL_IMPALE = 28783,
SPELL_LOCUST_SWARM = 28785, SPELL_LOCUST_SWARM = 28785,
SPELL_LOCUST_SWARM_TRIGGER = 28786, // periodic effect SPELL_LOCUST_SWARM_TRIGGER = 28786, // periodic effect
SPELL_SUMMON_CORPSE_SCRABS_5 = 90001, // Changed from 29105 to Level 60 Mob ID for summon
SPELL_SUMMON_CORPSE_SCRABS_10 = 90002, // Changed from 29105 to Level 60 Mob ID for summon
SPELL_BERSERK = 26662 SPELL_BERSERK = 26662
}; };

View File

@@ -16,10 +16,11 @@
*/ */
#include "CombatAI.h" #include "CombatAI.h"
#include "CreatureScript.h"
#include "GridNotifiers.h" #include "GridNotifiers.h"
#include "ScriptMgr.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "naxxramas.h" #include "naxxramas.h"
enum Yells enum Yells
@@ -40,20 +41,22 @@ enum Spells
{ {
// Gothik // Gothik
SPELL_HARVEST_SOUL = 28679, SPELL_HARVEST_SOUL = 28679,
SPELL_SHADOW_BOLT = 29317, SPELL_SHADOW_BOLT = 29317,
// SPELL_SHADOW_BOLT_10 = 29317,
// SPELL_SHADOW_BOLT_25 = 56405,
// Teleport spells // Teleport spells
SPELL_TELEPORT_DEAD = 28025, SPELL_TELEPORT_DEAD = 28025,
SPELL_TELEPORT_LIVE = 28026, SPELL_TELEPORT_LIVE = 28026,
// Visual spells // Visual spells
SPELL_INFORM_LIVING_TRAINEE = 27892, SPELL_ANCHOR_1_TRAINEE = 27892,
SPELL_INFORM_LIVING_KNIGHT = 27928, SPELL_ANCHOR_1_DK = 27928,
SPELL_INFORM_LIVING_RIDER = 27935, SPELL_ANCHOR_1_RIDER = 27935,
SPELL_INFORM_DEAD_TRAINEE = 27915, SPELL_ANCHOR_2_TRAINEE = 27893,
SPELL_INFORM_DEAD_KNIGHT = 27931,
SPELL_INFORM_DEAD_RIDER = 27937,
/*SPELL_ANCHOR_2_TRAINEE = 27893,
SPELL_ANCHOR_2_DK = 27929, SPELL_ANCHOR_2_DK = 27929,
SPELL_ANCHOR_2_RIDER = 27936, fix me */ SPELL_ANCHOR_2_RIDER = 27936,
SPELL_SKULLS_TRAINEE = 27915,
SPELL_SKULLS_DK = 27931,
SPELL_SKULLS_RIDER = 27937,
// Living trainee // Living trainee
SPELL_DEATH_PLAGUE = 55604, SPELL_DEATH_PLAGUE = 55604,
// Dead trainee // Dead trainee
@@ -80,7 +83,7 @@ enum Misc
NPC_DEAD_KNIGHT = 351050, NPC_DEAD_KNIGHT = 351050,
NPC_DEAD_HORSE = 351051, NPC_DEAD_HORSE = 351051,
NPC_DEAD_RIDER = 351052, NPC_DEAD_RIDER = 351052,
//NPC_TRIGGER = 16137, fix me NPC_TRIGGER = 351047
}; };
enum Events enum Events
@@ -253,12 +256,12 @@ public:
BossAI::JustEngagedWith(who); BossAI::JustEngagedWith(who);
me->SetInCombatWithZone(); me->SetInCombatWithZone();
Talk(SAY_INTRO_1); Talk(SAY_INTRO_1);
events.ScheduleEvent(EVENT_INTRO_2, 4000); events.ScheduleEvent(EVENT_INTRO_2, 4s);
events.ScheduleEvent(EVENT_INTRO_3, 9000); events.ScheduleEvent(EVENT_INTRO_3, 9s);
events.ScheduleEvent(EVENT_INTRO_4, 14000); events.ScheduleEvent(EVENT_INTRO_4, 14s);
me->SetUnitFlag(UNIT_FLAG_DISABLE_MOVE); me->SetUnitFlag(UNIT_FLAG_DISABLE_MOVE);
events.ScheduleEvent(EVENT_SUMMON_ADDS, 30000); events.ScheduleEvent(EVENT_SUMMON_ADDS, 30s);
events.ScheduleEvent(EVENT_CHECK_PLAYERS, 120000); events.ScheduleEvent(EVENT_CHECK_PLAYERS, 2min);
if (pInstance) if (pInstance)
{ {
if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_GOTHIK_ENTER_GATE))) if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_GOTHIK_ENTER_GATE)))
@@ -275,14 +278,42 @@ public:
void JustSummoned(Creature* summon) override void JustSummoned(Creature* summon) override
{ {
summons.Summon(summon); summons.Summon(summon);
// If central gate is open, attack any one
if (gateOpened) if (gateOpened)
{ {
summons.DoZoneInCombat(); if (Unit* target = SelectTarget(SelectTargetMethod::MinDistance, 0, 200.0f))
{
summon->AI()->AttackStart(target);
summon->SetInCombatWithZone();
summon->SetReactState(REACT_AGGRESSIVE);
summon->CallForHelp(150.0f);
}
} }
else if (Unit* target = me->SelectNearestTarget(50.0f)) // Else look for a random target on the side the summoned NPC is
else
{ {
AttackStart(target); Map::PlayerList const& pList = me->GetMap()->GetPlayers();
DoZoneInCombat(); std::vector<Player*> tList;
for(Map::PlayerList::const_iterator itr = pList.begin(); itr != pList.end(); ++itr)
{
if (!me->IsWithinDistInMap(itr->GetSource(), 200.0f, true, false) || !itr->GetSource()->IsAlive() || itr->GetSource()->IsGameMaster())
{
continue;
}
if (IN_LIVE_SIDE(itr->GetSource()) != IN_LIVE_SIDE(summon))
{
continue;
}
tList.push_back(itr->GetSource());
}
if (!tList.empty())
{
Player* target = tList[urand(0, tList.size() - 1)];
summon->AI()->AttackStart(target);
summon->SetInCombatWithZone();
summon->SetReactState(REACT_AGGRESSIVE);
summon->CallForHelp(150.0f);
}
} }
} }
@@ -332,17 +363,17 @@ public:
case NPC_LIVING_TRAINEE: case NPC_LIVING_TRAINEE:
me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[0].GetPositionX(), PosSummonLiving[0].GetPositionY(), PosSummonLiving[0].GetPositionZ(), PosSummonLiving[0].GetOrientation()); me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[0].GetPositionX(), PosSummonLiving[0].GetPositionY(), PosSummonLiving[0].GetPositionZ(), PosSummonLiving[0].GetOrientation());
me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[1].GetPositionX(), PosSummonLiving[1].GetPositionY(), PosSummonLiving[1].GetPositionZ(), PosSummonLiving[1].GetOrientation()); me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[1].GetPositionX(), PosSummonLiving[1].GetPositionY(), PosSummonLiving[1].GetPositionZ(), PosSummonLiving[1].GetOrientation());
if (Is25ManRaid()) // if (Is25ManRaid())
{ // {
me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[2].GetPositionX(), PosSummonLiving[2].GetPositionY(), PosSummonLiving[2].GetPositionZ(), PosSummonLiving[2].GetOrientation()); me->SummonCreature(NPC_LIVING_TRAINEE, PosSummonLiving[2].GetPositionX(), PosSummonLiving[2].GetPositionY(), PosSummonLiving[2].GetPositionZ(), PosSummonLiving[2].GetOrientation());
} // }
break; break;
case NPC_LIVING_KNIGHT: case NPC_LIVING_KNIGHT:
me->SummonCreature(NPC_LIVING_KNIGHT, PosSummonLiving[3].GetPositionX(), PosSummonLiving[3].GetPositionY(), PosSummonLiving[3].GetPositionZ(), PosSummonLiving[3].GetOrientation()); me->SummonCreature(NPC_LIVING_KNIGHT, PosSummonLiving[3].GetPositionX(), PosSummonLiving[3].GetPositionY(), PosSummonLiving[3].GetPositionZ(), PosSummonLiving[3].GetOrientation());
if (Is25ManRaid()) // if (Is25ManRaid())
{ // {
me->SummonCreature(NPC_LIVING_KNIGHT, PosSummonLiving[5].GetPositionX(), PosSummonLiving[5].GetPositionY(), PosSummonLiving[5].GetPositionZ(), PosSummonLiving[5].GetOrientation()); me->SummonCreature(NPC_LIVING_KNIGHT, PosSummonLiving[5].GetPositionX(), PosSummonLiving[5].GetPositionY(), PosSummonLiving[5].GetPositionZ(), PosSummonLiving[5].GetOrientation());
} // }
break; break;
case NPC_LIVING_RIDER: case NPC_LIVING_RIDER:
me->SummonCreature(NPC_LIVING_RIDER, PosSummonLiving[4].GetPositionX(), PosSummonLiving[4].GetPositionY(), PosSummonLiving[4].GetPositionZ(), PosSummonLiving[4].GetOrientation()); me->SummonCreature(NPC_LIVING_RIDER, PosSummonLiving[4].GetPositionX(), PosSummonLiving[4].GetPositionY(), PosSummonLiving[4].GetPositionZ(), PosSummonLiving[4].GetOrientation());
@@ -384,25 +415,6 @@ public:
return false; return false;
} }
void SpellHit(Unit* /*caster*/, SpellInfo const* spellInfo) override
{
uint8 pos = urand(0, 4);
switch (spellInfo->Id)
{
case SPELL_INFORM_LIVING_TRAINEE:
me->SummonCreature(NPC_DEAD_TRAINEE, PosSummonDead[pos].GetPositionX(), PosSummonDead[pos].GetPositionY(), PosSummonDead[pos].GetPositionZ(), PosSummonDead[pos].GetOrientation());
break;
case SPELL_INFORM_LIVING_KNIGHT:
me->SummonCreature(NPC_DEAD_KNIGHT, PosSummonDead[pos].GetPositionX(), PosSummonDead[pos].GetPositionY(), PosSummonDead[pos].GetPositionZ(), PosSummonDead[pos].GetOrientation());
break;
case SPELL_INFORM_LIVING_RIDER:
me->SummonCreature(NPC_DEAD_RIDER, PosSummonDead[pos].GetPositionX(), PosSummonDead[pos].GetPositionY(), PosSummonDead[pos].GetPositionZ(), PosSummonDead[pos].GetOrientation());
me->SummonCreature(NPC_DEAD_HORSE, PosSummonDead[pos].GetPositionX(), PosSummonDead[pos].GetPositionY(), PosSummonDead[pos].GetPositionZ(), PosSummonDead[pos].GetOrientation());
break;
}
me->HandleEmoteCommand(EMOTE_ONESHOT_SPELL_CAST);
}
void DamageTaken(Unit*, uint32& damage, DamageEffectType, SpellSchoolMask) override void DamageTaken(Unit*, uint32& damage, DamageEffectType, SpellSchoolMask) override
{ {
if (!secondPhase) if (!secondPhase)
@@ -436,11 +448,11 @@ public:
break; break;
case EVENT_SHADOW_BOLT: case EVENT_SHADOW_BOLT:
me->CastSpell(me->GetVictim(), SPELL_SHADOW_BOLT, false); me->CastSpell(me->GetVictim(), SPELL_SHADOW_BOLT, false);
events.RepeatEvent(1010); events.Repeat(1s);
break; break;
case EVENT_HARVEST_SOUL: case EVENT_HARVEST_SOUL:
me->CastSpell(me, SPELL_HARVEST_SOUL, false); me->CastSpell(me, SPELL_HARVEST_SOUL, false);
events.RepeatEvent(15000); events.Repeat(15s);
break; break;
case EVENT_TELEPORT: case EVENT_TELEPORT:
me->AttackStop(); me->AttackStop();
@@ -458,7 +470,7 @@ public:
me->GetThreatMgr().AddThreat(pTarget, 100.0f); me->GetThreatMgr().AddThreat(pTarget, 100.0f);
AttackStart(pTarget); AttackStart(pTarget);
} }
events.RepeatEvent(20000); events.Repeat(20s);
break; break;
case EVENT_CHECK_HEALTH: case EVENT_CHECK_HEALTH:
if (me->HealthBelowPct(30) && pInstance) if (me->HealthBelowPct(30) && pInstance)
@@ -470,7 +482,7 @@ public:
events.CancelEvent(EVENT_TELEPORT); events.CancelEvent(EVENT_TELEPORT);
break; break;
} }
events.RepeatEvent(1000); events.Repeat(1s);
break; break;
case EVENT_SUMMON_ADDS: case EVENT_SUMMON_ADDS:
if (gothikWaves[waveCount][0]) if (gothikWaves[waveCount][0])
@@ -488,11 +500,10 @@ public:
me->RemoveUnitFlag(UNIT_FLAG_DISABLE_MOVE); me->RemoveUnitFlag(UNIT_FLAG_DISABLE_MOVE);
me->SetImmuneToPC(false); me->SetImmuneToPC(false);
me->RemoveAllAuras(); me->RemoveAllAuras();
summons.DoZoneInCombat(); events.ScheduleEvent(EVENT_SHADOW_BOLT, 1s);
events.ScheduleEvent(EVENT_SHADOW_BOLT, 1000); events.ScheduleEvent(EVENT_HARVEST_SOUL, 5s, 15s);
events.ScheduleEvent(EVENT_HARVEST_SOUL, urand(5000, 15000)); events.ScheduleEvent(EVENT_TELEPORT, 20s);
events.ScheduleEvent(EVENT_TELEPORT, 20000); events.ScheduleEvent(EVENT_CHECK_HEALTH, 1s);
events.ScheduleEvent(EVENT_CHECK_HEALTH, 1000);
} }
waveCount++; waveCount++;
break; break;
@@ -503,12 +514,12 @@ public:
{ {
go->SetGoState(GO_STATE_ACTIVE); go->SetGoState(GO_STATE_ACTIVE);
} }
summons.DoZoneInCombat();
gateOpened = true; gateOpened = true;
Talk(EMOTE_GATE_OPENED); Talk(EMOTE_GATE_OPENED);
} }
break; break;
} }
DoMeleeAttackIfReady(); DoMeleeAttackIfReady();
} }
}; };
@@ -546,56 +557,42 @@ public:
switch (me->GetEntry()) switch (me->GetEntry())
{ {
case NPC_LIVING_TRAINEE: case NPC_LIVING_TRAINEE:
events.ScheduleEvent(EVENT_DEATH_PLAGUE, 3000); events.ScheduleEvent(EVENT_DEATH_PLAGUE, 3s);
break; break;
case NPC_DEAD_TRAINEE: case NPC_DEAD_TRAINEE:
events.ScheduleEvent(EVENT_ARCANE_EXPLOSION, 2500); events.ScheduleEvent(EVENT_ARCANE_EXPLOSION, 2500ms);
break; break;
case NPC_LIVING_KNIGHT: case NPC_LIVING_KNIGHT:
events.ScheduleEvent(EVENT_SHADOW_MARK, 3000); events.ScheduleEvent(EVENT_SHADOW_MARK, 3s);
break; break;
case NPC_DEAD_KNIGHT: case NPC_DEAD_KNIGHT:
events.ScheduleEvent(EVENT_WHIRLWIND, 2000); events.ScheduleEvent(EVENT_WHIRLWIND, 2s);
break; break;
case NPC_LIVING_RIDER: case NPC_LIVING_RIDER:
events.ScheduleEvent(EVENT_SHADOW_BOLT_VOLLEY, 3000); events.ScheduleEvent(EVENT_SHADOW_BOLT_VOLLEY, 3s);
break; break;
case NPC_DEAD_RIDER: case NPC_DEAD_RIDER:
events.ScheduleEvent(EVENT_DRAIN_LIFE, urand(2000, 3500)); events.ScheduleEvent(EVENT_DRAIN_LIFE, 2000ms, 3500ms);
events.ScheduleEvent(EVENT_UNHOLY_FRENZY, urand(5000, 9000)); events.ScheduleEvent(EVENT_UNHOLY_FRENZY, 5s, 9s);
break; break;
case NPC_DEAD_HORSE: case NPC_DEAD_HORSE:
events.ScheduleEvent(EVENT_STOMP, urand(2000, 5000)); events.ScheduleEvent(EVENT_STOMP, 2s, 5s);
break; break;
} }
} }
void DamageTaken(Unit* attacker, uint32& damage, DamageEffectType, SpellSchoolMask) override
{
if (!attacker || !IsOnSameSide(attacker))
{
damage = 0;
}
if (!me->IsInCombat())
{
me->CallForHelp(25.0f);
AttackStart(attacker);
}
}
void JustDied(Unit*) override void JustDied(Unit*) override
{ {
switch (me->GetEntry()) switch (me->GetEntry())
{ {
case NPC_LIVING_TRAINEE: case NPC_LIVING_TRAINEE:
me->CastSpell(me, SPELL_INFORM_LIVING_TRAINEE, true); DoCastAOE(SPELL_ANCHOR_1_TRAINEE, true);
break; break;
case NPC_LIVING_KNIGHT: case NPC_LIVING_KNIGHT:
me->CastSpell(me, SPELL_INFORM_LIVING_KNIGHT, true); DoCastAOE(SPELL_ANCHOR_1_DK, true);
break; break;
case NPC_LIVING_RIDER: case NPC_LIVING_RIDER:
me->CastSpell(me, SPELL_INFORM_LIVING_RIDER, true); DoCastAOE(SPELL_ANCHOR_1_RIDER, true);
break; break;
} }
} }
@@ -618,7 +615,7 @@ public:
{ {
case EVENT_DEATH_PLAGUE: case EVENT_DEATH_PLAGUE:
me->CastSpell(me->GetVictim(), SPELL_DEATH_PLAGUE, false); me->CastSpell(me->GetVictim(), SPELL_DEATH_PLAGUE, false);
events.RepeatEvent(urand(4000, 7000)); events.Repeat(4s, 7s);
break; break;
case EVENT_ARCANE_EXPLOSION: case EVENT_ARCANE_EXPLOSION:
if (Unit* victim = me->GetVictim()) if (Unit* victim = me->GetVictim())
@@ -628,17 +625,17 @@ public:
me->CastSpell(victim, SPELL_ARCANE_EXPLOSION, false); me->CastSpell(victim, SPELL_ARCANE_EXPLOSION, false);
} }
} }
events.RepeatEvent(2500); events.Repeat(2500ms);
break; break;
case EVENT_SHADOW_MARK: case EVENT_SHADOW_MARK:
if (Unit* victim = me->GetVictim()) if (Unit* victim = me->GetVictim())
{ {
if (!victim->HasAura(SPELL_SHADOW_MARK)) if (victim->IsWithinDist(me, 10))
{ {
me->CastSpell(me->GetVictim(), SPELL_SHADOW_MARK, false); me->CastSpell(victim, SPELL_SHADOW_MARK, false);
} }
} }
events.RepeatEvent(urand(5000, 7000)); events.Repeat(5s, 7s);
break; break;
case EVENT_WHIRLWIND: case EVENT_WHIRLWIND:
if (Unit* victim = me->GetVictim()) if (Unit* victim = me->GetVictim())
@@ -648,11 +645,11 @@ public:
me->CastSpell(victim, SPELL_WHIRLWIND, false); me->CastSpell(victim, SPELL_WHIRLWIND, false);
} }
} }
events.RepeatEvent(urand(4000, 6000)); events.Repeat(4s, 6s);
break; break;
case EVENT_SHADOW_BOLT_VOLLEY: case EVENT_SHADOW_BOLT_VOLLEY:
me->CastSpell(me->GetVictim(), SPELL_SHADOW_BOLT_VOLLEY, false); me->CastSpell(me->GetVictim(), SPELL_SHADOW_BOLT_VOLLEY, false);
events.RepeatEvent(5000); events.Repeat(5s);
break; break;
case EVENT_DRAIN_LIFE: case EVENT_DRAIN_LIFE:
if (Unit* victim = me->GetVictim()) if (Unit* victim = me->GetVictim())
@@ -662,11 +659,11 @@ public:
me->CastSpell(victim, SPELL_DRAIN_LIFE, false); me->CastSpell(victim, SPELL_DRAIN_LIFE, false);
} }
} }
events.RepeatEvent(urand(8000, 12000)); events.Repeat(8s, 12s);
break; break;
case EVENT_UNHOLY_FRENZY: case EVENT_UNHOLY_FRENZY:
me->AddAura(SPELL_UNHOLY_FRENZY, me); me->AddAura(SPELL_UNHOLY_FRENZY, me);
events.RepeatEvent(urand(15000, 17000)); events.Repeat(15s, 17s);
break; break;
case EVENT_STOMP: case EVENT_STOMP:
if (Unit* victim = me->GetVictim()) if (Unit* victim = me->GetVictim())
@@ -676,7 +673,7 @@ public:
me->CastSpell(victim, SPELL_STOMP, false); me->CastSpell(victim, SPELL_STOMP, false);
} }
} }
events.RepeatEvent(urand(4000, 9000)); events.Repeat(4s, 9s);
break; break;
} }
DoMeleeAttackIfReady(); DoMeleeAttackIfReady();
@@ -684,6 +681,109 @@ public:
}; };
}; };
class npc_gothik_trigger_40 : public CreatureScript
{
public:
npc_gothik_trigger_40() : CreatureScript("npc_gothik_trigger_40") { }
CreatureAI* GetAI(Creature* creature) const override
{
return new npc_gothik_trigger_40AI(creature);
}
struct npc_gothik_trigger_40AI : public ScriptedAI
{
npc_gothik_trigger_40AI(Creature* creature) : ScriptedAI(creature) { creature->SetDisableGravity(true); }
void EnterEvadeMode(EvadeReason /*why*/) override {}
void UpdateAI(uint32 /*diff*/) override {}
void JustEngagedWith(Unit* /*who*/) override {}
void DamageTaken(Unit* /*who*/, uint32& damage, DamageEffectType /*damagetype*/, SpellSchoolMask /*damageSchoolMask*/) override { damage = 0; }
Creature* SelectRandomSkullPile()
{
std::list<Creature*> triggers;
me->GetCreatureListWithEntryInGrid(triggers, NPC_TRIGGER, 150.0f);
// Remove triggers that are on live side or soul triggers on the platform
triggers.remove_if([](Creature* trigger){
return ((trigger->GetPositionY() < POS_Y_GATE) || (trigger->GetPositionZ() > 280.0f));
});
if (!triggers.empty())
{
std::list<Creature*>::iterator itr = triggers.begin();
std::advance(itr, urand(0, triggers.size() - 1));
return *itr;
}
return nullptr;
}
void SpellHit(Unit* /*caster*/, SpellInfo const* spell) override
{
if (!spell)
{
return;
}
switch (spell->Id)
{
case SPELL_ANCHOR_1_TRAINEE:
DoCastAOE(SPELL_ANCHOR_2_TRAINEE, true);
break;
case SPELL_ANCHOR_1_DK:
DoCastAOE(SPELL_ANCHOR_2_DK, true);
break;
case SPELL_ANCHOR_1_RIDER:
DoCastAOE(SPELL_ANCHOR_2_RIDER, true);
break;
case SPELL_ANCHOR_2_TRAINEE:
if (Creature* target = SelectRandomSkullPile())
{
DoCast(target, SPELL_SKULLS_TRAINEE, true);
}
break;
case SPELL_ANCHOR_2_DK:
if (Creature* target = SelectRandomSkullPile())
{
DoCast(target, SPELL_SKULLS_DK, true);
}
break;
case SPELL_ANCHOR_2_RIDER:
if (Creature* target = SelectRandomSkullPile())
{
DoCast(target, SPELL_SKULLS_RIDER, true);
}
break;
case SPELL_SKULLS_TRAINEE:
DoSummon(NPC_DEAD_TRAINEE, me, 0.0f, 15 * IN_MILLISECONDS, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
break;
case SPELL_SKULLS_DK:
DoSummon(NPC_DEAD_KNIGHT, me, 0.0f, 15 * IN_MILLISECONDS, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
break;
case SPELL_SKULLS_RIDER:
DoSummon(NPC_DEAD_RIDER, me, 0.0f, 15 * IN_MILLISECONDS, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
DoSummon(NPC_DEAD_HORSE, me, 0.0f, 15 * IN_MILLISECONDS, TEMPSUMMON_CORPSE_TIMED_DESPAWN);
break;
}
}
// dead side summons are "owned" by gothik
void JustSummoned(Creature* summon) override
{
if (Creature* gothik = ObjectAccessor::GetCreature(*me, me->GetInstanceScript()->GetGuidData(DATA_GOTHIK_BOSS)))
{
gothik->AI()->JustSummoned(summon);
}
}
void SummonedCreatureDespawn(Creature* summon) override
{
if (Creature* gothik = ObjectAccessor::GetCreature(*me, me->GetInstanceScript()->GetGuidData(DATA_GOTHIK_BOSS)))
{
gothik->AI()->SummonedCreatureDespawn(summon);
}
}
};
};
class spell_gothik_shadow_bolt_volley : public SpellScript class spell_gothik_shadow_bolt_volley : public SpellScript
{ {
PrepareSpellScript(spell_gothik_shadow_bolt_volley); PrepareSpellScript(spell_gothik_shadow_bolt_volley);
@@ -703,5 +803,6 @@ void AddSC_boss_gothik_40()
{ {
new boss_gothik_40(); new boss_gothik_40();
new npc_boss_gothik_minion_40(); new npc_boss_gothik_minion_40();
new npc_gothik_trigger_40();
// RegisterSpellScript(spell_gothik_shadow_bolt_volley); // RegisterSpellScript(spell_gothik_shadow_bolt_volley);
} }

View File

@@ -32,7 +32,6 @@ enum Spells
SPELL_SLIME_SPRAY = 28157, SPELL_SLIME_SPRAY = 28157,
SPELL_POISON_CLOUD_DAMAGE_AURA = 28158, SPELL_POISON_CLOUD_DAMAGE_AURA = 28158,
SPELL_BERSERK = 26662, SPELL_BERSERK = 26662,
SPELL_BOMBARD_SLIME = 90003 // update summon entry
}; };
enum Emotes enum Emotes

View File

@@ -127,7 +127,7 @@ public:
go->SetGoState(GO_STATE_ACTIVE); go->SetGoState(GO_STATE_ACTIVE);
} }
// Close tunnel door // Close tunnel door
if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE))) if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE_40)))
{ {
go->SetGoState(GO_STATE_READY); go->SetGoState(GO_STATE_READY);
} }
@@ -164,12 +164,12 @@ public:
go->SetGoState(GO_STATE_READY); go->SetGoState(GO_STATE_READY);
} }
// Open tunnel door // Open tunnel door
if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE))) if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE_40)))
{ {
go->SetGoState(GO_STATE_ACTIVE); go->SetGoState(GO_STATE_ACTIVE);
} }
// Close loatheb door // Close loatheb door
if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE_OLD))) if (GameObject* go = me->GetMap()->GetGameObject(pInstance->GetGuidData(DATA_HEIGAN_EXIT_GATE_OLD_40)))
{ {
go->SetGoState(GO_STATE_READY); go->SetGoState(GO_STATE_READY);
} }

View File

@@ -22,7 +22,6 @@
enum Spells enum Spells
{ {
SPELL_NECROTIC_AURA = 55593, SPELL_NECROTIC_AURA = 55593,
SPELL_SUMMON_SPORE = 90006,
SPELL_DEATHBLOOM = 29865, SPELL_DEATHBLOOM = 29865,
SPELL_INEVITABLE_DOOM = 29204, SPELL_INEVITABLE_DOOM = 29204,
SPELL_BERSERK = 26662 SPELL_BERSERK = 26662

View File

@@ -32,7 +32,6 @@ enum Spells
SPELL_FRENZY = 54123, SPELL_FRENZY = 54123,
SPELL_WEB_WRAP_STUN = 28622, SPELL_WEB_WRAP_STUN = 28622,
SPELL_WEB_WRAP_SUMMON = 28627, SPELL_WEB_WRAP_SUMMON = 28627,
SPELL_WEB_WRAP_SUMMON_40 = 90007, // custom summon entry: 16486 -> 351075
SPELL_WEB_WRAP_PACIFY_5 = 28618 SPELL_WEB_WRAP_PACIFY_5 = 28618
}; };

View File

@@ -15,10 +15,8 @@
* with this program. If not, see <http://www.gnu.org/licenses/>. * with this program. If not, see <http://www.gnu.org/licenses/>.
*/ */
#include "ScriptMgr.h" #include "CreatureScript.h"
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "SpellScript.h"
#include "SpellScriptLoader.h"
#include "naxxramas.h" #include "naxxramas.h"
enum Says enum Says
@@ -26,7 +24,10 @@ enum Says
SAY_AGGRO = 0, SAY_AGGRO = 0,
SAY_SLAY = 1, SAY_SLAY = 1,
SAY_TAUNTED = 2, SAY_TAUNTED = 2,
SAY_DEATH = 3 SAY_DEATH = 3,
SAY_PATHETIC = 4,
SAY_TARGET_DUMMY = 5,
SAY_DEATH_KNIGHT_UNDERSTUDY = 0,
}; };
enum Spells enum Spells
@@ -35,7 +36,6 @@ enum Spells
SPELL_DISRUPTING_SHOUT = 29107, SPELL_DISRUPTING_SHOUT = 29107,
SPELL_JAGGED_KNIFE = 55550, SPELL_JAGGED_KNIFE = 55550,
SPELL_HOPELESS = 29125, SPELL_HOPELESS = 29125,
SPELL_TAUNT = 29060 SPELL_TAUNT = 29060
}; };
@@ -46,10 +46,25 @@ enum Events
EVENT_JAGGED_KNIFE = 3 EVENT_JAGGED_KNIFE = 3
}; };
enum Misc enum NPCs
{ {
NPC_DEATH_KNIGHT_UNDERSTUDY = 351084, NPC_DEATH_KNIGHT_UNDERSTUDY = 351084,
NPC_RAZUVIOUS = 351036 NPC_TARGET_DUMMY = 16211,
};
enum Actions
{
ACTION_FACE_ME = 0,
ACTION_TALK = 1,
ACTION_EMOTE = 2,
ACTION_SALUTE = 3,
ACTION_BACK_TO_TRAINING = 4,
};
enum Misc
{
GROUP_OOC_RP = 0,
POINT_DEATH_KNIGHT = 0,
}; };
class boss_razuvious_40 : public CreatureScript class boss_razuvious_40 : public CreatureScript
@@ -94,6 +109,99 @@ public:
summons.DespawnAll(); summons.DespawnAll();
events.Reset(); events.Reset();
SpawnHelpers(); SpawnHelpers();
ScheduleRP();
}
void ScheduleInteractWithDeathKnight()
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
me->SetFacingToObject(understudy);
scheduler.Schedule(2s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (roll_chance_i(75))
{
bool longText = roll_chance_i(50);
Talk(longText ? SAY_TARGET_DUMMY : SAY_PATHETIC);
scheduler.Schedule(4s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
understudy->AI()->DoAction(ACTION_TALK);
});
if (longText)
scheduler.DelayGroup(GROUP_OOC_RP, 5s);
}
else
{
me->HandleEmoteCommand(EMOTE_ONESHOT_EXCLAMATION);
scheduler.Schedule(4s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
{
if (roll_chance_i(25))
understudy->AI()->DoAction(ACTION_EMOTE);
else
understudy->AI()->DoAction(ACTION_TALK);
}
});
}
}).Schedule(4s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
understudy->AI()->DoAction(ACTION_FACE_ME);
}).Schedule(10s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
understudy->AI()->DoAction(ACTION_SALUTE);
}).Schedule(13s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
me->ResumeMovement();
}).Schedule(16s, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
understudy->AI()->DoAction(ACTION_BACK_TO_TRAINING);
ScheduleRP();
});
}
void MovementInform(uint32 type, uint32 id) override
{
if (type == POINT_MOTION_TYPE && id == POINT_DEATH_KNIGHT)
{
ScheduleInteractWithDeathKnight();
}
}
void ScheduleRP()
{
_rpBuddyGUID = Acore::Containers::SelectRandomContainerElement(summons);
scheduler.Schedule(60s, 80s, GROUP_OOC_RP, [this](TaskContext context)
{
if (_rpBuddyGUID)
{
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
{
if (me->GetDistance2d(understudy) <= 6.0f)
{
me->PauseMovement();
scheduler.Schedule(500ms, GROUP_OOC_RP, [this](TaskContext /*context*/)
{
if (_rpBuddyGUID)
if (Creature* understudy = ObjectAccessor::GetCreature(*me, _rpBuddyGUID))
me->GetMotionMaster()->MovePoint(POINT_DEATH_KNIGHT, understudy->GetNearPosition(3.2f, understudy->GetRelativeAngle(me)));
});
return;
}
}
}
context.Repeat(2s);
});
} }
void KilledUnit(Unit* who) override void KilledUnit(Unit* who) override
@@ -135,16 +243,19 @@ public:
void JustEngagedWith(Unit* who) override void JustEngagedWith(Unit* who) override
{ {
BossAI::JustEngagedWith(who); BossAI::JustEngagedWith(who);
scheduler.CancelGroup(GROUP_OOC_RP);
Talk(SAY_AGGRO); Talk(SAY_AGGRO);
events.ScheduleEvent(EVENT_UNBALANCING_STRIKE, 20000); // TODO: This can be 30 seconds to match vanilla events.ScheduleEvent(EVENT_UNBALANCING_STRIKE, 20s); // TODO: This can be 30 seconds to match vanilla
events.ScheduleEvent(EVENT_DISRUPTING_SHOUT, 5s); events.ScheduleEvent(EVENT_DISRUPTING_SHOUT, 15s);
// events.ScheduleEvent(EVENT_DISRUPTING_SHOUT, 15s); // events.ScheduleEvent(EVENT_JAGGED_KNIFE, 10s); // wrath only
//events.ScheduleEvent(EVENT_JAGGED_KNIFE, 10000); // New wrath mechanic
summons.DoZoneInCombat(); summons.DoZoneInCombat();
} }
void UpdateAI(uint32 diff) override void UpdateAI(uint32 diff) override
{ {
if (!me->IsInCombat())
scheduler.Update(diff);
if (!UpdateVictim()) if (!UpdateVictim())
return; return;
@@ -156,22 +267,25 @@ public:
{ {
case EVENT_UNBALANCING_STRIKE: case EVENT_UNBALANCING_STRIKE:
me->CastSpell(me->GetVictim(), SPELL_UNBALANCING_STRIKE, false); me->CastSpell(me->GetVictim(), SPELL_UNBALANCING_STRIKE, false);
events.RepeatEvent(20000); events.Repeat(20s);
break; break;
case EVENT_DISRUPTING_SHOUT: case EVENT_DISRUPTING_SHOUT:
me->CastSpell(me, SPELL_DISRUPTING_SHOUT, false); me->CastSpell(me, SPELL_DISRUPTING_SHOUT, false);
events.RepeatEvent(10000); events.Repeat(10s);
break; break;
case EVENT_JAGGED_KNIFE: case EVENT_JAGGED_KNIFE:
if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 45.0f)) if (Unit* target = SelectTarget(SelectTargetMethod::Random, 0, 45.0f))
{ {
me->CastSpell(target, SPELL_JAGGED_KNIFE, false); me->CastSpell(target, SPELL_JAGGED_KNIFE, false);
} }
events.RepeatEvent(10000); events.Repeat(10s);
break; break;
} }
DoMeleeAttackIfReady(); DoMeleeAttackIfReady();
} }
private:
ObjectGuid _rpBuddyGUID;
}; };
}; };
@@ -180,20 +294,65 @@ class boss_razuvious_minion_40 : public CreatureScript
public: public:
boss_razuvious_minion_40() : CreatureScript("boss_razuvious_minion_40") { } boss_razuvious_minion_40() : CreatureScript("boss_razuvious_minion_40") { }
CreatureAI* GetAI(Creature* pCreature) const override CreatureAI* GetAI(Creature* creature) const override
{ {
return GetNaxxramasAI<boss_razuvious_minion_40AI>(pCreature); return GetNaxxramasAI<boss_razuvious_minion_40AI>(creature);
} }
struct boss_razuvious_minion_40AI : public ScriptedAI struct boss_razuvious_minion_40AI : public ScriptedAI
{ {
explicit boss_razuvious_minion_40AI(Creature* c) : ScriptedAI(c) { } explicit boss_razuvious_minion_40AI(Creature* creature) : ScriptedAI(creature) { }
EventMap events;
void Reset() override void Reset() override
{ {
events.Reset(); scheduler.CancelAll();
ScheduleAttackDummy();
}
void ScheduleAttackDummy()
{
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_READY1H);
if (Creature* targetDummy = me->FindNearestCreature(NPC_TARGET_DUMMY, 10.0f))
{
me->SetFacingToObject(targetDummy);
}
scheduler.Schedule(6s, 9s, GROUP_OOC_RP, [this](TaskContext context)
{
me->HandleEmoteCommand(EMOTE_ONESHOT_ATTACK1H);
context.Repeat(6s, 9s);
});
}
void DoAction(int32 action) override
{
switch (action)
{
case ACTION_FACE_ME:
scheduler.CancelGroup(GROUP_OOC_RP);
me->SetSheath(SHEATH_STATE_UNARMED);
me->SetUInt32Value(UNIT_NPC_EMOTESTATE, EMOTE_STATE_NONE);
if (InstanceScript* instance = me->GetInstanceScript())
{
if (Creature* creature = instance->GetCreature(DATA_RAZUVIOUS_40))
{
me->SetFacingToObject(creature);
}
}
break;
case ACTION_TALK:
Talk(SAY_DEATH_KNIGHT_UNDERSTUDY);
break;
case ACTION_EMOTE:
me->HandleEmoteCommand(EMOTE_ONESHOT_TALK);
break;
case ACTION_SALUTE:
me->HandleEmoteCommand(EMOTE_ONESHOT_SALUTE);
break;
case ACTION_BACK_TO_TRAINING:
me->SetSheath(SHEATH_STATE_MELEE);
ScheduleAttackDummy();
break;
}
} }
void KilledUnit(Unit* who) override void KilledUnit(Unit* who) override
@@ -206,18 +365,23 @@ public:
void JustEngagedWith(Unit* who) override void JustEngagedWith(Unit* who) override
{ {
if (Creature* cr = me->FindNearestCreature(NPC_RAZUVIOUS, 100.0f)) scheduler.CancelGroup(GROUP_OOC_RP);
if (InstanceScript* instance = me->GetInstanceScript())
{ {
cr->SetInCombatWithZone(); if (Creature* creature = instance->GetCreature(DATA_RAZUVIOUS_40))
cr->AI()->AttackStart(who); {
creature->SetInCombatWithZone();
creature->AI()->AttackStart(who);
}
} }
} }
void UpdateAI(uint32 diff) override void UpdateAI(uint32 diff) override
{ {
scheduler.Update(diff);
if (UpdateVictim()) if (UpdateVictim())
{ {
events.Update(diff);
if (!me->HasUnitState(UNIT_STATE_CASTING) || !me->IsCharmed()) if (!me->HasUnitState(UNIT_STATE_CASTING) || !me->IsCharmed())
{ {
DoMeleeAttackIfReady(); DoMeleeAttackIfReady();

View File

@@ -753,31 +753,6 @@ public:
} }
}; };
class spell_feugen_static_field : public SpellScript
{
PrepareSpellScript(spell_feugen_static_field);
void HandleDamageCalc(SpellEffIndex /*effIndex*/)
{
Unit* caster = GetCaster();
if (!caster || (caster->GetMap()->GetDifficulty() != RAID_DIFFICULTY_10MAN_HEROIC))
{
return;
}
if (Unit* target = GetHitUnit())
{
Powers PowerType = POWER_MANA;
int32 drainedAmount = -target->ModifyPower(PowerType, -500);
SetEffectValue(drainedAmount);
}
}
void Register() override
{
OnEffectLaunchTarget += SpellEffectFn(spell_feugen_static_field::HandleDamageCalc, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};
void AddSC_boss_thaddius_40() void AddSC_boss_thaddius_40()
{ {
new boss_thaddius_40(); new boss_thaddius_40();
@@ -786,5 +761,4 @@ void AddSC_boss_thaddius_40()
RegisterSpellScript(spell_thaddius_pos_neg_charge); RegisterSpellScript(spell_thaddius_pos_neg_charge);
// RegisterSpellScript(spell_thaddius_polarity_shift); // RegisterSpellScript(spell_thaddius_polarity_shift);
// new at_thaddius_entrance(); // new at_thaddius_entrance();
RegisterSpellScript(spell_feugen_static_field);
} }

View File

@@ -331,6 +331,31 @@ class spell_disease_cloud_damage_40 : public SpellScript
} }
}; };
class spell_feugen_static_field_40 : public SpellScript
{
PrepareSpellScript(spell_feugen_static_field_40);
void HandleDamageCalc(SpellEffIndex /*effIndex*/)
{
Unit* caster = GetCaster();
if (!caster || (caster->GetMap()->GetDifficulty() != RAID_DIFFICULTY_10MAN_HEROIC))
{
return;
}
if (Unit* target = GetHitUnit())
{
Powers PowerType = POWER_MANA;
int32 drainedAmount = -target->ModifyPower(PowerType, -500);
SetEffectValue(drainedAmount);
}
}
void Register() override
{
OnEffectLaunchTarget += SpellEffectFn(spell_feugen_static_field_40::HandleDamageCalc, EFFECT_0, SPELL_EFFECT_SCHOOL_DAMAGE);
}
};
void AddSC_custom_spells_40() void AddSC_custom_spells_40()
{ {
RegisterSpellScript(spell_anub_locust_swarm_aura_40); RegisterSpellScript(spell_anub_locust_swarm_aura_40);
@@ -344,4 +369,5 @@ void AddSC_custom_spells_40()
RegisterSpellScript(spell_razuvious_disrupting_shout_40); RegisterSpellScript(spell_razuvious_disrupting_shout_40);
RegisterSpellScript(spell_unholy_staff_arcane_explosion_40); RegisterSpellScript(spell_unholy_staff_arcane_explosion_40);
RegisterSpellScript(spell_disease_cloud_damage_40); RegisterSpellScript(spell_disease_cloud_damage_40);
RegisterSpellScript(spell_feugen_static_field_40);
} }

View File

@@ -23,7 +23,6 @@
#include "ScriptedCreature.h" #include "ScriptedCreature.h"
#include "DBCEnums.h" #include "DBCEnums.h"
#include "ObjectMgr.h" #include "ObjectMgr.h"
#include "GameObjectAI.h"
#include "naxxramas.h" #include "naxxramas.h"
const float HeiganPos[2] = {2796, -3707}; const float HeiganPos[2] = {2796, -3707};
@@ -53,6 +52,18 @@ inline uint8 GetEruptionSection(float x, float y)
return 3; return 3;
} }
ObjectData const creatureData[] =
{
{ NPC_RAZUVIOUS, DATA_RAZUVIOUS },
{ NPC_RAZUVIOUS_40, DATA_RAZUVIOUS_40 },
{ 0, 0 }
};
ObjectData const gameObjectData[] =
{
{ 0, 0 }
};
class instance_naxxramas_combined : public InstanceMapScript class instance_naxxramas_combined : public InstanceMapScript
{ {
public: public:
@@ -67,7 +78,9 @@ public:
{ {
explicit instance_naxxramas_combined_InstanceMapScript(Map* pMap) : InstanceScript(pMap) explicit instance_naxxramas_combined_InstanceMapScript(Map* pMap) : InstanceScript(pMap)
{ {
SetHeaders(DataHeader);
SetBossNumber(MAX_ENCOUNTERS); SetBossNumber(MAX_ENCOUNTERS);
LoadObjectData(creatureData, gameObjectData);
for (auto& i : HeiganEruption) for (auto& i : HeiganEruption)
i.clear(); i.clear();
@@ -141,6 +154,7 @@ public:
GuidList HeiganBackRoomAdds; GuidList HeiganBackRoomAdds;
ObjectGuid _patchwerkGUID; ObjectGuid _patchwerkGUID;
ObjectGuid _thaddiusGUID; ObjectGuid _thaddiusGUID;
ObjectGuid _gothikGUID;
ObjectGuid _stalaggGUID; ObjectGuid _stalaggGUID;
ObjectGuid _feugenGUID; ObjectGuid _feugenGUID;
ObjectGuid _zeliekGUID; ObjectGuid _zeliekGUID;
@@ -252,6 +266,9 @@ public:
case NPC_FEUGEN: case NPC_FEUGEN:
_feugenGUID = creature->GetGUID(); _feugenGUID = creature->GetGUID();
return; return;
case NPC_GOTHIK:
_gothikGUID = creature->GetGUID();
return;
case NPC_LADY_BLAUMEUX: case NPC_LADY_BLAUMEUX:
_blaumeuxGUID = creature->GetGUID(); _blaumeuxGUID = creature->GetGUID();
return; return;
@@ -274,6 +291,9 @@ public:
_lichkingGUID = creature->GetGUID(); _lichkingGUID = creature->GetGUID();
return; return;
// Naxx 40 NPCs // Naxx 40 NPCs
case NPC_GOTHIK_40:
_gothikGUID = creature->GetGUID();
return;
case NPC_PATCHWERK_40: case NPC_PATCHWERK_40:
_patchwerkGUID = creature->GetGUID(); _patchwerkGUID = creature->GetGUID();
return; return;
@@ -328,6 +348,8 @@ public:
creature->SetStandState(UNIT_STAND_STATE_DEAD); creature->SetStandState(UNIT_STAND_STATE_DEAD);
return; return;
} }
InstanceScript::OnCreatureCreate(creature);
} }
void OnGameObjectCreate(GameObject* pGo) override void OnGameObjectCreate(GameObject* pGo) override
@@ -585,6 +607,8 @@ public:
} }
break; break;
} }
InstanceScript::OnGameObjectCreate(pGo);
} }
void OnGameObjectRemove(GameObject* pGo) override void OnGameObjectRemove(GameObject* pGo) override
@@ -723,7 +747,7 @@ public:
case DATA_HEIGAN_ERUPTION: case DATA_HEIGAN_ERUPTION:
HeiganEruptSections(data); HeiganEruptSections(data);
return; return;
case DATA_HEIGAN_ERUPTION_TUNNEL: case DATA_HEIGAN_ERUPTION_TUNNEL_40:
HeiganEruptSectionsTunnel(); HeiganEruptSectionsTunnel();
return; return;
case DATA_HAD_THADDIUS_GREET: case DATA_HAD_THADDIUS_GREET:
@@ -1192,9 +1216,9 @@ public:
// GameObjects // GameObjects
case DATA_HEIGAN_ENTER_GATE: case DATA_HEIGAN_ENTER_GATE:
return _heiganGateGUID; return _heiganGateGUID;
case DATA_HEIGAN_EXIT_GATE_OLD: case DATA_HEIGAN_EXIT_GATE_OLD_40:
return _heiganGateExitOldGUID; return _heiganGateExitOldGUID;
case DATA_HEIGAN_EXIT_GATE: case DATA_HEIGAN_EXIT_GATE_40:
return _heiganGateExitGUID; return _heiganGateExitGUID;
case DATA_LOATHEB_GATE: case DATA_LOATHEB_GATE:
return _loathebGateGUID; return _loathebGateGUID;
@@ -1236,6 +1260,8 @@ public:
return _stalaggGUID; return _stalaggGUID;
case DATA_FEUGEN_BOSS: case DATA_FEUGEN_BOSS:
return _feugenGUID; return _feugenGUID;
case DATA_GOTHIK_BOSS:
return _gothikGUID;
case DATA_LICH_KING_BOSS: case DATA_LICH_KING_BOSS:
return _lichkingGUID; return _lichkingGUID;
default: default:
@@ -1328,6 +1354,39 @@ public:
}; };
}; };
const Position sapphironEntryTP = { 3498.300049f, -5349.490234f, 144.968002f, 1.3698910f };
class at_naxxramas_hub_portal : public AreaTriggerScript
{
public:
at_naxxramas_hub_portal() : AreaTriggerScript("at_naxxramas_hub_portal") { }
bool OnTrigger(Player* player, AreaTrigger const* /*areaTrigger*/) override
{
if (player->GetMap()->GetSpawnMode() == RAID_DIFFICULTY_10MAN_HEROIC)
{
InstanceScript* instance = player->GetInstanceScript();
for (int i = 0; i < BOSS_SAPPHIRON; ++i)
{
if (instance->GetBossState(i) != DONE)
return false;
}
}
if (player->IsAlive() && !player->IsInCombat())
{
if (InstanceScript *instance = player->GetInstanceScript())
{
if (instance->CheckRequiredBosses(BOSS_SAPPHIRON))
{
player->TeleportTo(533, sapphironEntryTP.m_positionX, sapphironEntryTP.m_positionY, sapphironEntryTP.m_positionZ, sapphironEntryTP.m_orientation);
return true;
}
}
}
return false;
}
};
class NaxxPlayerScript : public PlayerScript class NaxxPlayerScript : public PlayerScript
{ {
public: public:
@@ -1408,39 +1467,6 @@ public:
} }
}; };
const Position sapphironEntryTP = { 3498.300049f, -5349.490234f, 144.968002f, 1.3698910f };
class at_naxxramas_hub_portal : public AreaTriggerScript
{
public:
at_naxxramas_hub_portal() : AreaTriggerScript("at_naxxramas_hub_portal") { }
bool OnTrigger(Player* player, AreaTrigger const* /*areaTrigger*/) override
{
if (player->GetMap()->GetSpawnMode() == RAID_DIFFICULTY_10MAN_HEROIC)
{
InstanceScript* instance = player->GetInstanceScript();
for (int i = 0; i < BOSS_SAPPHIRON; ++i)
{
if (instance->GetBossState(i) != DONE)
return false;
}
}
if (player->IsAlive() && !player->IsInCombat())
{
if (InstanceScript *instance = player->GetInstanceScript())
{
if (instance->CheckRequiredBosses(BOSS_SAPPHIRON))
{
player->TeleportTo(533, sapphironEntryTP.m_positionX, sapphironEntryTP.m_positionY, sapphironEntryTP.m_positionZ, sapphironEntryTP.m_orientation);
return true;
}
}
}
return false;
}
};
class NaxxEntryFlag_AllMapScript : public AllMapScript class NaxxEntryFlag_AllMapScript : public AllMapScript
{ {
public: public:
@@ -1471,10 +1497,10 @@ public:
void AddSC_instance_naxxramas_combined() void AddSC_instance_naxxramas_combined()
{ {
new instance_naxxramas_combined(); new instance_naxxramas_combined();
// new boss_naxxramas_misc();
new at_naxxramas_hub_portal();
new NaxxPlayerScript(); new NaxxPlayerScript();
new naxx_exit_trigger(); new naxx_exit_trigger();
new naxx_northrend_entrance(); new naxx_northrend_entrance();
new at_naxxramas_hub_portal();
new NaxxEntryFlag_AllMapScript(); new NaxxEntryFlag_AllMapScript();
// new boss_naxxramas_misc();
} }

View File

@@ -20,6 +20,9 @@
#include "CreatureAIImpl.h" #include "CreatureAIImpl.h"
#include "SpellScript.h" #include "SpellScript.h"
#include "naxxramas_40.h"
#define DataHeader "NAX"
#define NaxxramasScriptName "instance_naxxramas" #define NaxxramasScriptName "instance_naxxramas"
@@ -56,28 +59,27 @@ enum NXData
DATA_STALAGG_BOSS = 108, DATA_STALAGG_BOSS = 108,
DATA_FEUGEN_BOSS = 109, DATA_FEUGEN_BOSS = 109,
DATA_THADDIUS_GATE = 110, DATA_THADDIUS_GATE = 110,
DATA_GOTHIK_ENTER_GATE = 111, DATA_RAZUVIOUS = 111, //
DATA_GOTHIK_INNER_GATE = 112, DATA_GOTHIK_BOSS = 112, //
DATA_GOTHIK_EXIT_GATE = 113, DATA_GOTHIK_ENTER_GATE = 113,
DATA_HORSEMEN_GATE = 114, DATA_GOTHIK_INNER_GATE = 114,
DATA_LICH_KING_BOSS = 115, DATA_GOTHIK_EXIT_GATE = 115,
DATA_KELTHUZAD_FLOOR = 116, DATA_HORSEMEN_GATE = 116,
DATA_ABOMINATION_KILLED = 117, DATA_LICH_KING_BOSS = 117,
DATA_FRENZY_REMOVED = 118, DATA_KELTHUZAD_FLOOR = 118,
DATA_CHARGES_CROSSED = 119, DATA_ABOMINATION_KILLED = 119,
DATA_SPORE_KILLED = 120, DATA_FRENZY_REMOVED = 120,
DATA_HUNDRED_CLUB = 121, DATA_CHARGES_CROSSED = 121,
DATA_DANCE_FAIL = 122, DATA_SPORE_KILLED = 122,
DATA_IMMORTAL_FAIL = 123, DATA_HUNDRED_CLUB = 123,
DATA_KELTHUZAD_GATE = 124, DATA_DANCE_FAIL = 124,
DATA_HAD_THADDIUS_GREET = 125, DATA_IMMORTAL_FAIL = 125,
DATA_KELTHUZAD_PORTAL_1 = 126, DATA_KELTHUZAD_GATE = 126,
DATA_KELTHUZAD_PORTAL_2 = 127, DATA_HAD_THADDIUS_GREET = 127,
DATA_KELTHUZAD_PORTAL_3 = 128, DATA_KELTHUZAD_PORTAL_1 = 128,
DATA_KELTHUZAD_PORTAL_4 = 129, DATA_KELTHUZAD_PORTAL_2 = 129,
DATA_HEIGAN_EXIT_GATE_OLD = 130, DATA_KELTHUZAD_PORTAL_3 = 130,
DATA_HEIGAN_EXIT_GATE = 131, DATA_KELTHUZAD_PORTAL_4 = 131
DATA_HEIGAN_ERUPTION_TUNNEL = 130
}; };
enum NXGOs enum NXGOs
@@ -104,7 +106,6 @@ enum NXGOs
GO_HORSEMEN_CHEST_10 = 181366, GO_HORSEMEN_CHEST_10 = 181366,
GO_HORSEMEN_CHEST_25 = 193426, GO_HORSEMEN_CHEST_25 = 193426,
GO_HORSEMEN_CHEST_40 = 361000,
GO_SAPPHIRON_BIRTH = 181356, GO_SAPPHIRON_BIRTH = 181356,
GO_KELTHUZAD_FLOOR = 181444, GO_KELTHUZAD_FLOOR = 181444,
@@ -130,9 +131,6 @@ enum NXGOs
GO_PLAG_EYE_RAMP_BOSS = 181231, GO_PLAG_EYE_RAMP_BOSS = 181231,
GO_MILI_EYE_RAMP_BOSS = 181230, GO_MILI_EYE_RAMP_BOSS = 181230,
GO_CONS_EYE_RAMP_BOSS = 181232, GO_CONS_EYE_RAMP_BOSS = 181232,
// Gate to enter Naxx 40 from Strath
NAXX_STRATH_GATE = 176424
}; };
enum NXNPCs enum NXNPCs
@@ -142,6 +140,9 @@ enum NXNPCs
NPC_STALAGG = 15929, NPC_STALAGG = 15929,
NPC_FEUGEN = 15930, NPC_FEUGEN = 15930,
// Razuvious
NPC_RAZUVIOUS = 16061,
// Four horseman // Four horseman
NPC_BARON_RIVENDARE = 30549, NPC_BARON_RIVENDARE = 30549,
NPC_SIR_ZELIEK = 16063, NPC_SIR_ZELIEK = 16063,
@@ -168,48 +169,9 @@ enum NXNPCs
NPC_LIVING_MONSTROSITY = 16021, NPC_LIVING_MONSTROSITY = 16021,
NPC_SURGICAL_ASSIST = 16022, NPC_SURGICAL_ASSIST = 16022,
NPC_SLUDGE_BELCHER = 16029, NPC_SLUDGE_BELCHER = 16029,
};
enum NX40NPCs // Gothik
{ NPC_GOTHIK = 16060
// Thaddius
NPC_THADDIUS_40 = 351000,
NPC_STALAGG_40 = 351001,
NPC_FEUGEN_40 = 351002,
// Four horseman
NPC_HIGHLORD_MOGRAINE_40 = 351037,
NPC_SIR_ZELIEK_40 = 351038,
NPC_LADY_BLAUMEUX_40 = 351040,
NPC_THANE_KORTHAZZ_40 = 351039,
// Sapphiron
NPC_SAPPHIRON_40 = 351018,
// Kel'Thuzad
NPC_KELTHUZAD_40 = 351019,
NPC_LICH_KING_40 = 16980,
// Frogger
NPC_LIVING_POISON_40 = 16027,
NPC_NAXXRAMAS_TRIGGER_40 = 16082,
NPC_MR_BIGGLESWORTH_40 = 16998,
// Patchwerk
NPC_PATCHWERK_40 = 351028,
NPC_PATCHWORK_GOLEM_40 = 351021,
NPC_BILE_RETCHER_40 = 351022,
NPC_MAD_SCIENTIST_40 = 351023,
NPC_LIVING_MONSTROSITY_40 = 351024,
NPC_SURGICAL_ASSIST_40 = 351025,
NPC_SLUDGE_BELCHER_40 = 351029,
// Heigan
NPC_ROTTING_MAGGOT_40 = 351034,
NPC_DISEASED_MAGGOT_40 = 351033,
NPC_EYE_STALK_40 = 351090,
NPC_ARCHMAGE_TARSIS = 16381,
}; };
enum NXMisc enum NXMisc
@@ -242,24 +204,6 @@ enum NXEvents
EVENT_FROSTWYRM_WATERFALL_DOOR = 2 EVENT_FROSTWYRM_WATERFALL_DOOR = 2
}; };
enum NXMaps
{
MAP_NAXX = 533,
};
enum NXGraveyards
{
NAXX40_GRAVEYARD = 909
};
enum NXAttunementQuests
{
NAXX40_ATTUNEMENT_1 = 9121,
NAXX40_ATTUNEMENT_2 = 9122,
NAXX40_ATTUNEMENT_3 = 9123,
NAXX40_ENTRANCE_FLAG = 9378
};
template <class AI, class T> template <class AI, class T>
inline AI* GetNaxxramasAI(T* obj) inline AI* GetNaxxramasAI(T* obj)
{ {

View File

@@ -0,0 +1,114 @@
/*
* This file is part of the AzerothCore Project. See AUTHORS file for Copyright information
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU Affero General Public License as published by the
* Free Software Foundation; either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DEF_NAXXRAMAS_40_H
#define DEF_NAXXRAMAS_40_H
enum NX40Spells
{
SPELL_SUMMON_CORPSE_SCRABS_5 = 90001, // Changed from 29105 to Level 60 Mob ID for summon
SPELL_SUMMON_CORPSE_SCRABS_10 = 90002, // Changed from 29105 to Level 60 Mob ID for summon
SPELL_BOMBARD_SLIME = 90003, // update summon entry
SPELL_SUMMON_SPORE = 90006,
SPELL_WEB_WRAP_SUMMON_40 = 90007 // custom summon entry: 16486 -> 351075
};
enum NX40Data
{
DATA_HEIGAN_EXIT_GATE_OLD_40 = 4130,
DATA_HEIGAN_EXIT_GATE_40 = 4131,
DATA_HEIGAN_ERUPTION_TUNNEL_40 = 4132,
DATA_RAZUVIOUS_40 = 4133
};
enum NX40GOs
{
GO_HEIGAN_ENTRY_GATE_40 = 181202,
GO_HEIGAN_EXIT_GATE_40 = 181203,
GO_HEIGAN_EXIT_GATE_OLD_40 = 181496,
GO_HORSEMEN_CHEST_40 = 361000,
// Gate to enter Naxx 40 from Strath
GO_STRATH_GATE_40 = 176424
};
enum NX40NPCs
{
// Thaddius
NPC_THADDIUS_40 = 351000,
NPC_STALAGG_40 = 351001,
NPC_FEUGEN_40 = 351002,
// Razuvious
NPC_RAZUVIOUS_40 = 351036,
// Gothik
NPC_GOTHIK_40 = 351035,
// Four horseman
NPC_HIGHLORD_MOGRAINE_40 = 351037,
NPC_SIR_ZELIEK_40 = 351038,
NPC_LADY_BLAUMEUX_40 = 351040,
NPC_THANE_KORTHAZZ_40 = 351039,
// Sapphiron
NPC_SAPPHIRON_40 = 351018,
// Kel'Thuzad
NPC_KELTHUZAD_40 = 351019,
// NPC_LICH_KING_40 = 16980,
// Frogger
// NPC_LIVING_POISON_40 = 16027,
// NPC_NAXXRAMAS_TRIGGER_40 = 16082,
// NPC_MR_BIGGLESWORTH_40 = 16998,
// Patchwerk
NPC_PATCHWERK_40 = 351028,
NPC_PATCHWORK_GOLEM_40 = 351021,
NPC_BILE_RETCHER_40 = 351022,
NPC_MAD_SCIENTIST_40 = 351023,
NPC_LIVING_MONSTROSITY_40 = 351024,
NPC_SURGICAL_ASSIST_40 = 351025,
NPC_SLUDGE_BELCHER_40 = 351029,
// Heigan
NPC_ROTTING_MAGGOT_40 = 351034,
NPC_DISEASED_MAGGOT_40 = 351033,
NPC_EYE_STALK_40 = 351090,
NPC_ARCHMAGE_TARSIS = 16381,
};
enum NX40Maps
{
MAP_NAXX = 533,
};
enum NX40Graveyards
{
NAXX40_GRAVEYARD = 909
};
enum NX40AttunementQuests
{
NAXX40_ATTUNEMENT_1 = 9121,
NAXX40_ATTUNEMENT_2 = 9122,
NAXX40_ATTUNEMENT_3 = 9123,
NAXX40_ENTRANCE_FLAG = 9378
};
#endif