Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -467,10 +467,7 @@ namespace Server.Factions
|
|||
{
|
||||
private VirtualMountItem m_Item;
|
||||
|
||||
public VirtualMount(VirtualMountItem item)
|
||||
{
|
||||
m_Item = item;
|
||||
}
|
||||
public VirtualMount(VirtualMountItem item) => m_Item = item;
|
||||
|
||||
Mobile IMount.Rider
|
||||
{
|
||||
|
|
@ -495,10 +492,7 @@ namespace Server.Factions
|
|||
m_Mount = new VirtualMount(this);
|
||||
}
|
||||
|
||||
public VirtualMountItem(Serial serial) : base(serial)
|
||||
{
|
||||
m_Mount = new VirtualMount(this);
|
||||
}
|
||||
public VirtualMountItem(Serial serial) : base(serial) => m_Mount = new VirtualMount(this);
|
||||
|
||||
public Mobile Rider{ get; private set; }
|
||||
|
||||
|
|
|
|||
|
|
@ -108,10 +108,7 @@ namespace Server.Factions
|
|||
private BaseFactionGuard m_Guard;
|
||||
private DateTime m_ReleaseTarget;
|
||||
|
||||
public FactionGuardAI(BaseFactionGuard guard) : base(guard)
|
||||
{
|
||||
m_Guard = guard;
|
||||
}
|
||||
public FactionGuardAI(BaseFactionGuard guard) : base(guard) => m_Guard = guard;
|
||||
|
||||
public bool IsDamaged => m_Guard.Hits < m_Guard.HitsMax;
|
||||
|
||||
|
|
@ -142,10 +139,7 @@ namespace Server.Factions
|
|||
}
|
||||
}
|
||||
|
||||
public bool IsAllowed(GuardAI flag)
|
||||
{
|
||||
return (m_Guard.GuardAI & flag) == flag;
|
||||
}
|
||||
public bool IsAllowed(GuardAI flag) => (m_Guard.GuardAI & flag) == flag;
|
||||
|
||||
public bool DequipWeapon()
|
||||
{
|
||||
|
|
@ -343,11 +337,9 @@ namespace Server.Factions
|
|||
return null;
|
||||
}
|
||||
|
||||
public bool CanDispel(Mobile m)
|
||||
{
|
||||
return m is BaseCreature creature && creature.Summoned && m_Mobile.CanBeHarmful(creature, false) &&
|
||||
!creature.IsAnimatedDead;
|
||||
}
|
||||
public bool CanDispel(Mobile m) =>
|
||||
m is BaseCreature creature && creature.Summoned && m_Mobile.CanBeHarmful(creature, false) &&
|
||||
!creature.IsAnimatedDead;
|
||||
|
||||
public void RunTo(Mobile m)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -83,10 +83,7 @@ namespace Server.Factions
|
|||
Unregister();
|
||||
}
|
||||
|
||||
public override bool CheckVendorAccess(Mobile from)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
public override bool CheckVendorAccess(Mobile from) => true;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,10 +24,7 @@ namespace Server.Factions
|
|||
{
|
||||
}
|
||||
|
||||
public override int GetShoeHue()
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
public override int GetShoeHue() => 0;
|
||||
|
||||
public override void InitOutfit()
|
||||
{
|
||||
|
|
@ -51,15 +48,9 @@ namespace Server.Factions
|
|||
{
|
||||
}
|
||||
|
||||
public override bool OnBuyItems(Mobile buyer, List<BuyItemResponse> list)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool OnBuyItems(Mobile buyer, List<BuyItemResponse> list) => false;
|
||||
|
||||
public override bool OnSellItems(Mobile seller, List<SellItemResponse> list)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
public override bool OnSellItems(Mobile seller, List<SellItemResponse> list) => false;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue