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

@ -142,14 +142,8 @@ namespace Server.Spells.Fourth
return false;
}
private static bool IsInnocentTo(Mobile from, Mobile to)
{
return Notoriety.Compute(from, to) == Notoriety.Innocent;
}
private static bool IsInnocentTo(Mobile from, Mobile to) => Notoriety.Compute(from, to) == Notoriety.Innocent;
private static bool IsAllyTo(Mobile from, Mobile to)
{
return Notoriety.Compute(from, to) == Notoriety.Ally;
}
private static bool IsAllyTo(Mobile from, Mobile to) => Notoriety.Compute(from, to) == Notoriety.Ally;
}
}

View file

@ -35,10 +35,7 @@ namespace Server.Spells.Fourth
m.UpdateResistances();
}
public static bool UnderEffect(Mobile m)
{
return m_UnderEffect.Contains(m);
}
public static bool UnderEffect(Mobile m) => m_UnderEffect.Contains(m);
public void Target(Mobile m)
{

View file

@ -100,9 +100,6 @@ namespace Server.Spells.Fourth
FinishSequence();
}
public override double GetResistPercent(Mobile target)
{
return 99.0;
}
public override double GetResistPercent(Mobile target) => 99.0;
}
}