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:
DrSmugleaf
2020-08-30 11:16:47 +02:00
committed by GitHub
parent 72eb1fdc1c
commit a8aa088058
5 changed files with 335 additions and 0 deletions

View 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
}
}