Core/InstanceScript: Refactored door types to reflect its behavior
Port From (https://github.com/TrinityCore/TrinityCore/commit/0e2f04172864e3cff2b5559ac89ded23ade5f92e)
This commit is contained in:
@@ -151,11 +151,12 @@ namespace Framework.Constants
|
||||
ToBeDecided = 5
|
||||
}
|
||||
|
||||
public enum DoorType
|
||||
public enum EncounterDoorBehavior
|
||||
{
|
||||
Room = 0, // Door can open if encounter is not in progress
|
||||
Passage = 1, // Door can open if encounter is done
|
||||
SpawnHole = 2, // Door can open if encounter is in progress, typically used for spawning places
|
||||
OpenWhenNotInProgress = 0, // open if encounter is not in progress
|
||||
OpenWhenDone = 1, // open if encounter is done
|
||||
OpenWhenInProgress = 2, // open if encounter is in progress, typically used for spawning places
|
||||
OpenWhenNotDone = 3, // open if encounter is not done
|
||||
Max
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user