Formatting FIxes (#58)

This commit is contained in:
Kamron Batman 2019-10-04 23:08:13 -07:00 • committed by GitHub
parent 57fb9fb525
commit 096d39609e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1318 changed files with 11633 additions and 22129 deletions

View file

@ -5,10 +5,7 @@ namespace Server.Engines.Quests.Doom
public class ChylothStaff : BlackStaff
{
[Constructible]
public ChylothStaff()
{
Hue = 0x482;
}
public ChylothStaff() => Hue = 0x482;
public ChylothStaff(Serial serial) : base(serial)
{

View file

@ -203,10 +203,7 @@ namespace Server.Engines.Quests.Doom
return base.OnDragDrop(from, dropped);
}
public override bool CanTalkTo(PlayerMobile to)
{
return false;
}
public override bool CanTalkTo(PlayerMobile to) => false;
public override void OnTalk(PlayerMobile player, bool contextMenu)
{

View file

@ -113,10 +113,7 @@ namespace Server.Engines.Quests.Doom
return base.OnDragDrop(from, dropped);
}
public override bool CanTalkTo(PlayerMobile to)
{
return to.Quest == null && QuestSystem.CanOfferQuest(to, typeof(TheSummoningQuest));
}
public override bool CanTalkTo(PlayerMobile to) => to.Quest == null && QuestSystem.CanOfferQuest(to, typeof(TheSummoningQuest));
public override void OnTalk(PlayerMobile player, bool contextMenu)
{

View file

@ -72,10 +72,7 @@ namespace Server.Engines.Quests.Doom
{
private BoneDemon m_Daemon;
public VanquishDaemonObjective(BoneDemon daemon)
{
m_Daemon = daemon;
}
public VanquishDaemonObjective(BoneDemon daemon) => m_Daemon = daemon;
// Serialization
public VanquishDaemonObjective()

View file

@ -14,10 +14,7 @@ namespace Server.Engines.Quests.Doom
typeof(VanquishDaemonObjective)
};
public TheSummoningQuest(Victoria victoria, PlayerMobile from) : base(from)
{
Victoria = victoria;
}
public TheSummoningQuest(Victoria victoria, PlayerMobile from) : base(from) => Victoria = victoria;
public TheSummoningQuest()
{