Upgrades code style - First batch (#22)

This commit is contained in:
Kamron Batman 2018-08-14 06:16:50 +08:00 committed by GitHub
parent 8ee42c8ea2
commit 632e8b4757
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1834 changed files with 10245 additions and 10437 deletions

View file

@ -8,7 +8,7 @@ namespace Server.Spells.Second
public class ProtectionSpell : MagerySpell
{
private static Hashtable m_Registry = new Hashtable();
public static Hashtable Registry { get { return m_Registry; } }
public static Hashtable Registry => m_Registry;
private static SpellInfo m_Info = new SpellInfo(
"Protection", "Uus Sanct",
@ -19,7 +19,7 @@ namespace Server.Spells.Second
Reagent.SulfurousAsh
);
public override SpellCircle Circle { get { return SpellCircle.Second; } }
public override SpellCircle Circle => SpellCircle.Second;
public ProtectionSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
@ -53,8 +53,8 @@ namespace Server.Spells.Second
* a decreased "resisting spells" skill value by -35 + (Inscription/20),
* and a slower casting speed modifier (technically, a negative "faster cast speed") of 2 points.
* The protection spell has an indefinite duration, becoming active when cast, and deactivated when re-cast.
* Reactive Armor, Protection, and Magic Reflection will stay oneven after logging out,
* even after dyinguntil you turn them off by casting them again.
* Reactive Armor, Protection, and Magic Reflection will stay on<EFBFBD>even after logging out,
* even after dying<EFBFBD>until you <EFBFBD>turn them off<EFBFBD> by casting them again.
*/
object[] mods = (object[])m_Table[target];