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

@ -24,32 +24,19 @@ namespace Server
}
}
public static int Damage(Mobile m, int damage, bool ignoreArmor, int phys, int fire, int cold, int pois, int nrgy)
{
return Damage(m, null, damage, ignoreArmor, phys, fire, cold, pois, nrgy);
}
public static int Damage(Mobile m, int damage, bool ignoreArmor, int phys, int fire, int cold, int pois, int nrgy) => Damage(m, null, damage, ignoreArmor, phys, fire, cold, pois, nrgy);
public static int Damage(Mobile m, int damage, int phys, int fire, int cold, int pois, int nrgy)
{
return Damage(m, null, damage, phys, fire, cold, pois, nrgy);
}
public static int Damage(Mobile m, int damage, int phys, int fire, int cold, int pois, int nrgy) => Damage(m, null, damage, phys, fire, cold, pois, nrgy);
public static int Damage(Mobile m, Mobile from, int damage, int phys, int fire, int cold, int pois, int nrgy)
{
return Damage(m, from, damage, false, phys, fire, cold, pois, nrgy);
}
public static int Damage(Mobile m, Mobile from, int damage, int phys, int fire, int cold, int pois, int nrgy) => Damage(m, from, damage, false, phys, fire, cold, pois, nrgy);
public static int Damage(Mobile m, Mobile from, int damage, int phys, int fire, int cold, int pois, int nrgy,
int chaos)
{
return Damage(m, from, damage, false, phys, fire, cold, pois, nrgy, chaos);
}
int chaos) =>
Damage(m, from, damage, false, phys, fire, cold, pois, nrgy, chaos);
public static int Damage(Mobile m, Mobile from, int damage, int phys, int fire, int cold, int pois, int nrgy,
bool keepAlive)
{
return Damage(m, from, damage, false, phys, fire, cold, pois, nrgy, 0, 0, keepAlive);
}
bool keepAlive) =>
Damage(m, from, damage, false, phys, fire, cold, pois, nrgy, 0, 0, keepAlive);
public static int Damage(Mobile m, Mobile from, int damage, bool ignoreArmor, int phys, int fire, int cold, int pois,
int nrgy, int chaos = 0, int direct = 0, bool keepAlive = false, bool archer = false, bool deathStrike = false)
@ -203,10 +190,7 @@ namespace Server
val = 0;
}
public static int Scale(int input, int percent)
{
return input * percent / 100;
}
public static int Scale(int input, int percent) => input * percent / 100;
public static int GetStatus(Mobile from, int index)
{
@ -525,10 +509,7 @@ namespace Server
return value;
}
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
public void AddStatBonuses(Mobile to)
{
@ -824,10 +805,7 @@ namespace Server
return value;
}
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
}
[Flags]
@ -921,10 +899,7 @@ namespace Server
return value;
}
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
}
public sealed class AosSkillBonuses : BaseAttributes
@ -1140,10 +1115,7 @@ namespace Server
SetValues(index, GetSkill(index), bonus);
}
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
public void CheckCancelMorph(Mobile m)
{
@ -1279,10 +1251,7 @@ namespace Server
set => this[AosElementAttribute.Direct] = value;
}
public override string ToString()
{
return "...";
}
public override string ToString() => "...";
}
[PropertyObject]