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

Now requires Tyrannus boss kill to open.
This commit is contained in:
Malcrom
2012-05-12 12:19:41 -02:30
parent 2459305c76
commit d770c125e9
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,2 @@
-- Lock Halls of Reflection Portcullis
UPDATE `gameobject_template` SET `flags`=18 WHERE `entry`=201848;

View File

@@ -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;
}
}

View File

@@ -91,6 +91,7 @@ enum GameObjectIds
{
GO_SARONITE_ROCK = 196485,
GO_ICE_WALL = 201885,
GO_HALLS_OF_REFLECTION_PORTCULLIS = 201848,
};
#endif