using System; using Server; using Server.Network; using Server.Items; namespace Server.Items { [FlipableAttribute( 0x1439, 0x1438 )] public class Mjollnir : BaseBashing { public override int ArtifactRarity{ get{ return 69; } } public override int InitMinHits{ get{ return 255; } } public override int InitMaxHits{ get{ return 255; } } public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.WhirlwindAttack; } } public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.CrushingBlow; } } public override int AosStrengthReq{ get{ return 95; } } public override int AosMinDamage{ get{ return 40; } } public override int AosMaxDamage{ get{ return 60; } } public override int AosSpeed{ get{ return 35; } } public override int OldStrengthReq{ get{ return 95; } } public override int OldMinDamage{ get{ return 40; } } public override int OldMaxDamage{ get{ return 60; } } public override int OldSpeed{ get{ return 30; } } public override int DefMaxRange{ get{return 5; } } public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.Bash2H; } } public override int DefHitSound{ get{ return 0x237; } } public override int DefMissSound{ get{ return 0x23A; } } [Constructable] public Mjollnir() : base( 0x1439 ) { Name = "Mjollnir"; Hue = 2213; Weight = 10.0; Layer = Layer.OneHanded; DurabilityLevel = WeaponDurabilityLevel.Indestructible; //Resource = CraftResource.Valorite; Attributes.AttackChance = 60; Attributes.DefendChance = 65; Attributes.Luck = 200; Attributes.RegenHits = 5; Attributes.RegenStam = 5; //Attributes.BonusDex = 20; Attributes.BonusStr = 20; Attributes.SpellChanneling = 15; Attributes.WeaponDamage = 55; //AosWeaponAttribute WeaponAttributes.HitLeechHits = 50; LootType = LootType.Blessed; } // public override void GetDamageTypes( out int phys, out int fire, out int cold, out int pois, out int nrgy ) // { // phys = fire = pois = nrgy = cold = 50; // } public Mjollnir( Serial serial ) : base( serial ) { } 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(); } } }