Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
@@ -0,0 +1,115 @@
|
||||
using Server;
|
||||
using System;
|
||||
using Server.Engines.Craft;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Alterable(typeof(DefBlacksmithy), typeof(GargishHephaestus))]
|
||||
public class Hephaestus : HeaterShield
|
||||
{
|
||||
public override int LabelNumber { get { return 1152909; } } // Hephaestus
|
||||
public override bool IsArtifact { get { return true; } }
|
||||
|
||||
[Constructable]
|
||||
public Hephaestus() : this(true)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public Hephaestus(bool antique)
|
||||
{
|
||||
Hue = 1910;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
Attributes.DefendChance = 15;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.LowerManaCost = 8;
|
||||
|
||||
PhysicalBonus = 15;
|
||||
ArmorAttributes.SelfRepair = 5;
|
||||
|
||||
SkillBonuses.SetValues(0, SkillName.Parry, 10.0);
|
||||
|
||||
if (antique)
|
||||
{
|
||||
MaxHitPoints = 250;
|
||||
NegativeAttributes.Antique = 1;
|
||||
}
|
||||
else
|
||||
MaxHitPoints = 255;
|
||||
|
||||
HitPoints = MaxHitPoints;
|
||||
}
|
||||
|
||||
public Hephaestus(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
|
||||
public class GargishHephaestus : LargePlateShield
|
||||
{
|
||||
public override int LabelNumber { get { return 1152909; } } // Hephaestus
|
||||
public override bool IsArtifact { get { return true; } }
|
||||
|
||||
[Constructable]
|
||||
public GargishHephaestus() : this(true)
|
||||
{
|
||||
}
|
||||
|
||||
[Constructable]
|
||||
public GargishHephaestus(bool antique)
|
||||
{
|
||||
Hue = 1910;
|
||||
Attributes.SpellChanneling = 1;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
Attributes.DefendChance = 15;
|
||||
Attributes.CastSpeed = 1;
|
||||
Attributes.LowerManaCost = 8;
|
||||
|
||||
PhysicalBonus = 15;
|
||||
ArmorAttributes.SelfRepair = 5;
|
||||
|
||||
SkillBonuses.SetValues(0, SkillName.Parry, 10.0);
|
||||
|
||||
if (antique)
|
||||
{
|
||||
MaxHitPoints = 250;
|
||||
NegativeAttributes.Antique = 1;
|
||||
}
|
||||
else
|
||||
MaxHitPoints = 255;
|
||||
|
||||
HitPoints = MaxHitPoints;
|
||||
}
|
||||
|
||||
public GargishHephaestus(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user