Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -12,26 +12,26 @@ namespace Server.Items
|
|||
public abstract Type AmmoType{ get; }
|
||||
public abstract Item Ammo{ get; }
|
||||
|
||||
public override int DefHitSound{ get{ return 0x234; } }
|
||||
public override int DefMissSound{ get{ return 0x238; } }
|
||||
public override int DefHitSound => 0x234;
|
||||
public override int DefMissSound => 0x238;
|
||||
|
||||
public override SkillName DefSkill{ get{ return SkillName.Archery; } }
|
||||
public override WeaponType DefType{ get{ return WeaponType.Ranged; } }
|
||||
public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.ShootXBow; } }
|
||||
public override SkillName DefSkill => SkillName.Archery;
|
||||
public override WeaponType DefType => WeaponType.Ranged;
|
||||
public override WeaponAnimation DefAnimation => WeaponAnimation.ShootXBow;
|
||||
|
||||
public override SkillName AccuracySkill{ get{ return SkillName.Archery; } }
|
||||
public override SkillName AccuracySkill => SkillName.Archery;
|
||||
|
||||
private Timer m_RecoveryTimer; // so we don't start too many timers
|
||||
private bool m_Balanced;
|
||||
private int m_Velocity;
|
||||
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public bool Balanced
|
||||
{
|
||||
get{ return m_Balanced; }
|
||||
set{ m_Balanced = value; InvalidateProperties(); }
|
||||
}
|
||||
|
||||
|
||||
[CommandProperty( AccessLevel.GameMaster )]
|
||||
public int Velocity
|
||||
{
|
||||
|
|
@ -233,4 +233,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue