This commit is contained in:
parent
f0e69501ac
commit
e332541b61
4 changed files with 40 additions and 4 deletions
|
|
@ -249,7 +249,11 @@ namespace Server.Items
|
|||
UnscaleDurability();
|
||||
|
||||
m_Resource = value;
|
||||
Hue = CraftResources.GetHue( m_Resource );
|
||||
|
||||
if (!DefTailoring.IsNonColorable(this.GetType()))
|
||||
{
|
||||
Hue = CraftResources.GetHue(m_Resource);
|
||||
}
|
||||
|
||||
Invalidate();
|
||||
InvalidateProperties();
|
||||
|
|
|
|||
|
|
@ -19,15 +19,16 @@ namespace Server.Items
|
|||
|
||||
public override int ArmorBase{ get{ return 20; } }
|
||||
|
||||
public override int DefaultWeight { get { return 5; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Leather; } }
|
||||
public override CraftResource DefaultResource{ get{ return CraftResource.RegularLeather; } }
|
||||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.All; } }
|
||||
|
||||
public override ArmorMeditationAllowance DefMedAllowance{ get{ return ArmorMeditationAllowance.None; } }
|
||||
|
||||
[Constructable]
|
||||
public OrcHelm() : base( 0x1F0B )
|
||||
{
|
||||
Weight = 1;
|
||||
}
|
||||
|
||||
public OrcHelm( Serial serial ) : base( serial )
|
||||
|
|
@ -44,6 +45,11 @@ namespace Server.Items
|
|||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if( version == 0 && Weight == 1 )
|
||||
{
|
||||
Weight = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue