Resistance System

This commit is contained in:
dingo
2025-12-26 10:40:09 -05:00
parent 2d847c91dd
commit fd056692df
16 changed files with 2862 additions and 8 deletions
+56
View File
@@ -133,6 +133,52 @@ namespace SystemRevivalServer.Migrations
b.ToTable("client_assets");
});
modelBuilder.Entity("DataServer.Data.Entities.DamageResistanceType", b =>
{
b.Property<int>("Id")
.ValueGeneratedOnAdd()
.HasColumnType("int");
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
b.Property<string>("Color")
.IsRequired()
.HasMaxLength(16)
.HasColumnType("varchar(16)");
b.Property<DateTime>("CreatedAt")
.HasColumnType("datetime(6)");
b.Property<string>("Description")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<string>("DisplayName")
.IsRequired()
.HasMaxLength(64)
.HasColumnType("varchar(64)");
b.Property<string>("IconPath")
.HasMaxLength(256)
.HasColumnType("varchar(256)");
b.Property<bool>("IsEnabled")
.HasColumnType("tinyint(1)");
b.Property<string>("Key")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("varchar(32)");
b.Property<int>("SortOrder")
.HasColumnType("int");
b.HasKey("Id");
b.ToTable("damage_resistance_types");
});
modelBuilder.Entity("DataServer.Data.Entities.DeathChest", b =>
{
b.Property<ulong>("Id")
@@ -321,6 +367,11 @@ namespace SystemRevivalServer.Migrations
b.Property<int>("PlayersKilled")
.HasColumnType("int");
b.Property<string>("ResistancesJson")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)");
b.Property<int>("Strength")
.HasColumnType("int");
@@ -744,6 +795,11 @@ namespace SystemRevivalServer.Migrations
b.Property<int>("RequiredWisdom")
.HasColumnType("int");
b.Property<string>("ResistancesJson")
.IsRequired()
.HasMaxLength(1024)
.HasColumnType("varchar(1024)");
b.Property<int>("SpriteId")
.HasColumnType("int");