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

@ -5,10 +5,10 @@ namespace Server.Items
{
public class ConflagrationPotion : BaseConflagrationPotion
{
public override int MinDamage{ get{ return 2; } }
public override int MaxDamage{ get{ return 4; } }
public override int MinDamage => 2;
public override int MaxDamage => 4;
public override int LabelNumber{ get{ return 1072095; } } // a Conflagration potion
public override int LabelNumber => 1072095; // a Conflagration potion
[Constructible]
public ConflagrationPotion() : base( PotionEffect.Conflagration )

View file

@ -5,10 +5,10 @@ namespace Server.Items
{
public class GreaterConflagrationPotion : BaseConflagrationPotion
{
public override int MinDamage{ get{ return 4; } }
public override int MaxDamage{ get{ return 8; } }
public override int MinDamage => 4;
public override int MaxDamage => 8;
public override int LabelNumber{ get{ return 1072098; } } // a Greater Conflagration potion
public override int LabelNumber => 1072098; // a Greater Conflagration potion
[Constructible]
public GreaterConflagrationPotion() : base( PotionEffect.ConflagrationGreater )