Fixed game luck crit

This commit is contained in:
2021-11-02 10:57:30 -04:00
parent 873f126aac
commit 12c90a27b4
2 changed files with 3 additions and 2 deletions

View File

@@ -20,13 +20,13 @@ namespace TOOHUCardAPI.DTO
public class GameConfigResponse
{
private static string SUCCESS_CODE = "0000";
private static string DEFAULT_GAME_MESSAGE = "Welcome to english Touhou Card";
private static string DEFAULT_GAME_MESSAGE = "Welcome to english Touhou Card.";
[JsonProperty("code")] public string Code { get; set; } = SUCCESS_CODE;
[JsonProperty("msg")] public string Message { get; set; } = string.Empty;
[JsonProperty("game_code")] public string GameCode { get; set; } = string.Empty;
[JsonProperty("game_msg")] public string GameMessage { get; set; } = DEFAULT_GAME_MESSAGE;
[JsonProperty("luck_card")] public string LuckCard { get; set; } = string.Empty;
[JsonProperty("luck_crit")] public float LuckCrit { get; set; } = .25f;
[JsonProperty("luck_crit")] public int LuckCrit { get; set; } = 250; // = crit damage, /10 = crit chance
[JsonProperty("new_card_list")] public string NewCardList { get; set; } = string.Empty;
[JsonProperty("open_day_list")] public string OpenDayList { get; set; } = string.Empty;
[JsonProperty("is_open_day")] public int IsOpenDay { get; set; } = 1;