Add skill management system: implement Skill and PetSkill models, create SkillController, and update ApplicationDbContext for skills
This commit is contained in:
@@ -27,6 +27,9 @@ namespace PetCompanion.Models
|
||||
|
||||
public Dictionary<EquipmentSlot, EquipableItem> Equipment { get; set; } = new();
|
||||
|
||||
public int SkillPoints { get; set; } = 2;
|
||||
public virtual ICollection<PetSkill> Skills { get; set; } = new List<PetSkill>();
|
||||
|
||||
public Pet()
|
||||
{
|
||||
foreach (EquipmentSlot slot in Enum.GetValues(typeof(EquipmentSlot)))
|
||||
|
||||
Reference in New Issue
Block a user