Skip to content

Commit dde4541

Browse files
authored
Scripts/Magisters Terrace: Update scripts (TrinityCore#31036)
* rewrite Kalec's event * unique enum names, comments for scriptnames for Kael * new register model for Delrissa * new register model for Selin and one missing spell added * several changes for Vexallus
1 parent 5dfec1d commit dde4541

File tree

8 files changed

+1175
-1256
lines changed

8 files changed

+1175
-1256
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
-- Kalec
2+
UPDATE `creature_template` SET `unit_flags` = 0 WHERE `entry` = 24844;
3+
UPDATE `creature_template` SET `ScriptName` = '' WHERE `entry` = 24848;
4+
UPDATE `waypoint_data` SET `orientation` = NULL WHERE `id` = 248440 AND `point` = 8;
5+
UPDATE `waypoint_data` SET `move_type` = 1 WHERE `id` = 248440;
6+
7+
-- Vexallus
8+
DELETE FROM `spell_script_names` WHERE `ScriptName` IN (
9+
'spell_vexallus_clear_energy_feedback',
10+
'spell_vexallus_energy_feedback');
11+
INSERT INTO `spell_script_names` (`spell_id`, `ScriptName`) VALUES
12+
(47108, 'spell_vexallus_clear_energy_feedback'),
13+
(44328, 'spell_vexallus_energy_feedback');
14+
15+
DELETE FROM `creature_text` WHERE `CreatureID` = 24744 AND `GroupID` = 5;
16+
INSERT INTO `creature_text` (`CreatureID`,`GroupID`,`ID`,`Text`,`Type`,`Language`,`Probability`,`Emote`,`Duration`,`Sound`,`BroadcastTextId`,`TextRange`,`comment`) VALUES
17+
(24744,5,0,"Vexallus overloads!",41,0,100,0,0,0,23781,0,"vexallus EMOTE_OVERLOAD");

src/server/scripts/EasternKingdoms/MagistersTerrace/boss_felblood_kaelthas.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include "SpellInfo.h"
2828
#include "TemporarySummon.h"
2929

30-
enum Says
30+
enum KaelthasTexts
3131
{
3232
// Kael'thas Sunstrider
3333
SAY_INTRO_1 = 0,
@@ -41,7 +41,7 @@ enum Says
4141
SAY_DEATH = 8
4242
};
4343

44-
enum Spells
44+
enum KaelthasSpells
4545
{
4646
// Kael'thas Sunstrider
4747
SPELL_FIREBALL = 44189,
@@ -89,7 +89,7 @@ uint32 gravityLapseTeleportSpells[] =
8989

9090
#define SPELL_GRAVITY_LAPSE_DAMAGE RAID_MODE<uint32>(49887, 44226)
9191

92-
enum Events
92+
enum KaelthasEvents
9393
{
9494
// Kael'thas Sunstrider
9595
EVENT_TALK_INTRO_1 = 1,
@@ -120,14 +120,15 @@ enum Events
120120
EVENT_PREPARE_REENGAGE
121121
};
122122

123-
enum Phases
123+
enum KaelthasPhases
124124
{
125125
PHASE_INTRO = 0,
126126
PHASE_ONE = 1,
127127
PHASE_TWO = 2,
128128
PHASE_OUTRO = 3
129129
};
130130

131+
// 24664 - Kael'thas Sunstrider
131132
struct boss_felblood_kaelthas : public BossAI
132133
{
133134
boss_felblood_kaelthas(Creature* creature) : BossAI(creature, DATA_KAELTHAS_SUNSTRIDER)
@@ -380,6 +381,7 @@ struct boss_felblood_kaelthas : public BossAI
380381
bool _firstGravityLapse;
381382
};
382383

384+
// 24674 - Phoenix
383385
struct npc_felblood_kaelthas_phoenix : public ScriptedAI
384386
{
385387
npc_felblood_kaelthas_phoenix(Creature* creature) : ScriptedAI(creature), _instance(creature->GetInstanceScript())

0 commit comments

Comments
 (0)