Formatting FIxes (#58)
This commit is contained in:
parent
57fb9fb525
commit
096d39609e
1318 changed files with 11633 additions and 22129 deletions
|
|
@ -30,15 +30,9 @@ namespace Server.Spells.Spellweaving
|
|||
return focus?.Deleted != false ? 0 : focus.StrengthBonus;
|
||||
}
|
||||
|
||||
public static ArcaneFocus FindArcaneFocus(Mobile from)
|
||||
{
|
||||
return from.Holding as ArcaneFocus ?? from.Backpack?.FindItemByType<ArcaneFocus>();
|
||||
}
|
||||
public static ArcaneFocus FindArcaneFocus(Mobile from) => from.Holding as ArcaneFocus ?? from.Backpack?.FindItemByType<ArcaneFocus>();
|
||||
|
||||
public static bool CheckExpansion(Mobile from)
|
||||
{
|
||||
return !(from is PlayerMobile) || from.NetState?.SupportsExpansion(Expansion.ML) == true;
|
||||
}
|
||||
public static bool CheckExpansion(Mobile from) => !(from is PlayerMobile) || from.NetState?.SupportsExpansion(Expansion.ML) == true;
|
||||
|
||||
public override bool CheckCast()
|
||||
{
|
||||
|
|
@ -91,10 +85,7 @@ namespace Server.Spells.Spellweaving
|
|||
max = RequiredSkill + 37.5;
|
||||
}
|
||||
|
||||
public override int GetMana()
|
||||
{
|
||||
return RequiredMana;
|
||||
}
|
||||
public override int GetMana() => RequiredMana;
|
||||
|
||||
public override void DoFizzle()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue