Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -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
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -53,9 +53,6 @@ namespace Server.Spells.Necromancy
|
|||
return false;
|
||||
}
|
||||
|
||||
public override int GetMana()
|
||||
{
|
||||
return RequiredMana;
|
||||
}
|
||||
public override int GetMana() => RequiredMana;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue