Core/AreaTriggers: Check actionset flags for client areatriggers to allow some areatriggers to trigger while dead
Port From (https://github.com/TrinityCore/TrinityCore/commit/d51d6b0abeec25a7c7fd4903ddbca0124ee8c723)
This commit is contained in:
@@ -158,6 +158,16 @@ namespace Game.DataStorage
|
||||
public short ShapeID;
|
||||
public int AreaTriggerActionSetID;
|
||||
public sbyte Flags;
|
||||
|
||||
public AreaTriggerShapeType GetShapeType() { return (AreaTriggerShapeType)ShapeType; }
|
||||
}
|
||||
|
||||
public sealed class AreaTriggerActionSetRecord
|
||||
{
|
||||
public uint Id;
|
||||
public int Flags;
|
||||
|
||||
public AreaTriggerActionSetFlag GetFlags() { return (AreaTriggerActionSetFlag)Flags; }
|
||||
}
|
||||
|
||||
public sealed class ArmorLocationRecord
|
||||
|
||||
Reference in New Issue
Block a user