Core/InstanceScript: Refactored door types to reflect its behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e2f04172864e3cff2b5559ac89ded23ade5f92e)
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
using Game.Entities;
|
||||
using Game.Maps;
|
||||
using Game.Scripting;
|
||||
using Framework.Constants;
|
||||
|
||||
namespace Scripts.Argus.AntorusTheBurningThrone
|
||||
{
|
||||
@@ -57,8 +58,8 @@ namespace Scripts.Argus.AntorusTheBurningThrone
|
||||
|
||||
public static DoorData[] doorData =
|
||||
{
|
||||
new(GameObjectIds.Collision, DataTypes.GarothiWorldbreaker, Framework.Constants.DoorType.Passage),
|
||||
new(GameObjectIds.Rock, DataTypes.GarothiWorldbreaker, Framework.Constants.DoorType.Passage)
|
||||
new(GameObjectIds.Collision, DataTypes.GarothiWorldbreaker, EncounterDoorBehavior.OpenWhenDone),
|
||||
new(GameObjectIds.Rock, DataTypes.GarothiWorldbreaker, EncounterDoorBehavior.OpenWhenDone)
|
||||
};
|
||||
|
||||
public static DungeonEncounterData[] encounters =
|
||||
|
||||
Reference in New Issue
Block a user