Files
2026-06-19 00:00:16 -04:00

101 lines
2.2 KiB
C#
Executable File

using System;
namespace Server.Items
{
public class LegsofSloth : PlateLegs
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public LegsofSloth()
: base()
{
this.Name = "Legs of Sloth";
this.SetHue = 1109;
this.Attributes.RegenHits = 1;
this.Attributes.AttackChance = 5;
this.SetAttributes.ReflectPhysical = 25;
this.SetAttributes.NightSight = 1;
this.SetSkillBonuses.SetValues(0, SkillName.Swords, 10);
this.SetSelfRepair = 3;
this.SetPhysicalBonus = 2;
this.SetFireBonus = 5;
this.SetColdBonus = 5;
this.SetPoisonBonus = 3;
this.SetEnergyBonus = 5;
}
public LegsofSloth(Serial serial)
: base(serial)
{
}
public override SetItem SetID
{
get
{
return SetItem.ForsakenVirtues;
}
}
public override int Pieces
{
get
{
return 6;
}
}
public override int BasePhysicalResistance
{
get
{
return 8;
}
}
public override int BaseFireResistance
{
get
{
return 5;
}
}
public override int BaseColdResistance
{
get
{
return 5;
}
}
public override int BasePoisonResistance
{
get
{
return 7;
}
}
public override int BaseEnergyResistance
{
get
{
return 5;
}
}
public override void Serialize(GenericWriter writer)
{
base.Serialize(writer);
writer.Write((int)0); // version
}
public override void Deserialize(GenericReader reader)
{
base.Deserialize(reader);
int version = reader.ReadInt();
}
}
}