#W# Initial Commit: Avatars Conquest
This commit is contained in:
commit
5df497787a
7510 changed files with 416048 additions and 0 deletions
49
Scripts/Items/Weapons/Ranged/Crossbow.cs
Normal file
49
Scripts/Items/Weapons/Ranged/Crossbow.cs
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
using System;
|
||||
using Server.Network;
|
||||
using Server.Items;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[FlipableAttribute( 0xF50, 0xF4F )]
|
||||
public class Crossbow : BaseRanged
|
||||
{
|
||||
public override int EffectID{ get{ return 0x1BFE; } }
|
||||
public override Type AmmoType{ get{ return typeof( Bolt ); } }
|
||||
public override Item Ammo{ get{ return new Bolt(); } }
|
||||
|
||||
public override int UOStrengthReq{ get{ return 30; } }
|
||||
public override int UOMinDamage{ get{ return 8; } }
|
||||
public override int UOMaxDamage{ get{ return 43; } }
|
||||
public override int UOSpeed{ get{ return 18; } }
|
||||
|
||||
public override int DefMaxRange{ get{ return 8; } }
|
||||
|
||||
public override int InitMinHits{ get{ return 31; } }
|
||||
public override int InitMaxHits{ get{ return 80; } }
|
||||
|
||||
[Constructable]
|
||||
public Crossbow() : base( 0xF50 )
|
||||
{
|
||||
Weight = 7.0;
|
||||
Layer = Layer.TwoHanded;
|
||||
}
|
||||
|
||||
public Crossbow( 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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue