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

@ -17,7 +17,7 @@ namespace Server.Spells.Fifth
Reagent.SpidersSilk
);
public override SpellCircle Circle { get { return SpellCircle.Fifth; } }
public override SpellCircle Circle => SpellCircle.Fifth;
public ParalyzeSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
{
@ -45,11 +45,11 @@ namespace Server.Spells.Fifth
SpellHelper.CheckReflect( (int)this.Circle, Caster, ref m );
double duration;
if ( Core.AOS )
{
int secs = (int)((GetDamageSkill( Caster ) / 10) - (GetResistSkill( m ) / 10));
if( !Core.SE )
secs += 2;
@ -109,4 +109,4 @@ namespace Server.Spells.Fifth
}
}
}
}
}