mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-06 00:48:39 +01:00
Scripts/Icecrown Citadel: Added sigil visuals in the Upper Spire
This commit is contained in:
@@ -208,6 +208,7 @@ enum GameObjectsIds
|
||||
GO_DOODAD_ICECROWN_GREENTUBES02 = 201618,
|
||||
GO_SCIENTIST_ENTRANCE = 201372,
|
||||
GO_DRINK_ME = 201584,
|
||||
GO_PLAGUE_SIGIL = 202182,
|
||||
|
||||
// Blood Prince Council
|
||||
GO_CRIMSON_HALL_DOOR = 201376,
|
||||
@@ -217,6 +218,7 @@ enum GameObjectsIds
|
||||
// Blood-Queen Lana'thel
|
||||
GO_DOODAD_ICECROWN_BLOODPRINCE_DOOR_01 = 201746,
|
||||
GO_DOODAD_ICECROWN_GRATE_01 = 201755,
|
||||
GO_BLOODWING_SIGIL = 202183,
|
||||
|
||||
// Valithria Dreamwalker
|
||||
GO_GREEN_DRAGON_BOSS_ENTRANCE = 201375,
|
||||
@@ -228,6 +230,7 @@ enum GameObjectsIds
|
||||
GO_SINDRAGOSA_SHORTCUT_EXIT_DOOR = 201379,
|
||||
GO_ICE_WALL = 202396,
|
||||
GO_ICE_BLOCK = 201722,
|
||||
GO_SIGIL_OF_THE_FROSTWING = 202181,
|
||||
};
|
||||
|
||||
enum AchievementCriteriaIds
|
||||
|
||||
@@ -79,6 +79,9 @@ class instance_icecrown_citadel : public InstanceMapScript
|
||||
saurfangEventNPC = 0;
|
||||
deathbringersCache = 0;
|
||||
saurfangTeleport = 0;
|
||||
plagueSigil = 0;
|
||||
bloodwingSigil = 0;
|
||||
frostwingSigil = 0;
|
||||
memset(putricidePipes, 0, 2*sizeof(uint64));
|
||||
memset(putricideGates, 0, 2*sizeof(uint64));
|
||||
putricideCollision = 0;
|
||||
@@ -297,6 +300,21 @@ class instance_icecrown_citadel : public InstanceMapScript
|
||||
case GO_SCOURGE_TRANSPORTER_SAURFANG:
|
||||
saurfangTeleport = go->GetGUID();
|
||||
break;
|
||||
case GO_PLAGUE_SIGIL:
|
||||
plagueSigil = go->GetGUID();
|
||||
if (GetBossState(DATA_PROFESSOR_PUTRICIDE))
|
||||
HandleGameObject(plagueSigil, true, go);
|
||||
break;
|
||||
case GO_BLOODWING_SIGIL:
|
||||
bloodwingSigil = go->GetGUID();
|
||||
if (GetBossState(DATA_PROFESSOR_PUTRICIDE))
|
||||
HandleGameObject(bloodwingSigil, true, go);
|
||||
break;
|
||||
case GO_SIGIL_OF_THE_FROSTWING:
|
||||
frostwingSigil = go->GetGUID();
|
||||
if (GetBossState(DATA_PROFESSOR_PUTRICIDE))
|
||||
HandleGameObject(frostwingSigil, true, go);
|
||||
break;
|
||||
case GO_SCIENTIST_AIRLOCK_DOOR_COLLISION:
|
||||
putricideCollision = go->GetGUID();
|
||||
if (GetBossState(DATA_FESTERGUT) == DONE && GetBossState(DATA_ROTFACE) == DONE)
|
||||
@@ -490,8 +508,17 @@ class instance_icecrown_citadel : public InstanceMapScript
|
||||
HandleGameObject(putricidePipes[1], true);
|
||||
}
|
||||
break;
|
||||
case DATA_PROFESSOR_PUTRICIDE:
|
||||
HandleGameObject(plagueSigil, state != DONE);
|
||||
break;
|
||||
case DATA_BLOOD_QUEEN_LANA_THEL:
|
||||
HandleGameObject(bloodwingSigil, state != DONE);
|
||||
break;
|
||||
case DATA_VALITHRIA_DREAMWALKER:
|
||||
break;
|
||||
case DATA_SINDRAGOSA:
|
||||
HandleGameObject(frostwingSigil, state != DONE);
|
||||
break;
|
||||
case DATA_THE_LICH_KING:
|
||||
break;
|
||||
default:
|
||||
@@ -790,6 +817,9 @@ class instance_icecrown_citadel : public InstanceMapScript
|
||||
uint64 saurfangEventNPC; // Muradin Bronzebeard or High Overlord Saurfang
|
||||
uint64 deathbringersCache;
|
||||
uint64 saurfangTeleport;
|
||||
uint64 plagueSigil;
|
||||
uint64 bloodwingSigil;
|
||||
uint64 frostwingSigil;
|
||||
uint64 putricidePipes[2];
|
||||
uint64 putricideGates[2];
|
||||
uint64 putricideCollision;
|
||||
|
||||
Reference in New Issue
Block a user