12 lines
342 B
C#
12 lines
342 B
C#
|
|
||
|
namespace HermesSocketLibrary.Quests
|
||
|
{
|
||
|
public class WeeklyQuest : Quest
|
||
|
{
|
||
|
public WeeklyQuest(short id, IQuestTask task, DateOnly start)
|
||
|
: base(id, task, 5, start.ToDateTime(TimeOnly.MinValue), start.AddDays(6).ToDateTime(TimeOnly.MaxValue))
|
||
|
{
|
||
|
Type = task.Type | QuestType.Weekly;
|
||
|
}
|
||
|
}
|
||
|
}
|