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

@ -11,10 +11,7 @@ namespace Server.Items
private static HashSet<Mobile> m_AttackTable = new HashSet<Mobile>();
private static HashSet<Mobile> m_DefenseTable = new HashSet<Mobile>();
public static bool IsUnderAttackEffect(Mobile m)
{
return m_AttackTable.Contains(m);
}
public static bool IsUnderAttackEffect(Mobile m) => m_AttackTable.Contains(m);
public static bool ApplyAttack(Mobile m)
{
@ -34,10 +31,7 @@ namespace Server.Items
m.SendLocalizedMessage(1062320); // Your attack chance has returned to normal.
}
public static bool IsUnderDefenseEffect(Mobile m)
{
return m_DefenseTable.Contains(m);
}
public static bool IsUnderDefenseEffect(Mobile m) => m_DefenseTable.Contains(m);
public static bool ApplyDefense(Mobile m)
{