v0.0.1-Alpha (#42)
This commit is contained in:
parent
d30f93c454
commit
a36796c2c1
3552 changed files with 2476 additions and 15223 deletions
57
Projects/Scripts/Items/Weapons/Ranged/CompositeBow.cs
Normal file
57
Projects/Scripts/Items/Weapons/Ranged/CompositeBow.cs
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Flippable(0x26C2, 0x26CC)]
|
||||
public class CompositeBow : BaseRanged
|
||||
{
|
||||
[Constructible]
|
||||
public CompositeBow() : base(0x26C2)
|
||||
{
|
||||
Weight = 5.0;
|
||||
}
|
||||
|
||||
public CompositeBow(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int EffectID => 0xF42;
|
||||
public override Type AmmoType => typeof(Arrow);
|
||||
public override Item Ammo => new Arrow();
|
||||
|
||||
public override WeaponAbility PrimaryAbility => WeaponAbility.ArmorIgnore;
|
||||
public override WeaponAbility SecondaryAbility => WeaponAbility.MovingShot;
|
||||
|
||||
public override int AosStrengthReq => 45;
|
||||
public override int AosMinDamage => Core.ML ? 13 : 15;
|
||||
public override int AosMaxDamage => 17;
|
||||
public override int AosSpeed => 25;
|
||||
public override float MlSpeed => 4.00f;
|
||||
|
||||
public override int OldStrengthReq => 45;
|
||||
public override int OldMinDamage => 15;
|
||||
public override int OldMaxDamage => 17;
|
||||
public override int OldSpeed => 25;
|
||||
|
||||
public override int DefMaxRange => 10;
|
||||
|
||||
public override int InitMinHits => 31;
|
||||
public override int InitMaxHits => 70;
|
||||
|
||||
public override WeaponAnimation DefAnimation => WeaponAnimation.ShootBow;
|
||||
|
||||
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