This commit is contained in:
mark 2006-06-15 04:14:30 +00:00
commit 47711d616e
2644 changed files with 479454 additions and 0 deletions

View file

@ -0,0 +1,21 @@
using System;
using Server;
namespace Server.Items
{
interface IDurability
{
int InitMinHits { get; }
int InitMaxHits { get; }
int HitPoints { get; set; }
int MaxHitPoints { get; set; }
//Maybe a scale/unscale durability?
}
interface IWearableDurability : IDurability
{
int OnHit( BaseWeapon weapon, int damageTaken );
}
}