Files

86 lines
2.0 KiB
C#
Raw Permalink Normal View History

2026-07-07 13:40:15 -04:00
using System;
namespace Server.Items
{
public class UnbendingNeck2 : PlateGorget
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public UnbendingNeck2()
: base()
{
this.SetHue = 1109;
this.Name = "Unbending Neck";
LootType = LootType.Blessed;
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 UnbendingNeck2(Serial serial)
: base(serial)
{
}
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();
}
}
}