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

@ -49,10 +49,10 @@ namespace Server.Mobiles
ControlSlots = 1;
}
public override int Meat { get { return 1; } }
public override int Hides { get { return 7; } }
public override FoodType FavoriteFood { get { return FoodType.Meat; } }
public override PackInstinct PackInstinct { get { return PackInstinct.Canine; } }
public override int Meat => 1;
public override int Hides => 7;
public override FoodType FavoriteFood => FoodType.Meat;
public override PackInstinct PackInstinct => PackInstinct.Canine;
public UnholyFamiliar( Serial serial )
: base( serial )

View file

@ -49,7 +49,7 @@ namespace Server.Mobiles
ControlSlots = 1;
}
public override FoodType FavoriteFood { get { return FoodType.FruitsAndVegies | FoodType.GrainsAndHay; } }
public override FoodType FavoriteFood => FoodType.FruitsAndVegies | FoodType.GrainsAndHay;
public UnholySteed( Serial serial )
: base( serial )