Skip to content
Browse files

Core/Scripts: Fix Halls of Reflection Portcullis door in Pit of Saron.

Now requires Tyrannus boss kill to open.
  • Loading branch information...
1 parent 2459305 commit d770c125e97cf4313d2c32adbb6d9ceab308d477 @malcrom malcrom committed May 12, 2012
View
2 sql/updates/world/2012_05_12_00_world_gameobject_template.sql
@@ -0,0 +1,2 @@
+-- Lock Halls of Reflection Portcullis
+UPDATE `gameobject_template` SET `flags`=18 WHERE `entry`=201848;
View
7 src/server/scripts/Northrend/FrozenHalls/PitOfSaron/instance_pit_of_saron.cpp
@@ -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},
@Ramusik
Ramusik added a note May 12, 2012

codestyle

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
};
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;
@Ramusik
Ramusik added a note May 12, 2012

Why not?

                case GO_ICE_WALL:
                case GO_HALLS_OF_REFLECTION_PORTCULLIS:
                     AddDoor(go, true);
                     break;
@malcrom
malcrom added a note May 12, 2012

Your lucky I figured out what I did!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
}
}
@@ -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);
@Vincent-Michael
TrinityCore member

not false?

-AddDoor(go, true);
+AddDoor(go, false);
@malcrom
malcrom added a note May 12, 2012

Fixed: 8a1417a

@Ramusik
Ramusik added a note May 12, 2012

And here?

                case GO_ICE_WALL:
                case GO_HALLS_OF_REFLECTION_PORTCULLIS:
                    AddDoor(go, false);
                    break;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ break;
}
}
View
1 src/server/scripts/Northrend/FrozenHalls/PitOfSaron/pit_of_saron.h
@@ -91,6 +91,7 @@ enum GameObjectIds
{
GO_SARONITE_ROCK = 196485,
GO_ICE_WALL = 201885,
+ GO_HALLS_OF_REFLECTION_PORTCULLIS = 201848,
};
#endif

1 comment on commit d770c12

@Ramusik

👍

Please sign in to comment.
Something went wrong with that request. Please try again.