using System; using Server.Network; using Server.Items; namespace Server.Items { [FlipableAttribute( 0x26C2, 0x26CC )] public class BowOfTheDwarves : BaseRanged { public override int EffectID{ get{ return 0xF42; } } public override Type AmmoType{ get{ return typeof( Arrow ); } } public override Item Ammo{ get{ return new Arrow(); } } public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.ArmorIgnore; } } public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.ParalyzingBlow; } } public override int AosStrengthReq{ get{ return 45; } } public override int AosMinDamage{ get{ return 25; } } public override int AosMaxDamage{ get{ return 35; } } public override int AosSpeed{ get{ return 35; } } public override int OldStrengthReq{ get{ return 45; } } public override int OldMinDamage{ get{ return 25; } } public override int OldMaxDamage{ get{ return 35; } } public override int OldSpeed{ get{ return 35; } } public override int DefMaxRange{ get{ return 10; } } public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.ShootXBow; } } [Constructable] public BowOfTheDwarves() : base( 0x26C2 ) { Weight = 1.0; Name = "Bow Of The Dwarves"; Hue = 1267; Layer = Layer.OneHanded; Attributes.AttackChance = 20; Attributes.BonusStr = 15; Attributes.DefendChance = 30; Attributes.Luck = 300; Attributes.ReflectPhysical = 10; Attributes.WeaponDamage = 25; Attributes.WeaponSpeed = 15; Attributes.SpellDamage = 20; Attributes.SpellChanneling = 1; LootType = LootType.Blessed; WeaponAttributes.HitDispel = 30; WeaponAttributes.HitFireball = 30; DurabilityLevel = WeaponDurabilityLevel.Indestructible; DamageLevel = WeaponDamageLevel.Vanq; WeaponAttributes.HitLowerAttack = 20; WeaponAttributes.HitLowerDefend = 20; WeaponAttributes.SelfRepair = 75; WeaponAttributes.UseBestSkill = 1; } public BowOfTheDwarves(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(); } } }