43 lines
1.0 KiB
C#
43 lines
1.0 KiB
C#
using Server;
|
|
using System;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class GildedDressBearingTheCrestOfBlackthorn5 : GildedDress
|
|
{
|
|
public override bool IsArtifact { get { return true; } }
|
|
|
|
[Constructable]
|
|
public GildedDressBearingTheCrestOfBlackthorn5()
|
|
: base()
|
|
{
|
|
ReforgedSuffix = ReforgedSuffix.Blackthorn;
|
|
Attributes.BonusHits = 3;
|
|
Attributes.RegenHits = 1;
|
|
Hue = 132;
|
|
}
|
|
|
|
public GildedDressBearingTheCrestOfBlackthorn5(Serial serial)
|
|
: base(serial)
|
|
{
|
|
}
|
|
|
|
public override void Serialize(GenericWriter writer)
|
|
{
|
|
base.Serialize(writer);
|
|
writer.Write(1);
|
|
}
|
|
|
|
public override void Deserialize(GenericReader reader)
|
|
{
|
|
base.Deserialize(reader);
|
|
int version = reader.ReadInt();
|
|
|
|
if (version == 0)
|
|
{
|
|
MaxHitPoints = 0;
|
|
HitPoints = 0;
|
|
}
|
|
}
|
|
}
|
|
} |