This commit is contained in:
mark 2009-09-06 02:06:07 +00:00
parent 4ee6ca5951
commit 06e5c8b732
70 changed files with 2798 additions and 286 deletions

View file

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

View file

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