Add invulnerable damage flag, godmode and damage flag commands (#1949)
* Add invulnerable damage flag and commands * Add serialization for damage flags * Add godmode command
This commit is contained in:
13
Content.Shared/GameObjects/Components/Damage/DamageFlag.cs
Normal file
13
Content.Shared/GameObjects/Components/Damage/DamageFlag.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using Robust.Shared.Serialization;
|
||||
|
||||
namespace Content.Shared.GameObjects.Components.Damage
|
||||
{
|
||||
[Flags]
|
||||
[Serializable, NetSerializable]
|
||||
public enum DamageFlag
|
||||
{
|
||||
None = 0,
|
||||
Invulnerable = 1 << 0
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user