using System; using Server; using Server.Spells; using Server.Spells.Chivalry; namespace Server.Items { public class GodsGiftPlate : PlateChest { public override int ArtifactRarity{ get{ return 18; } } public override int InitMinHits{ get{ return 255; } } public override int InitMaxHits{ get{ return 255; } } [Constructable] public GodsGiftPlate() { Name = "Gods Gifted Plate"; Hue = 0x481; Attributes.AttackChance = 10; Attributes.BonusStr = 15; Attributes.ReflectPhysical = 10; Attributes.RegenHits = 2; Attributes.RegenMana = -2; Attributes.WeaponDamage = 05; Attributes.WeaponSpeed = 05; ArmorAttributes.DurabilityBonus = 10; ArmorAttributes.MageArmor = 1; ArmorAttributes.SelfRepair = 05; StrRequirement = 80; } public void Cast( Spell spell ) { spell.Cast(); } public GodsGiftPlate( Serial serial ) : base( serial ) { } public override void Serialize( GenericWriter writer ) { base.Serialize( writer ); writer.Write( (int) 0 ); } public override void OnDoubleClick( Mobile from ) { Cast( new HolyLightSpell( from, null ) ); } public override void Deserialize(GenericReader reader) { base.Deserialize( reader ); int version = reader.ReadInt(); } } }