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

@ -189,30 +189,15 @@ namespace Server.Mobiles
base.OnDamage(amount, from, willKill);
}
public override int GetAngerSound()
{
return 0x581;
}
public override int GetAngerSound() => 0x581;
public override int GetIdleSound()
{
return 0x582;
}
public override int GetIdleSound() => 0x582;
public override int GetAttackSound()
{
return 0x580;
}
public override int GetAttackSound() => 0x580;
public override int GetHurtSound()
{
return 0x583;
}
public override int GetHurtSound() => 0x583;
public override int GetDeathSound()
{
return 0x584;
}
public override int GetDeathSound() => 0x584;
public override void Serialize(GenericWriter writer)
{
@ -247,10 +232,7 @@ namespace Server.Mobiles
from.Send(SpeedControl.Disable);
}
public static bool UnderCacophonicAttack(Mobile from)
{
return m_Table.Contains(from);
}
public static bool UnderCacophonicAttack(Mobile from) => m_Table.Contains(from);
public virtual void DropOoze()
{
@ -282,15 +264,9 @@ namespace Server.Mobiles
}
}
private int RandomPoint(int mid)
{
return mid + Utility.RandomMinMax(-2, 2);
}
private int RandomPoint(int mid) => mid + Utility.RandomMinMax(-2, 2);
public virtual Point3D GetSpawnPosition(int range)
{
return GetSpawnPosition(Location, Map, range);
}
public virtual Point3D GetSpawnPosition(int range) => GetSpawnPosition(Location, Map, range);
public virtual Point3D GetSpawnPosition(Point3D from, Map map, int range)
{

View file

@ -84,10 +84,7 @@ namespace Server.Mobiles
public override bool Unprovokable => true;
public override bool Uncalmable => true;
public override WeaponAbility GetWeaponAbility()
{
return WeaponAbility.Dismount;
}
public override WeaponAbility GetWeaponAbility() => WeaponAbility.Dismount;
public virtual void PackResources(int amount)
{
@ -158,30 +155,15 @@ namespace Server.Mobiles
AddLoot(LootPack.AosSuperBoss, 5); // Need to verify
}
public override int GetAngerSound()
{
return 0x597;
}
public override int GetAngerSound() => 0x597;
public override int GetIdleSound()
{
return 0x596;
}
public override int GetIdleSound() => 0x596;
public override int GetAttackSound()
{
return 0x599;
}
public override int GetAttackSound() => 0x599;
public override int GetHurtSound()
{
return 0x59a;
}
public override int GetHurtSound() => 0x59a;
public override int GetDeathSound()
{
return 0x59c;
}
public override int GetDeathSound() => 0x59c;
public override void OnGaveMeleeAttack(Mobile defender)
{