FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3136] Various small updates on the previous commits · lovefancy88/scriptdev2@1b5360e · GitHub

Commit 1b5360e

Browse files
committed
[3136] Various small updates on the previous commits
1 parent 8841653 commit 1b5360e

4 files changed

Lines changed: 21 additions & 6 deletions

File tree

‎scripts/northrend/crusaders_coliseum/trial_of_the_crusader/boss_twin_valkyr.cpp‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,13 +184,15 @@ struct boss_fjolaAI : public ScriptedAI
184184
{
185185
uiSpell = m_bIsLightTwin ? SPELL_LIGHT_VORTEX : SPELL_DARK_VORTEX;
186186
pCaster->CastSpell(pCaster, uiSpell, false);
187+
DoScriptText(m_bIsLightTwin ? SAY_TO_WHITE : SAY_TO_BLACK, pCaster);
187188
}
188189
else
189190
{
190191
uiSpell = m_bIsLightTwin ? SPELL_TWINS_PACT_LIGHT : SPELL_TWINS_PACT_DARK;
191192
uiShieldSpell = m_bIsLightTwin ? SPELL_SHIELD_OF_LIGHTS : SPELL_SHIELD_OF_DARKNESS;
192193
pCaster->CastSpell(pCaster, uiSpell, false);
193194
pCaster->CastSpell(pCaster, uiShieldSpell, true);
195+
DoScriptText(SAY_COLORSWITCH, pCaster);
194196
}
195197

196198
m_bIsVortex = urand(0, 1) ? true : false;
@@ -232,8 +234,13 @@ struct boss_fjolaAI : public ScriptedAI
232234
if (m_pInstance)
233235
{
234236
if (Creature* pEydis = m_pInstance->GetSingleCreatureFromStorage(NPC_EYDIS))
237+
{
235238
pEydis->CastSpell(pEydis, SPELL_BERSERK, true);
239+
DoScriptText(SAY_BERSERK, pEydis);
240+
}
236241
}
242+
243+
DoScriptText(SAY_BERSERK, m_creature);
237244
m_uiBerserkTimer = 0;
238245
}
239246
}

‎scripts/northrend/icecrown_citadel/frozen_halls/halls_of_reflection/halls_of_reflection.h‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ enum
1515

1616
NPC_FALRIC = 38112,
1717
NPC_MARWYN = 38113,
18-
NPC_LICH_KING = 37226,
18+
NPC_LICH_KING = 36954,
19+
NPC_FROSTSWORN_GENERAL = 36723, // miniboss between Marwyn and Lich King
1920

2021
NPC_JAINA_PART1 = 37221,
2122
NPC_JAINA_PART2 = 36955,
@@ -28,16 +29,16 @@ enum
2829

2930
// intro related npcs
3031
NPC_UTHER = 37225,
31-
NPC_LICH_KING_INTRO = 36954,
32+
NPC_LICH_KING_INTRO = 37226,
3233
NPC_FROSTMOURNE_ALTER_BUNNY = 37704, // dummy trigger for Quel'Delar
3334
NPC_QUEL_DELAR = 37158,
3435

3536
// spirit event creatures
36-
NPC_SPECTRAL_FOOTMAN = 38173,
37-
NPC_SHADOWY_MERCENARY = 38177,
3837
NPC_PHANTOM_MAGE = 38172,
38+
NPC_SPECTRAL_FOOTMAN = 38173,
3939
NPC_GHOSTLY_PRIEST = 38175,
4040
NPC_TORTURED_RIFLEMAN = 38176,
41+
NPC_SHADOWY_MERCENARY = 38177,
4142

4243
// escape event creatures
4344
NPC_RAGING_GHOUL = 36940,
@@ -67,6 +68,10 @@ enum
6768
// world states
6869
WORLD_STATE_SPIRIT_WAVES = 4884,
6970
WORLD_STATE_SPIRIT_WAVES_COUNT = 4882,
71+
72+
// area triggers
73+
AREATRIGGER_FROSTMOURNE_ALTAR = 5697,
74+
AREATRIGGER_LICH_KING_ROOM = 5605,
7075
};
7176

7277
struct EventNpcLocations

‎scripts/northrend/icecrown_citadel/frozen_halls/halls_of_reflection/instance_halls_of_reflection.cpp‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,13 @@ void instance_halls_of_reflection::OnObjectCreate(GameObject* pGo)
7272
{
7373
switch (pGo->GetEntry())
7474
{
75+
case GO_IMPENETRABLE_DOOR:
76+
if (m_auiEncounter[TYPE_MARWYN] == DONE)
77+
pGo->SetGoState(GO_STATE_ACTIVE);
78+
break;
7579
case GO_FROSTMOURNE:
7680
case GO_FROSTMOURNE_ALTAR:
7781
case GO_ICECROWN_DOOR_ENTRANCE:
78-
case GO_IMPENETRABLE_DOOR:
7982
case GO_ICECROWN_DOOR_LK_ENTRANCE:
8083
case GO_ICECROWN_DOOR_LK_EXIT:
8184
case GO_CAVE_IN:

‎sd2_revision_nr.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#ifndef __SD2_REVISION_NR_H__
22
#define __SD2_REVISION_NR_H__
3-
#define SD2_REVISION_NR "3135"
3+
#define SD2_REVISION_NR "3136"
44
#endif // __SD2_REVISION_NR_H__

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL