diff --git a/backend/DTO/CharacterDTO.cs b/backend/DTO/CharacterDTO.cs index 7da6f106662c2f8a4dc6a8c7559acaeefc6fafb3..53246e824d31862919d9736c5572f91fb1872d94 100644 --- a/backend/DTO/CharacterDTO.cs +++ b/backend/DTO/CharacterDTO.cs @@ -5,13 +5,12 @@ public string Name { get; set; } = null!; public int Lp { get; set; } public int Attack { get; set; } - public int CurrentLp { get; set; } - public int CurrentAttack { get; set; } public string? Sprite { get; set; } public string? Icon { get; set; } public string? Description { get; set; } public int BonusAttack { get; set; } public int BonusLp { get; set; } public int? BonusArena { get; set; } + public Boolean asHealed { get; set; } } } \ No newline at end of file diff --git a/backend/GameCore/Extensions.cs b/backend/GameCore/Extensions.cs index 23409754e20f53b106cc0c800cd1b209fa89685a..c56da8bf93668a48a574889a390a9ba6d5430444 100644 --- a/backend/GameCore/Extensions.cs +++ b/backend/GameCore/Extensions.cs @@ -82,13 +82,12 @@ namespace GameCore return new CharacterDTO { Name = entity.Name, - Attack = entity.StartAttack, - Lp = entity.StartLp, + Attack = entity.CurrentAttack, + Lp = entity.CurrentLp, Sprite = entity.Sprite, Icon = entity.Icon, Description = entity.Description, - CurrentLp = entity.CurrentLp, - CurrentAttack = entity.CurrentAttack, + asHealed = entity.hasHealed, }; } #endregion