20 lines
625 B
C#
20 lines
625 B
C#
using ServerCommon;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameServer;
|
|
public class QuestCrafting : QuestBase
|
|
{
|
|
public QuestCrafting(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, Int32 craftingId) : base(targetType, eventNameType, 0, craftingId.ToString(), string.Empty, string.Empty)
|
|
{
|
|
}
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (events.EventCondition1.Equals(m_condition_1)) return true;
|
|
return false;
|
|
}
|
|
}
|