Adds style cop (#109)

This commit is contained in:
Kamron Batman 2020-04-26 00:16:02 -07:00 • committed by GitHub
parent 3e715bcb60
commit 556a17aba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1725 changed files with 33831 additions and 38046 deletions

View file

@ -13,8 +13,8 @@ namespace Server.Spells.Spellweaving
{
}
public abstract double RequiredSkill{ get; }
public abstract int RequiredMana{ get; }
public abstract double RequiredSkill { get; }
public abstract int RequiredMana { get; }
public override SkillName CastSkill => SkillName.Spellweaving;
public override SkillName DamageSkill => SkillName.Spellweaving;
@ -81,7 +81,7 @@ namespace Server.Spells.Spellweaving
public override void GetCastSkills(out double min, out double max)
{
min = RequiredSkill - 12.5; //per 5 on Friday, 2/16/07
min = RequiredSkill - 12.5; // per 5 on Friday, 2/16/07
max = RequiredSkill + 37.5;
}
@ -123,7 +123,7 @@ namespace Server.Spells.Spellweaving
{
double percent =
(50 + 2 * (GetResistSkill(m) - GetDamageSkill(Caster))) /
100; //TODO: According to the guide this is it.. but.. is it correct per OSI?
100; // TODO: According to the guide this is it.. but.. is it correct per OSI?
if (percent <= 0)
return false;