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

@ -97,10 +97,7 @@ namespace Server.Spells.Necromancy
t?.DoExpire();
}
public static Mobile GetBloodOath(Mobile m)
{
return m == null || m_OathTable.TryGetValue(m, out Mobile oath) && oath == m ? null : oath;
}
public static Mobile GetBloodOath(Mobile m) => m == null || m_OathTable.TryGetValue(m, out Mobile oath) && oath == m ? null : oath;
private class ExpireTimer : Timer
{

View file

@ -81,10 +81,7 @@ namespace Server.Spells.Necromancy
return base.CheckCast();
}
public override int ComputeKarmaAward()
{
return 0; //no karma lost from this spell!
}
public override int ComputeKarmaAward() => 0;
public override void OnCast()
{

View file

@ -76,10 +76,7 @@ namespace Server.Spells.Necromancy
m.SendLocalizedMessage(1060872); // Your mind feels normal again.
}
public static bool HasMindRotScalar(Mobile m)
{
return m_Table.ContainsKey(m);
}
public static bool HasMindRotScalar(Mobile m) => m_Table.ContainsKey(m);
public static bool GetMindRotScalar(Mobile m, ref double scalar)
{

View file

@ -53,9 +53,6 @@ namespace Server.Spells.Necromancy
return false;
}
public override int GetMana()
{
return RequiredMana;
}
public override int GetMana() => RequiredMana;
}
}