Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class StaffOfShatteredDreams : GlassStaff
|
||||
{
|
||||
public override bool IsArtifact { get { return true; } }
|
||||
public override int LabelNumber { get { return 1112771; } } // Staff of Shattered Dreams
|
||||
|
||||
[Constructable]
|
||||
public StaffOfShatteredDreams()
|
||||
: base()
|
||||
{
|
||||
Hue = 1151;
|
||||
WeaponAttributes.HitDispel = 25;
|
||||
WeaponAttributes.SplinteringWeapon = 20;
|
||||
Attributes.WeaponDamage = 50;
|
||||
WeaponAttributes.ResistFireBonus = 15;
|
||||
Attributes.CastSpeed = -1;
|
||||
Attributes.SpellChanneling = 1;
|
||||
}
|
||||
|
||||
public StaffOfShatteredDreams(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int ArtifactRarity
|
||||
{
|
||||
get
|
||||
{
|
||||
return 11;
|
||||
}
|
||||
}
|
||||
public override int InitMinHits
|
||||
{
|
||||
get
|
||||
{
|
||||
return 255;
|
||||
}
|
||||
}
|
||||
public override int InitMaxHits
|
||||
{
|
||||
get
|
||||
{
|
||||
return 255;
|
||||
}
|
||||
}
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
writer.Write((int)1); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version < 1)
|
||||
WeaponAttributes.SplinteringWeapon = 20;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user