mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Core/Scripts: Fix Halls of Reflection Portcullis door in Pit of Saron.
Now requires Tyrannus boss kill to open.
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
-- Lock Halls of Reflection Portcullis
|
||||
UPDATE `gameobject_template` SET `flags`=18 WHERE `entry`=201848;
|
||||
@@ -27,6 +27,7 @@ DoorData const Doors[] =
|
||||
{
|
||||
{GO_ICE_WALL, DATA_GARFROST, DOOR_TYPE_PASSAGE, BOUNDARY_NONE},
|
||||
{GO_ICE_WALL, DATA_ICK, DOOR_TYPE_PASSAGE, BOUNDARY_NONE},
|
||||
{GO_HALLS_OF_REFLECTION_PORTCULLIS, DATA_TYRANNUS, DOOR_TYPE_PASSAGE, BOUNDARY_NONE},
|
||||
};
|
||||
|
||||
class instance_pit_of_saron : public InstanceMapScript
|
||||
@@ -168,6 +169,9 @@ class instance_pit_of_saron : public InstanceMapScript
|
||||
case GO_ICE_WALL:
|
||||
AddDoor(go, true);
|
||||
break;
|
||||
case GO_HALLS_OF_REFLECTION_PORTCULLIS:
|
||||
AddDoor(go, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -178,6 +182,9 @@ class instance_pit_of_saron : public InstanceMapScript
|
||||
case GO_ICE_WALL:
|
||||
AddDoor(go, false);
|
||||
break;
|
||||
case GO_HALLS_OF_REFLECTION_PORTCULLIS:
|
||||
AddDoor(go, true);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ enum GameObjectIds
|
||||
{
|
||||
GO_SARONITE_ROCK = 196485,
|
||||
GO_ICE_WALL = 201885,
|
||||
GO_HALLS_OF_REFLECTION_PORTCULLIS = 201848,
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user