Upgrades code style - First batch (#22)
This commit is contained in:
parent
8ee42c8ea2
commit
632e8b4757
1834 changed files with 10245 additions and 10437 deletions
|
|
@ -11,18 +11,18 @@ namespace Server.Items
|
|||
[FlippableAttribute( 0x27AA, 0x27F5 )]
|
||||
public class Fukiya : Item, INinjaWeapon
|
||||
{
|
||||
public virtual int WrongAmmoMessage { get { return 1063329; } } //You can only load fukiya darts
|
||||
public virtual int NoFreeHandMessage { get { return 1063327; } } //You must have a free hand to use a fukiya.
|
||||
public virtual int EmptyWeaponMessage { get { return 1063325; } } //You have no fukiya darts!
|
||||
public virtual int RecentlyUsedMessage { get { return 1063326; } } //You are already using that fukiya.
|
||||
public virtual int FullWeaponMessage { get { return 1063330; } } //You can only load fukiya darts
|
||||
public virtual int WrongAmmoMessage => 1063329; //You can only load fukiya darts
|
||||
public virtual int NoFreeHandMessage => 1063327; //You must have a free hand to use a fukiya.
|
||||
public virtual int EmptyWeaponMessage => 1063325; //You have no fukiya darts!
|
||||
public virtual int RecentlyUsedMessage => 1063326; //You are already using that fukiya.
|
||||
public virtual int FullWeaponMessage => 1063330; //You can only load fukiya darts
|
||||
|
||||
public virtual int WeaponMinRange { get { return 0; } }
|
||||
public virtual int WeaponMaxRange { get { return 6; } }
|
||||
public virtual int WeaponMinRange => 0;
|
||||
public virtual int WeaponMaxRange => 6;
|
||||
|
||||
public virtual int WeaponDamage { get { return Utility.RandomMinMax(4, 6); } }
|
||||
|
||||
public Type AmmoType{ get { return typeof(FukiyaDarts); } }
|
||||
public Type AmmoType => typeof(FukiyaDarts);
|
||||
|
||||
private int m_UsesRemaining;
|
||||
private Poison m_Poison;
|
||||
|
|
@ -131,4 +131,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,20 +11,20 @@ namespace Server.Items
|
|||
[FlippableAttribute( 0x2790, 0x27DB )]
|
||||
public class LeatherNinjaBelt : BaseWaist, IDyable, INinjaWeapon
|
||||
{
|
||||
public override CraftResource DefaultResource{ get{ return CraftResource.RegularLeather; } }
|
||||
public override CraftResource DefaultResource => CraftResource.RegularLeather;
|
||||
|
||||
public virtual int WrongAmmoMessage { get { return 1063301; } } //You can only place shuriken in a ninja belt.
|
||||
public virtual int NoFreeHandMessage { get { return 1063299; } } //You must have a free hand to throw shuriken.
|
||||
public virtual int EmptyWeaponMessage { get { return 1063297; } } //You have no shuriken in your ninja belt!
|
||||
public virtual int RecentlyUsedMessage { get { return 1063298; } } //You cannot throw another shuriken yet.
|
||||
public virtual int FullWeaponMessage { get { return 1063302; } } //You cannot add any more shuriken.
|
||||
public virtual int WrongAmmoMessage => 1063301; //You can only place shuriken in a ninja belt.
|
||||
public virtual int NoFreeHandMessage => 1063299; //You must have a free hand to throw shuriken.
|
||||
public virtual int EmptyWeaponMessage => 1063297; //You have no shuriken in your ninja belt!
|
||||
public virtual int RecentlyUsedMessage => 1063298; //You cannot throw another shuriken yet.
|
||||
public virtual int FullWeaponMessage => 1063302; //You cannot add any more shuriken.
|
||||
|
||||
public virtual int WeaponMinRange { get { return 2; } }
|
||||
public virtual int WeaponMaxRange { get { return 10; } }
|
||||
public virtual int WeaponMinRange => 2;
|
||||
public virtual int WeaponMaxRange => 10;
|
||||
|
||||
public virtual int WeaponDamage { get { return Utility.RandomMinMax(3, 5); } }
|
||||
|
||||
public virtual Type AmmoType { get { return typeof(Shuriken); } }
|
||||
public virtual Type AmmoType => typeof(Shuriken);
|
||||
|
||||
private int m_UsesRemaining;
|
||||
private Poison m_Poison;
|
||||
|
|
@ -144,4 +144,4 @@ namespace Server.Items
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue