Files
The-Forging/Scripts/Custom/Fallen Dupre Armor/HelmofIgnorance2.cs
T

89 lines
2.0 KiB
C#
Raw Normal View History

2026-07-07 13:40:15 -04:00
using System;
namespace Server.Items
{
public class HelmofIgnorance2 : NorseHelm
{
public override bool IsArtifact { get { return true; } }
[Constructable]
public HelmofIgnorance2()
: base()
{
this.Name = "Helm of Ignorance";
LootType = LootType.Blessed;
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 HelmofIgnorance2(Serial serial)
: base(serial)
{
}
public override int BasePhysicalResistance
{
get
{
return 4;
}
}
public override int BaseFireResistance
{
get
{
return 9;
}
}
public override int BaseColdResistance
{
get
{
return 3;
}
}
public override int BasePoisonResistance
{
get
{
return 6;
}
}
public override int BaseEnergyResistance
{
get
{
return 8;
}
}
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();
}
}
}