23 lines
687 B
C#
23 lines
687 B
C#
using ServerCommon;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace GameServer;
|
|
|
|
public class QuestFarming : QuestBase
|
|
{
|
|
public QuestFarming(EQuestEventTargetType targetType, EQuestEventNameType eventNameType, string farmingPropId, string entityType) : base(targetType, eventNameType, 0, farmingPropId, entityType, string.Empty)
|
|
{
|
|
|
|
}
|
|
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (events.EventCondition1.Equals(m_condition_1) && events.EventCondition2.Equals(m_condition_2)) return true;
|
|
return false;
|
|
}
|
|
}
|