Fixes code according to modern code style. Fixes a few expression bugs.
This commit is contained in:
parent
89eea25e5f
commit
970fd563b2
3324 changed files with 441118 additions and 433755 deletions
|
|
@ -1,21 +1,21 @@
|
|||
namespace Server.Engines.MLQuests.Definitions
|
||||
{
|
||||
// Base class for escorts providing the AwardHumanInNeed option
|
||||
public class BaseEscort : MLQuest
|
||||
{
|
||||
public virtual bool AwardHumanInNeed => true;
|
||||
// Base class for escorts providing the AwardHumanInNeed option
|
||||
public class BaseEscort : MLQuest
|
||||
{
|
||||
public BaseEscort()
|
||||
{
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
}
|
||||
|
||||
public BaseEscort()
|
||||
{
|
||||
CompletionNotice = CompletionNoticeShort;
|
||||
}
|
||||
public virtual bool AwardHumanInNeed => true;
|
||||
|
||||
public override void GetRewards( MLQuestInstance instance )
|
||||
{
|
||||
if ( AwardHumanInNeed )
|
||||
HumanInNeed.AwardTo( instance.Player );
|
||||
public override void GetRewards(MLQuestInstance instance)
|
||||
{
|
||||
if (AwardHumanInNeed)
|
||||
HumanInNeed.AwardTo(instance.Player);
|
||||
|
||||
base.GetRewards( instance );
|
||||
}
|
||||
}
|
||||
}
|
||||
base.GetRewards(instance);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue