featL add skill component

This commit is contained in:
k0t9i
2023-02-01 14:48:59 +04:00
parent 32fdef9b1c
commit 9a0204c6ed
10 changed files with 257 additions and 76 deletions

View File

@ -18,8 +18,8 @@ namespace Client.Application.ViewModels
public bool IsActive => skill.IsActive;
public bool IsReadyToUse => skill.IsReadyToUse;
public bool IsBusy => !skill.IsReadyToUse;
public uint Cost => skill.Cost;
public int Range => skill.Range;
public uint? Cost => skill.Cost == 0 ? null : skill.Cost;
public int? Range => skill.Range <= 0 ? null : skill.Range;
public SkillListViewModel(Skill skill)
{