Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
{
|
||||
public class RefreshPotion : BaseRefreshPotion
|
||||
{
|
||||
public override double Refresh{ get{ return 0.25; } }
|
||||
public override double Refresh => 0.25;
|
||||
|
||||
[Constructible]
|
||||
public RefreshPotion() : base( PotionEffect.Refresh )
|
||||
|
|
@ -30,4 +30,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ namespace Server.Items
|
|||
{
|
||||
public class TotalRefreshPotion : BaseRefreshPotion
|
||||
{
|
||||
public override double Refresh{ get{ return 1.0; } }
|
||||
public override double Refresh => 1.0;
|
||||
|
||||
[Constructible]
|
||||
public TotalRefreshPotion() : base( PotionEffect.RefreshTotal )
|
||||
|
|
@ -30,4 +30,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue