39 lines
771 B
C#
39 lines
771 B
C#
namespace Server.Items
|
|
{
|
|
public class RingOfTheVile : GoldRing
|
|
{
|
|
public override int LabelNumber => 1061102; // Ring of the Vile
|
|
public override int ArtifactRarity => 11;
|
|
|
|
[Constructible]
|
|
public RingOfTheVile()
|
|
{
|
|
Hue = 0x4F7;
|
|
Attributes.BonusDex = 8;
|
|
Attributes.RegenStam = 6;
|
|
Attributes.AttackChance = 15;
|
|
Resistances.Poison = 20;
|
|
}
|
|
|
|
public RingOfTheVile( 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 ( Hue == 0x4F4 )
|
|
Hue = 0x4F7;
|
|
}
|
|
}
|
|
}
|