This commit is contained in:
parent
4ee6ca5951
commit
06e5c8b732
70 changed files with 2798 additions and 286 deletions
|
|
@ -5,13 +5,16 @@ namespace Server.Items
|
|||
{
|
||||
interface IDurability
|
||||
{
|
||||
bool CanFortify { get; }
|
||||
|
||||
int InitMinHits { get; }
|
||||
int InitMaxHits { get; }
|
||||
|
||||
int HitPoints { get; set; }
|
||||
int MaxHitPoints { get; set; }
|
||||
|
||||
//Maybe a scale/unscale durability?
|
||||
void ScaleDurability();
|
||||
void UnscaleDurability();
|
||||
}
|
||||
|
||||
interface IWearableDurability : IDurability
|
||||
|
|
|
|||
|
|
@ -15,16 +15,9 @@ namespace Server.Items
|
|||
}
|
||||
|
||||
[Constructable]
|
||||
public OilCloth() : this( 1 )
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public OilCloth( int amount ) : base( 0x175D )
|
||||
public OilCloth() : base( 0x175D )
|
||||
{
|
||||
Hue = 2001;
|
||||
Stackable = true;
|
||||
Amount = amount;
|
||||
}
|
||||
|
||||
public bool Dye( Mobile from, DyeTub sender )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue