Skip to content

Commit 009e146

Browse files
authored
Scripts/BlackwingLair: improve Nefarian's summon handling (#31745)
general cleanup that enables the script intended purpose, but this needs much more work
1 parent 8ed8c2e commit 009e146

File tree

4 files changed

+165
-92
lines changed

4 files changed

+165
-92
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
--
2+
DELETE FROM `creature_text` WHERE `CreatureID` = 11583;
3+
INSERT INTO `creature_text` (`CreatureID`, `GroupID`, `ID`, `Text`, `Type`, `Language`, `Probability`, `Emote`, `Duration`, `Sound`, `BroadcastTextId`, `TextRange`, `comment`) VALUES
4+
(11583, 0, 0, 'Well done, my minions. The mortals\' courage begins to wane! Now, let\'s see how they contend with the true Lord of Blackrock Spire!!!', 14, 0, 100, 0, 0, 8288, 9973, 0, 'Nefarian // nefarian SAY_AGGRO'),
5+
(11583, 1, 0, 'Impossible! Rise my minions! Serve your master once more!', 14, 0, 100, 0, 0, 8291, 9883, 0, 'Nefarian // nefarian SAY_RAISE_SKELETONS'),
6+
(11583, 2, 0, 'Worthless $n! Your friends will join you soon enough!', 14, 0, 100, 0, 0, 8293, 9972, 0, 'Nefarian // nefarian SAY_SLAY'),
7+
(11583, 3, 0, 'This cannot be! I am the master here! You mortals are nothing to my kind! Do you hear me? Nothing!', 14, 0, 100, 0, 0, 8292, 9971, 0, 'Nefarian // nefarian SAY_DEATH'),
8+
(11583, 4, 0, 'Mages too? You should be more careful when you play with magic...', 14, 0, 100, 0, 0, 0, 9850, 0, 'Nefarian // nefarian SAY_MAGE'),
9+
(11583, 5, 0, 'Warriors, I know you can hit harder than that! Let\'s see it!', 14, 0, 100, 0, 0, 0, 9855, 0, 'Nefarian // nefarian SAY_WARRIOR'),
10+
(11583, 6, 0, 'Druids and your silly shapeshifting. Lets see it in action!', 14, 0, 100, 0, 0, 0, 9851, 0, 'Nefarian // nefarian SAY_DRUID'),
11+
(11583, 7, 0, 'Priests! If you\'re going to keep healing like that, we might as well make it a little more interesting!', 14, 0, 100, 0, 0, 0, 9848, 0, 'Nefarian // nefarian SAY_PRIEST'),
12+
(11583, 8, 0, 'Paladins... I\'ve heard you have many lives. Show me.', 14, 0, 100, 0, 0, 0, 9853, 0, 'Nefarian // nefarian SAY_PALADIN'),
13+
(11583, 9, 0, 'Shamans, show me what your totems can do!', 14, 0, 100, 0, 0, 0, 9854, 0, 'Nefarian // nefarian SAY_SHAMAN'),
14+
(11583, 10, 0, 'Warlocks, you shouldn\'t be playing with magic you don\'t understand. See what happens?', 14, 0, 100, 0, 0, 0, 9852, 0, 'Nefarian // nefarian SAY_WARLOCK'),
15+
(11583, 11, 0, 'Hunters and your annoying pea-shooters!', 14, 0, 100, 0, 0, 0, 9849, 0, 'Nefarian // nefarian SAY_HUNTER'),
16+
(11583, 12, 0, 'Rogues? Stop hiding and face me!', 14, 0, 100, 0, 0, 0, 9856, 0, 'Nefarian // nefarian SAY_ROGUE'),
17+
(11583, 13, 0, 'Death Knights... get over here!', 14, 0, 100, 0, 0, 0, 30668, 0, 'Nefarian // nefarian SAY_DEATH_KNIGHT'),
18+
(11583, 14, 0, 'Enough! Now you vermin shall feel the force of my birthright, the fury of the earth itself.', 14, 0, 100, 0, 0, 8289, 0, 0, 'Nefarian // nefarian SAY_XHEALTH'),
19+
(11583, 15, 0, 'BURN! You wretches! BURN!', 14, 0, 100, 0, 0, 8290, 9974, 0, 'Nefarian // nefarian SAY_SHADOWFLAME');

src/server/scripts/EasternKingdoms/BlackrockMountain/BlackwingLair/blackwing_lair.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ enum BWLGameObjectIds
7272
GO_CHROMAGGUS_LEVER = 179148,
7373
GO_CHROMAGGUS_DOOR = 179116,
7474
GO_PORTCULLIS_NEFARIAN = 176966,
75-
GO_SUPPRESSION_DEVICE = 179784
75+
GO_SUPPRESSION_DEVICE = 179784,
76+
GO_DRAKONID_BONES = 179804
7677
};
7778

7879
enum BWLEvents
@@ -86,7 +87,8 @@ enum BWLMisc
8687
{
8788
// Razorgore Egg Event
8889
ACTION_PHASE_TWO = 1,
89-
DATA_EGG_EVENT
90+
DATA_EGG_EVENT,
91+
DATA_DRAKONID_BONES
9092
};
9193

9294
template <class AI, class T>

0 commit comments

Comments
 (0)