2025-01-14 19:03:59 +13:00
|
|
|
|
namespace EllieBot.Modules.Games;
|
|
|
|
|
|
|
|
|
|
public sealed class FishResult
|
|
|
|
|
{
|
|
|
|
|
public required FishData Fish { get; init; }
|
|
|
|
|
public int Stars { get; init; }
|
2025-01-21 16:33:39 +13:00
|
|
|
|
public bool IsSkillUp { get; set; }
|
|
|
|
|
public int Skill { get; set; }
|
|
|
|
|
public int MaxSkill { get; set; }
|
2025-03-24 14:06:49 +13:00
|
|
|
|
|
|
|
|
|
public bool IsMaxStar()
|
|
|
|
|
=> Stars == Fish.Stars;
|
|
|
|
|
|
|
|
|
|
public bool IsRare()
|
|
|
|
|
=> Fish.Chance <= 15;
|
2025-01-14 19:03:59 +13:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public readonly record struct AlreadyFishing;
|