Add more quest assort mapping helpers for 'supervisor' and 'long road'

This commit is contained in:
Chomp 2022-02-03 10:29:20 +00:00
parent dbb12d1241
commit 4db87343a0
2 changed files with 19 additions and 8 deletions

View File

@ -1,9 +1,6 @@
using AssortValidator.Common.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static AssortValidator.Common.Models.Assort;
namespace AssortValidator.Common.Helpers
@ -44,14 +41,28 @@ namespace AssortValidator.Common.Helpers
},
{
"5d25e4ca86f77409dd5cdf2c",
new List<QuestAssortMapping>
{ new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 3, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 4},
new List<QuestAssortMapping>
{
new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 3, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 4},
new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 3, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 5},
new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 4, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 10},
new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 4, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 13},
new QuestAssortMapping { QuestType= QuestEnum.HuntingTrip, ItemTplId= "5bfea6e90db834001b7347f3", Level = 4, IsMoneyBarter = true, Trader= Trader.Jaeger, SubItemCount = 13}
}
},
{
"5ae449d986f774453a54a7e1",
new List<QuestAssortMapping>
{
new QuestAssortMapping { QuestType = QuestEnum.Supervisor, ItemTplId= "5ab8e79e86f7742d8b372e78", Level = 3, IsMoneyBarter = true, Trader = Trader.Ragman }
}
},
{
"6193850f60b34236ee0483de",
new List<QuestAssortMapping>
{
new QuestAssortMapping {QuestType = QuestEnum.LongRoad, ItemTplId = "588892092459774ac91d4b11", Level = 3, IsMoneyBarter = true, Trader=Trader.Skier }
}
}
};
public static List<QuestAssortMapping> GetQuestAssortMappingDetails(string questId)

View File

@ -518,7 +518,7 @@ namespace QuestValidator.Common.Helpers
return questNames[id];
}
internal static string GetIdByEnum(QuestEnum quest)
public static string GetIdByEnum(QuestEnum quest)
{
return questLookup[quest];
}