Mob AIv2 and player speed cap
This commit is contained in:
@@ -963,11 +963,6 @@ namespace SystemRevivalServer.Migrations
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<string>("AbilitiesJson")
|
||||
.IsRequired()
|
||||
.HasMaxLength(1024)
|
||||
.HasColumnType("varchar(1024)");
|
||||
|
||||
b.Property<float>("AggroRange")
|
||||
.HasColumnType("float");
|
||||
|
||||
@@ -1004,6 +999,12 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<int>("BaseXp")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Behavior")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("CallForHelpRadius")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("Category")
|
||||
.HasColumnType("int");
|
||||
|
||||
@@ -1023,6 +1024,9 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Property<float>("DropChanceMultiplier")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("FleeThreshold")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("HealthPerTier")
|
||||
.HasColumnType("float");
|
||||
|
||||
@@ -1049,6 +1053,13 @@ namespace SystemRevivalServer.Migrations
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<string>("PhasesJson")
|
||||
.HasMaxLength(2048)
|
||||
.HasColumnType("varchar(2048)");
|
||||
|
||||
b.Property<float>("PreferredRange")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("ResistancesJson")
|
||||
.IsRequired()
|
||||
.HasMaxLength(1024)
|
||||
@@ -1058,8 +1069,8 @@ namespace SystemRevivalServer.Migrations
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("SpriteConfigJson")
|
||||
.HasMaxLength(4096)
|
||||
.HasColumnType("varchar(4096)");
|
||||
.HasMaxLength(8192)
|
||||
.HasColumnType("varchar(8192)");
|
||||
|
||||
b.Property<string>("TintColor")
|
||||
.IsRequired()
|
||||
@@ -1298,6 +1309,185 @@ namespace SystemRevivalServer.Migrations
|
||||
b.ToTable("dungeon_stash_items");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.MobAbilityAssignment", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int>("AbilityDefinitionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float?>("CooldownOverride")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int?>("DamageOverride")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<float?>("MaxHpPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float?>("MinHpPercent")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("MobDefinitionId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Phase")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("PriorityOverride")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("AbilityDefinitionId");
|
||||
|
||||
b.HasIndex("MobDefinitionId");
|
||||
|
||||
b.ToTable("dungeon_mob_ability_assignments");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.MobAbilityDefinition", b =>
|
||||
{
|
||||
b.Property<int>("Id")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("int");
|
||||
|
||||
MySqlPropertyBuilderExtensions.UseMySqlIdentityColumn(b.Property<int>("Id"));
|
||||
|
||||
b.Property<int>("AbilityType")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("AffectedStat")
|
||||
.HasMaxLength(32)
|
||||
.HasColumnType("varchar(32)");
|
||||
|
||||
b.Property<float>("AnimationDuration")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("AnimationKey")
|
||||
.IsRequired()
|
||||
.HasMaxLength(32)
|
||||
.HasColumnType("varchar(32)");
|
||||
|
||||
b.Property<float>("AoeRadius")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("BaseDamage")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("CastTime")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("ConeAngle")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("Cooldown")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<DateTime>("CreatedAt")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<float>("DamagePerTier")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("DamageTypeKey")
|
||||
.IsRequired()
|
||||
.HasMaxLength(32)
|
||||
.HasColumnType("varchar(32)");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.IsRequired()
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<float>("DisplacementDistance")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("DotDamagePerTick")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("DotTickInterval")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("EffectDuration")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float?>("HpThresholdAbove")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float?>("HpThresholdBelow")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<bool>("IsEnabled")
|
||||
.HasColumnType("tinyint(1)");
|
||||
|
||||
b.Property<string>("Key")
|
||||
.IsRequired()
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<int>("ManaCost")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("MinTargetsInRange")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<string>("Name")
|
||||
.IsRequired()
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<int>("Priority")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<float>("ProjectileSpeed")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("ProjectileSprite")
|
||||
.HasMaxLength(256)
|
||||
.HasColumnType("varchar(256)");
|
||||
|
||||
b.Property<float>("Range")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<string>("SoundEffectKey")
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.Property<float>("SpeedModifier")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<float>("StatModifier")
|
||||
.HasColumnType("float");
|
||||
|
||||
b.Property<int>("SummonCount")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int?>("SummonMobId")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<int>("Targeting")
|
||||
.HasColumnType("int");
|
||||
|
||||
b.Property<DateTime>("UpdatedAt")
|
||||
.HasColumnType("datetime(6)");
|
||||
|
||||
b.Property<string>("VisualEffectKey")
|
||||
.HasMaxLength(64)
|
||||
.HasColumnType("varchar(64)");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.ToTable("dungeon_mob_abilities");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Session", b =>
|
||||
{
|
||||
b.Property<ulong>("Id")
|
||||
@@ -1673,6 +1863,25 @@ namespace SystemRevivalServer.Migrations
|
||||
b.Navigation("Definition");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.MobAbilityAssignment", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Entities.MobAbilityDefinition", "AbilityDefinition")
|
||||
.WithMany()
|
||||
.HasForeignKey("AbilityDefinitionId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.HasOne("DataServer.Data.Entities.DungeonMobDefinition", "MobDefinition")
|
||||
.WithMany("AbilityAssignments")
|
||||
.HasForeignKey("MobDefinitionId")
|
||||
.OnDelete(DeleteBehavior.Cascade)
|
||||
.IsRequired();
|
||||
|
||||
b.Navigation("AbilityDefinition");
|
||||
|
||||
b.Navigation("MobDefinition");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Session", b =>
|
||||
{
|
||||
b.HasOne("DataServer.Data.Account", "Account")
|
||||
@@ -1718,6 +1927,11 @@ namespace SystemRevivalServer.Migrations
|
||||
{
|
||||
b.Navigation("Entries");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("DataServer.Data.Entities.DungeonMobDefinition", b =>
|
||||
{
|
||||
b.Navigation("AbilityAssignments");
|
||||
});
|
||||
#pragma warning restore 612, 618
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user