Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
39
Projects/Scripts/Items/Jewels/Artifacts/RingOfTheVile.cs
Normal file
39
Projects/Scripts/Items/Jewels/Artifacts/RingOfTheVile.cs
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
namespace Server.Items
|
||||
{
|
||||
public class RingOfTheVile : GoldRing
|
||||
{
|
||||
[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 int LabelNumber => 1061102; // Ring of the Vile
|
||||
public override int ArtifactRarity => 11;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (Hue == 0x4F4)
|
||||
Hue = 0x4F7;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue