mirror of
https://github.com/4sval/FModel.git
synced 2026-03-22 01:34:37 -05:00
Fixed challenge counter of '...a single match'
This commit is contained in:
parent
dcacef3969
commit
69d158320a
|
|
@ -1,4 +1,4 @@
|
|||
using csharp_wick;
|
||||
using csharp_wick;
|
||||
using FModel.Parser.Challenges;
|
||||
using FModel.Parser.Items;
|
||||
using FModel.Parser.Quests;
|
||||
|
|
@ -96,6 +96,9 @@ namespace FModel
|
|||
string newQuest = questParser[x].Objectives[p].Description;
|
||||
long newCount = questParser[x].Objectives[p].Count;
|
||||
|
||||
if (questParser[x].BAthenaMustCompleteInSingleMatch != false && questParser[x].ObjectiveCompletionCount > 0)
|
||||
newCount = questParser[x].ObjectiveCompletionCount;
|
||||
|
||||
if (newQuest != oldQuest && newCount != oldCount)
|
||||
{
|
||||
if (questParser[x].Rewards != null)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
using System.Globalization;
|
||||
using System.Globalization;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json.Converters;
|
||||
|
||||
|
|
@ -12,11 +12,14 @@ namespace FModel.Parser.Quests
|
|||
[JsonProperty("QuestType")]
|
||||
public string QuestType { get; set; }
|
||||
|
||||
[JsonProperty("bAthenaMustCompleteInSingleMatch")]
|
||||
public bool BAthenaMustCompleteInSingleMatch { get; set; }
|
||||
|
||||
[JsonProperty("bIncludedInCategories")]
|
||||
public bool BIncludedInCategories { get; set; }
|
||||
|
||||
[JsonProperty("ObjectiveCompletionCount")]
|
||||
public string ObjectiveCompletionCount { get; set; }
|
||||
public long ObjectiveCompletionCount { get; set; }
|
||||
|
||||
[JsonProperty("Rewards")]
|
||||
public Reward[] Rewards { get; set; }
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user