Skip to content

Commit

Permalink
rename
Browse files Browse the repository at this point in the history
  • Loading branch information
sogladev committed Jul 5, 2024
1 parent f32dad9 commit fd40ac4
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 21 deletions.
6 changes: 3 additions & 3 deletions src/Naxxramas/scripts/boss_heigan_40.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ class boss_heigan_40 : public CreatureScript
go->SetGoState(GO_STATE_ACTIVE);
}
// 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);
}
Expand Down Expand Up @@ -164,12 +164,12 @@ class boss_heigan_40 : public CreatureScript
go->SetGoState(GO_STATE_READY);
}
// 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);
}
// 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);
}
Expand Down
1 change: 0 additions & 1 deletion src/Naxxramas/scripts/boss_loatheb_40.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
enum Spells
{
SPELL_NECROTIC_AURA = 55593,
SPELL_SUMMON_SPORE = 90006,
SPELL_DEATHBLOOM = 29865,
SPELL_INEVITABLE_DOOM = 29204,
SPELL_BERSERK = 26662
Expand Down
1 change: 0 additions & 1 deletion src/Naxxramas/scripts/boss_maexxna_40.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ enum Spells
SPELL_FRENZY = 54123,
SPELL_WEB_WRAP_STUN = 28622,
SPELL_WEB_WRAP_SUMMON = 28627,
SPELL_WEB_WRAP_SUMMON_40 = 90007, // custom summon entry: 16486 -> 351075
SPELL_WEB_WRAP_PACIFY_5 = 28618
};

Expand Down
2 changes: 1 addition & 1 deletion src/Naxxramas/scripts/custom_creatures_40.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class npc_naxx40_area_trigger : public CreatureScript
{
if (isAttuned(player))
{
GameObject* door = me->FindNearestGameObject(NAXX_STRATH_GATE, 100.0f);
GameObject* door = me->FindNearestGameObject(GO_STRATH_GATE_40, 100.0f);
if (door)
{
door->SetGoState(GO_STATE_ACTIVE);
Expand Down
6 changes: 3 additions & 3 deletions src/Naxxramas/scripts/instance_naxxramas.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ class instance_naxxramas_combined : public InstanceMapScript
case DATA_HEIGAN_ERUPTION:
HeiganEruptSections(data);
return;
case DATA_HEIGAN_ERUPTION_TUNNEL:
case DATA_HEIGAN_ERUPTION_TUNNEL_40:
HeiganEruptSectionsTunnel();
return;
case DATA_HAD_THADDIUS_GREET:
Expand Down Expand Up @@ -1191,9 +1191,9 @@ class instance_naxxramas_combined : public InstanceMapScript
// GameObjects
case DATA_HEIGAN_ENTER_GATE:
return _heiganGateGUID;
case DATA_HEIGAN_EXIT_GATE_OLD:
case DATA_HEIGAN_EXIT_GATE_OLD_40:
return _heiganGateExitOldGUID;
case DATA_HEIGAN_EXIT_GATE:
case DATA_HEIGAN_EXIT_GATE_40:
return _heiganGateExitGUID;
case DATA_LOATHEB_GATE:
return _loathebGateGUID;
Expand Down
1 change: 0 additions & 1 deletion src/Naxxramas/scripts/naxxramas.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ enum NXGOs

GO_HORSEMEN_CHEST_10 = 181366,
GO_HORSEMEN_CHEST_25 = 193426,
GO_HORSEMEN_CHEST_40 = 361000,

GO_SAPPHIRON_BIRTH = 181356,
GO_KELTHUZAD_FLOOR = 181444,
Expand Down
24 changes: 13 additions & 11 deletions src/Naxxramas/scripts/naxxramas_40.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,28 @@

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_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_HEIGAN_EXIT_GATE_OLD_40 = 4130,
DATA_HEIGAN_EXIT_GATE_40 = 4131,
DATA_HEIGAN_ERUPTION_TUNNEL_40 = 4132
};

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,
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
GO_STRATH_GATE_40 = 176424
};

enum NX40NPCs
Expand Down

0 comments on commit fd40ac4

Please sign in to comment.