Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -14,12 +14,12 @@ namespace Server.Spells.Chivalry
|
|||
9002
|
||||
);
|
||||
|
||||
public override TimeSpan CastDelayBase { get { return TimeSpan.FromSeconds( 1.0 ); } }
|
||||
public override TimeSpan CastDelayBase => TimeSpan.FromSeconds( 1.0 );
|
||||
|
||||
public override double RequiredSkill{ get{ return 5.0; } }
|
||||
public override int RequiredMana{ get{ return 10; } }
|
||||
public override int RequiredTithing{ get{ return 10; } }
|
||||
public override int MantraNumber{ get{ return 1060718; } } // Expor Flamus
|
||||
public override double RequiredSkill => 5.0;
|
||||
public override int RequiredMana => 10;
|
||||
public override int RequiredTithing => 10;
|
||||
public override int MantraNumber => 1060718; // Expor Flamus
|
||||
|
||||
public CleanseByFireSpell( Mobile caster, Item scroll ) : base( caster, scroll, m_Info )
|
||||
{
|
||||
|
|
@ -59,7 +59,7 @@ namespace Server.Spells.Chivalry
|
|||
|
||||
if ( p != null )
|
||||
{
|
||||
// Cleanse by fire is now difficulty based
|
||||
// Cleanse by fire is now difficulty based
|
||||
int chanceToCure = 10000 + (int)(Caster.Skills[SkillName.Chivalry].Value * 75) - ((p.Level + 1) * 2000);
|
||||
chanceToCure /= 100;
|
||||
|
||||
|
|
@ -124,4 +124,4 @@ namespace Server.Spells.Chivalry
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue