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

@ -45,12 +45,12 @@ namespace Server.Mobiles
}
/* yes, this is OSI style */
public override double WeaponAbilityChance { get { return 0.75; } }
public override double HitPoisonChance { get { return 0.35; } }
public override Poison HitPoison { get { return ( Poison.Lethal ); } }
public override double WeaponAbilityChance => 0.75;
public override double HitPoisonChance => 0.35;
public override Poison HitPoison => ( Poison.Lethal );
public override bool HasManaOveride => true;
public override bool GivesMLMinorArtifact => true;
public override int TreasureMapLevel { get { return 5; } }
public override int TreasureMapLevel => 5;
public override void GenerateLoot()
{

View file

@ -63,7 +63,7 @@ namespace Server.Mobiles
}
public override bool GivesMLMinorArtifact => true;
public override int TreasureMapLevel{ get{ return 5; } }
public override int TreasureMapLevel => 5;
public override bool HasAura => true;
public Pyre( Serial serial )