21 lines
No EOL
500 B
C#
21 lines
No EOL
500 B
C#
namespace Server.Engines.MLQuests.Definitions
|
|
{
|
|
// Base class for escorts providing the AwardHumanInNeed option
|
|
public class BaseEscort : MLQuest
|
|
{
|
|
public BaseEscort()
|
|
{
|
|
CompletionNotice = CompletionNoticeShort;
|
|
}
|
|
|
|
public virtual bool AwardHumanInNeed => true;
|
|
|
|
public override void GetRewards(MLQuestInstance instance)
|
|
{
|
|
if (AwardHumanInNeed)
|
|
HumanInNeed.AwardTo(instance.Player);
|
|
|
|
base.GetRewards(instance);
|
|
}
|
|
}
|
|
} |