fix(core): Converts more packets and switches to Moq (#415)
- [X] Switches testing to moq for mocking - [X] Converts race changer packets - [X] Renames some more folders and misc cleanup
This commit is contained in:
parent
fbafd7210d
commit
b4b1b0b122
144 changed files with 197 additions and 181 deletions
|
|
@ -1,20 +0,0 @@
|
|||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue