Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
90
Scripts/Items/Artifacts/Equipment/Armor/TunicOfFire.cs
Normal file
90
Scripts/Items/Artifacts/Equipment/Armor/TunicOfFire.cs
Normal file
@@ -0,0 +1,90 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class TunicOfFire : ChainChest
|
||||
{
|
||||
public override bool IsArtifact { get { return true; } }
|
||||
[Constructable]
|
||||
public TunicOfFire()
|
||||
{
|
||||
Hue = 0x54F;
|
||||
ArmorAttributes.SelfRepair = 5;
|
||||
Attributes.NightSight = 1;
|
||||
Attributes.ReflectPhysical = 15;
|
||||
}
|
||||
|
||||
public TunicOfFire(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int LabelNumber
|
||||
{
|
||||
get
|
||||
{
|
||||
return 1061099;
|
||||
}
|
||||
}// Tunic of Fire
|
||||
public override int ArtifactRarity
|
||||
{
|
||||
get
|
||||
{
|
||||
return 11;
|
||||
}
|
||||
}
|
||||
public override int BasePhysicalResistance
|
||||
{
|
||||
get
|
||||
{
|
||||
return 24;
|
||||
}
|
||||
}
|
||||
public override int BaseFireResistance
|
||||
{
|
||||
get
|
||||
{
|
||||
return 34;
|
||||
}
|
||||
}
|
||||
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);
|
||||
}
|
||||
|
||||
public override void Deserialize(GenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
int version = reader.ReadInt();
|
||||
|
||||
if (version < 1)
|
||||
{
|
||||
if (this.Hue == 0x54E)
|
||||
this.Hue = 0x54F;
|
||||
|
||||
if (this.Attributes.NightSight == 0)
|
||||
this.Attributes.NightSight = 1;
|
||||
|
||||
this.PhysicalBonus = 0;
|
||||
this.FireBonus = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user