#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
47
Scripts/Items/Armor/Ranger/RangerChest.cs
Normal file
47
Scripts/Items/Armor/Ranger/RangerChest.cs
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
using System;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0x13db, 0x13e2 )]
|
||||
public class RangerChest : BaseArmor
|
||||
{
|
||||
public override int InitMinHits{ get{ return 35; } }
|
||||
public override int InitMaxHits{ get{ return 45; } }
|
||||
|
||||
public override int UOStrReq{ get{ return 35; } }
|
||||
|
||||
public override int ArmorBase{ get{ return 16; } }
|
||||
|
||||
public override ArmorMaterialType MaterialType{ get{ return ArmorMaterialType.Studded; } }
|
||||
public override CraftResource DefaultResource{ get{ return CraftResource.Leathered; } }
|
||||
|
||||
public override int LabelNumber{ get{ return 1041497; } } // studded tunic, ranger armor
|
||||
|
||||
[Constructable]
|
||||
public RangerChest() : base( 0x13DB )
|
||||
{
|
||||
Weight = 8.0;
|
||||
Hue = 0x59C;
|
||||
}
|
||||
|
||||
public RangerChest( Serial serial ) : base( serial )
|
||||
{
|
||||
}
|
||||
|
||||
public override void Serialize( GenericWriter writer )
|
||||
{
|
||||
base.Serialize( writer );
|
||||
writer.Write( (int) 0 );
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize( reader );
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if ( Weight == 1.0 )
|
||||
Weight = 8.0;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue