Refactor pet action management: rename PetAction to PetBasicAction, update related properties and methods, and enhance pet stats with maximum values.
This commit is contained in:
@@ -22,12 +22,15 @@ namespace pet_companion_api.Migrations
|
||||
b.Property<string>("Id")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<DateTime>("ActionSince")
|
||||
b.Property<DateTime>("BasicActionCooldown")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("Class")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<DateTime>("GatherActionSince")
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<bool>("IsDead")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
@@ -38,7 +41,10 @@ namespace pet_companion_api.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("TEXT");
|
||||
|
||||
b.Property<int>("PetAction")
|
||||
b.Property<int>("PetBasicAction")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("PetGatherAction")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<string>("UserId")
|
||||
@@ -61,6 +67,15 @@ namespace pet_companion_api.Migrations
|
||||
b.Property<int>("Intelligence")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("MaxCharisma")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("MaxIntelligence")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("MaxStrength")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
b.Property<int>("Strength")
|
||||
.HasColumnType("INTEGER");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user