Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -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
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue