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

@ -5,20 +5,20 @@ namespace Server.Items
{
public class WildfireBow : ElvenCompositeLongbow
{
public override int LabelNumber{ get{ return 1075044; } } // Wildfire Bow
public override int LabelNumber => 1075044; // Wildfire Bow
public override int InitMinHits{ get{ return 255; } }
public override int InitMaxHits{ get{ return 255; } }
public override int InitMinHits => 255;
public override int InitMaxHits => 255;
[Constructible]
public WildfireBow() : base()
public WildfireBow()
{
Hue = 0x489;
SkillBonuses.SetValues( 0, SkillName.Archery, 10 );
WeaponAttributes.ResistFireBonus = 25;
Velocity = 15;
Velocity = 15;
}
public override void GetDamageTypes( Mobile wielder, out int phys, out int fire, out int cold, out int pois, out int nrgy, out int chaos, out int direct )