19 lines
600 B
C#
19 lines
600 B
C#
using ServerCommon;
|
|
|
|
namespace GameServer
|
|
{
|
|
public class QuestActiveQuest : QuestBase
|
|
{
|
|
public QuestActiveQuest(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, UInt32 questId) : base(targetType, eventNameType, 0, string.Empty, string.Empty, string.Empty)
|
|
{
|
|
m_condition_1 = questId.ToString();
|
|
}
|
|
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (events.EventCondition1.Equals(m_condition_1)) return true;
|
|
return false;
|
|
}
|
|
}
|
|
}
|