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

@ -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
}
}
}
}
}