Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
58
Scripts/Items/Equipment/Jewelry/BlueDiamondRing.cs
Normal file
58
Scripts/Items/Equipment/Jewelry/BlueDiamondRing.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class BlueDiamondRing : GoldRing
|
||||
{
|
||||
[Constructable]
|
||||
public BlueDiamondRing()
|
||||
: base()
|
||||
{
|
||||
this.Weight = 1.0;
|
||||
|
||||
BaseRunicTool.ApplyAttributesTo(this, true, 0, Utility.RandomMinMax(2, 4), 0, 100);
|
||||
|
||||
switch ( Utility.Random(4) )
|
||||
{
|
||||
case 0:
|
||||
this.Attributes.LowerManaCost += 10;
|
||||
break;
|
||||
case 1:
|
||||
this.Attributes.CastSpeed += 1;
|
||||
break;
|
||||
case 2:
|
||||
this.Attributes.CastRecovery += 2;
|
||||
break;
|
||||
case 3:
|
||||
this.Attributes.SpellDamage += 5;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
public BlueDiamondRing(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1073458;
|
||||
}
|
||||
}// blue diamond ring
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user