20 lines
612 B
C#
20 lines
612 B
C#
using ServerCommon;
|
|
using ServerCore; using ServerBase;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace GameServer
|
|
{
|
|
public class QuestCount : QuestBase
|
|
{
|
|
public QuestCount(EQuestEventTargetType targetType, EQuestEventNameType eventNameType) : base(targetType, eventNameType, 0, string.Empty, string.Empty, string.Empty)
|
|
{
|
|
}
|
|
|
|
public override bool checkSubValidTaskScript(QuestAttribute questAttribute, QuestEventInfo events)
|
|
{
|
|
if (questAttribute.MaxCounter <= questAttribute.CurrentCounter) return true;
|
|
return false;
|
|
}
|
|
}
|
|
}
|