Reorganizes Project (#41)
This commit is contained in:
parent
08bf44af9a
commit
3614a66aee
3499 changed files with 79 additions and 55 deletions
56
Projects/Scripts/Items/Weapons/Ranged/HeavyCrossbow.cs
Normal file
56
Projects/Scripts/Items/Weapons/Ranged/HeavyCrossbow.cs
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flippable(0x13FD, 0x13FC)]
|
||||
public class HeavyCrossbow : BaseRanged
|
||||
{
|
||||
[Constructible]
|
||||
public HeavyCrossbow() : base(0x13FD)
|
||||
{
|
||||
Weight = 9.0;
|
||||
Layer = Layer.TwoHanded;
|
||||
}
|
||||
|
||||
public HeavyCrossbow(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int EffectID => 0x1BFE;
|
||||
public override Type AmmoType => typeof(Bolt);
|
||||
public override Item Ammo => new Bolt();
|
||||
|
||||
public override WeaponAbility PrimaryAbility => WeaponAbility.MovingShot;
|
||||
public override WeaponAbility SecondaryAbility => WeaponAbility.Dismount;
|
||||
|
||||
public override int AosStrengthReq => 80;
|
||||
public override int AosMinDamage => Core.ML ? 20 : 19;
|
||||
public override int AosMaxDamage => Core.ML ? 24 : 20;
|
||||
public override int AosSpeed => 22;
|
||||
public override float MlSpeed => 5.00f;
|
||||
|
||||
public override int OldStrengthReq => 40;
|
||||
public override int OldMinDamage => 11;
|
||||
public override int OldMaxDamage => 56;
|
||||
public override int OldSpeed => 10;
|
||||
|
||||
public override int DefMaxRange => 8;
|
||||
|
||||
public override int InitMinHits => 31;
|
||||
public override int InitMaxHits => 100;
|
||||
|
||||
public override void Serialize(GenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(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