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,9 +5,9 @@ namespace Server.Items
|
|||
{
|
||||
public class GreaterHealPotion : BaseHealPotion
|
||||
{
|
||||
public override int MinHeal { get { return (Core.AOS ? 20 : 9); } }
|
||||
public override int MaxHeal { get { return (Core.AOS ? 25 : 30); } }
|
||||
public override double Delay{ get{ return 10.0; } }
|
||||
public override int MinHeal => (Core.AOS ? 20 : 9);
|
||||
public override int MaxHeal => (Core.AOS ? 25 : 30);
|
||||
public override double Delay => 10.0;
|
||||
|
||||
[Constructible]
|
||||
public GreaterHealPotion() : base( PotionEffect.HealGreater )
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ namespace Server.Items
|
|||
{
|
||||
public class HealPotion : BaseHealPotion
|
||||
{
|
||||
public override int MinHeal { get { return (Core.AOS ? 13 : 6); } }
|
||||
public override int MaxHeal { get { return (Core.AOS ? 16 : 20); } }
|
||||
public override double Delay{ get{ return (Core.AOS ? 8.0 : 10.0); } }
|
||||
public override int MinHeal => (Core.AOS ? 13 : 6);
|
||||
public override int MaxHeal => (Core.AOS ? 16 : 20);
|
||||
public override double Delay => (Core.AOS ? 8.0 : 10.0);
|
||||
|
||||
[Constructible]
|
||||
public HealPotion() : base( PotionEffect.Heal )
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5,9 +5,9 @@ namespace Server.Items
|
|||
{
|
||||
public class LesserHealPotion : BaseHealPotion
|
||||
{
|
||||
public override int MinHeal { get { return (Core.AOS ? 6 : 3); } }
|
||||
public override int MaxHeal { get { return (Core.AOS ? 8 : 10); } }
|
||||
public override double Delay{ get{ return (Core.AOS ? 3.0 : 10.0); } }
|
||||
public override int MinHeal => (Core.AOS ? 6 : 3);
|
||||
public override int MaxHeal => (Core.AOS ? 8 : 10);
|
||||
public override double Delay => (Core.AOS ? 3.0 : 10.0);
|
||||
|
||||
[Constructible]
|
||||
public LesserHealPotion() : base( PotionEffect.HealLesser )
|
||||
|
|
@ -32,4 +32,4 @@ namespace Server.Items
|
|||
int version = reader.ReadInt();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue