From d5f8f2256953e943928dad2e27a7b47794485e2b Mon Sep 17 00:00:00 2001 From: CWX Date: Fri, 17 Jan 2025 23:02:02 +0000 Subject: [PATCH] type changes --- Core/Models/Spt/Config/QuestConfig.cs | 12 ++++++------ Core/Models/Spt/Repeatable/QuestRewardValues.cs | 14 +++++++------- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Core/Models/Spt/Config/QuestConfig.cs b/Core/Models/Spt/Config/QuestConfig.cs index 068426fe..bf7caab7 100644 --- a/Core/Models/Spt/Config/QuestConfig.cs +++ b/Core/Models/Spt/Config/QuestConfig.cs @@ -148,19 +148,19 @@ public record RepeatableQuestConfig public record RewardScaling { [JsonPropertyName("levels")] - public List? Levels { get; set; } + public List? Levels { get; set; } [JsonPropertyName("experience")] - public List? Experience { get; set; } + public List? Experience { get; set; } [JsonPropertyName("roubles")] - public List? Roubles { get; set; } + public List? Roubles { get; set; } [JsonPropertyName("gpCoins")] - public List? GpCoins { get; set; } + public List? GpCoins { get; set; } [JsonPropertyName("items")] - public List? Items { get; set; } + public List? Items { get; set; } [JsonPropertyName("reputation")] public List? Reputation { get; set; } @@ -172,7 +172,7 @@ public record RewardScaling public List? SkillRewardChance { get; set; } [JsonPropertyName("skillPointReward")] - public List? SkillPointReward { get; set; } + public List? SkillPointReward { get; set; } } public record TraderWhitelist diff --git a/Core/Models/Spt/Repeatable/QuestRewardValues.cs b/Core/Models/Spt/Repeatable/QuestRewardValues.cs index 7992ce71..9f3b7f5c 100644 --- a/Core/Models/Spt/Repeatable/QuestRewardValues.cs +++ b/Core/Models/Spt/Repeatable/QuestRewardValues.cs @@ -5,23 +5,23 @@ namespace Core.Models.Spt.Repeatable; public record QuestRewardValues { [JsonPropertyName("skillPointReward")] - public int? SkillPointReward { get; set; } + public double? SkillPointReward { get; set; } [JsonPropertyName("skillRewardChance")] - public int? SkillRewardChance { get; set; } + public double? SkillRewardChance { get; set; } [JsonPropertyName("rewardReputation")] - public int? RewardReputation { get; set; } + public double? RewardReputation { get; set; } [JsonPropertyName("rewardNumItems")] - public int? RewardNumItems { get; set; } + public double? RewardNumItems { get; set; } [JsonPropertyName("rewardRoubles")] - public int? RewardRoubles { get; set; } + public double? RewardRoubles { get; set; } [JsonPropertyName("gpCoinRewardCount")] - public int? GpCoinRewardCount { get; set; } + public double? GpCoinRewardCount { get; set; } [JsonPropertyName("rewardXP")] - public int? RewardXP { get; set; } + public double? RewardXP { get; set; } }