초기커밋
This commit is contained in:
19
GameServer/Contents/Quest/QuestChecker/QuestCount.cs
Normal file
19
GameServer/Contents/Quest/QuestChecker/QuestCount.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user