Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -86,10 +86,7 @@ namespace Server.Engines.MLQuests.Mobiles
|
|||
DenyTalk(from);
|
||||
}
|
||||
|
||||
public virtual bool CanTalkTo(Mobile from)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public virtual bool CanTalkTo(Mobile from) => true;
|
||||
|
||||
public virtual void DenyTalk(Mobile from)
|
||||
{
|
||||
|
|
@ -191,10 +188,7 @@ namespace Server.Engines.MLQuests.Mobiles
|
|||
m_Index = 0;
|
||||
}
|
||||
|
||||
private static TimeSpan GetDelay()
|
||||
{
|
||||
return TimeSpan.FromSeconds(Utility.RandomBool() ? 3 : 4);
|
||||
}
|
||||
private static TimeSpan GetDelay() => TimeSpan.FromSeconds(Utility.RandomBool() ? 3 : 4);
|
||||
|
||||
protected override void OnTick()
|
||||
{
|
||||
|
|
@ -297,10 +291,7 @@ namespace Server.Engines.MLQuests.Mobiles
|
|||
|
||||
public override string DefaultName => "Darius";
|
||||
|
||||
public override bool CanTalkTo(Mobile from)
|
||||
{
|
||||
return from.Race == Race.Human;
|
||||
}
|
||||
public override bool CanTalkTo(Mobile from) => from.Race == Race.Human;
|
||||
|
||||
public override void DenyTalk(Mobile from)
|
||||
{
|
||||
|
|
@ -394,10 +385,7 @@ namespace Server.Engines.MLQuests.Mobiles
|
|||
|
||||
public override string DefaultName => "Nedrick";
|
||||
|
||||
public override bool CanTalkTo(Mobile from)
|
||||
{
|
||||
return from.Race == Race.Elf;
|
||||
}
|
||||
public override bool CanTalkTo(Mobile from) => from.Race == Race.Elf;
|
||||
|
||||
public override void DenyTalk(Mobile from)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -40,10 +40,7 @@ namespace Server.Engines.MLQuests.Mobiles
|
|||
{
|
||||
}
|
||||
|
||||
public override bool GetGender()
|
||||
{
|
||||
return false; // male
|
||||
}
|
||||
public override bool GetGender() => false;
|
||||
|
||||
public override void CheckMorph()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue