Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -24,22 +24,22 @@ namespace Server.Items
|
|||
|
||||
public abstract class BaseWand : BaseBashing, ITokunoDyable
|
||||
{
|
||||
public override WeaponAbility PrimaryAbility { get { return WeaponAbility.Dismount; } }
|
||||
public override WeaponAbility SecondaryAbility { get { return WeaponAbility.Disarm; } }
|
||||
public override WeaponAbility PrimaryAbility => WeaponAbility.Dismount;
|
||||
public override WeaponAbility SecondaryAbility => WeaponAbility.Disarm;
|
||||
|
||||
public override int AosStrengthReq { get { return 5; } }
|
||||
public override int AosMinDamage { get { return 9; } }
|
||||
public override int AosMaxDamage { get { return 11; } }
|
||||
public override int AosSpeed { get { return 40; } }
|
||||
public override float MlSpeed{ get{ return 2.75f; } }
|
||||
public override int AosStrengthReq => 5;
|
||||
public override int AosMinDamage => 9;
|
||||
public override int AosMaxDamage => 11;
|
||||
public override int AosSpeed => 40;
|
||||
public override float MlSpeed => 2.75f;
|
||||
|
||||
public override int OldStrengthReq { get { return 0; } }
|
||||
public override int OldMinDamage { get { return 2; } }
|
||||
public override int OldMaxDamage { get { return 6; } }
|
||||
public override int OldSpeed { get { return 35; } }
|
||||
public override int OldStrengthReq => 0;
|
||||
public override int OldMinDamage => 2;
|
||||
public override int OldMaxDamage => 6;
|
||||
public override int OldSpeed => 35;
|
||||
|
||||
public override int InitMinHits { get { return 31; } }
|
||||
public override int InitMaxHits { get { return 110; } }
|
||||
public override int InitMinHits => 31;
|
||||
public override int InitMaxHits => 110;
|
||||
|
||||
private WandEffect m_WandEffect;
|
||||
private int m_Charges;
|
||||
|
|
@ -251,4 +251,4 @@ namespace Server.Items
|
|||
return true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ namespace Server.Items
|
|||
{
|
||||
public class IDWand : BaseWand
|
||||
{
|
||||
public override TimeSpan GetUseDelay{ get{ return TimeSpan.Zero; } }
|
||||
public override TimeSpan GetUseDelay => TimeSpan.Zero;
|
||||
|
||||
[Constructible]
|
||||
public IDWand() : base( WandEffect.Identification, 25, 175 )
|
||||
|
|
@ -44,4 +44,4 @@ namespace Server.Items
|
|||
return ( o is Item );
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue