projectiles
This commit is contained in:
@@ -416,9 +416,6 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<int>("Endurance")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<ulong?>("EquippedAccessory")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedBoots")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
@@ -434,9 +431,21 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<ulong?>("EquippedLegs")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedNecklace")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedOffhand")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedQuiver")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedRing1")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedRing2")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("EquippedWeapon")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
@@ -814,9 +823,16 @@ namespace SystemRevivalServer.Migrations
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("AmmunitionType")
|
||||
.HasMaxLength(32)
|
||||
.HasColumnType("varchar(32)");
|
||||
|
||||
b.Property<int>("Armor")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("ArrowRecoveryChance")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("AttackRange")
|
||||
.HasColumnType("float");
|
||||
|
||||
@@ -871,6 +887,9 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<bool>("IsTeleportScroll")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<bool>("IsThrowable")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<int>("ManaRestore")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -948,6 +967,15 @@ namespace SystemRevivalServer.Migrations
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<int>("ProjectileRange")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("ProjectileSpeed")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("QuiverCapacity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Rarity")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -966,6 +994,9 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<int>("RequiredWisdom")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("RequiresAmmunition")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<string>("ResistancesJson")
|
||||
.IsRequired()
|
||||
.HasMaxLength(1024)
|
||||
@@ -1531,6 +1562,41 @@ namespace SystemRevivalServer.Migrations
|
||||
b.ToTable("dungeon_instances");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.DungeonQuiverAmmoSlot", b =>
|
||||
{
|
||||
b.Property<ulong>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<ulong>("Id"));
|
||||
|
||||
b.Property<int>("ItemDefinitionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("MaxQuantity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Quantity")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<ulong>("QuiverCharacterItemId")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<ulong?>("QuiverItemId")
|
||||
.HasColumnType("bigint unsigned");
|
||||
|
||||
b.Property<int>("SlotIndex")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("ItemDefinitionId");
|
||||
|
||||
b.HasIndex("QuiverItemId");
|
||||
|
||||
b.ToTable("dungeon_quiver_ammo_slots");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.DungeonRecipeScroll", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
@@ -2891,6 +2957,23 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Navigation("Creator");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.DungeonQuiverAmmoSlot", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Entities.DungeonItemDefinition", "ItemDefinition")
|
||||
.WithMany()
|
||||
.HasForeignKey("ItemDefinitionId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("DataServer.Data.Entities.DungeonCharacterItem", "QuiverItem")
|
||||
.WithMany()
|
||||
.HasForeignKey("QuiverItemId");
|
||||
|
||||
b.Navigation("ItemDefinition");
|
||||
|
||||
b.Navigation("QuiverItem");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.DungeonRecipeScroll", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Entities.DungeonItemDefinition", "ItemDefinition")
|
||||
|
||||
Reference in New Issue
Block a user