Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
This commit is contained in:
134
Scripts/Items/Equipment/Weapons/Boomerang.cs
Normal file
134
Scripts/Items/Equipment/Weapons/Boomerang.cs
Normal file
@@ -0,0 +1,134 @@
|
||||
using System;
|
||||
|
||||
namespace Server.Items
|
||||
{
|
||||
public class Boomerang : BaseThrown
|
||||
{
|
||||
[Constructable]
|
||||
public Boomerang()
|
||||
: base(0x8FF)
|
||||
{
|
||||
Weight = 4.0;
|
||||
Layer = Layer.OneHanded;
|
||||
}
|
||||
|
||||
public Boomerang(Serial serial)
|
||||
: base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override int MinThrowRange { get { return 4; } }
|
||||
|
||||
public override WeaponAbility PrimaryAbility
|
||||
{
|
||||
get
|
||||
{
|
||||
return WeaponAbility.MysticArc;
|
||||
}
|
||||
}
|
||||
public override WeaponAbility SecondaryAbility
|
||||
{
|
||||
get
|
||||
{
|
||||
return WeaponAbility.ConcussionBlow;
|
||||
}
|
||||
}
|
||||
/*
|
||||
Boomerang 0x8FF: MysticArc, ConcussionBlow
|
||||
Cyclone 2305/0x901: MovingShot, InfusedThrow
|
||||
Soul Glaive 2314/0x090A: ArmorIgnore, MortalStrike
|
||||
*/
|
||||
public override int AosStrengthReq
|
||||
{
|
||||
get
|
||||
{
|
||||
return 25;
|
||||
}
|
||||
}
|
||||
public override int AosMinDamage
|
||||
{
|
||||
get
|
||||
{
|
||||
return 11;
|
||||
}
|
||||
}
|
||||
public override int AosMaxDamage
|
||||
{
|
||||
get
|
||||
{
|
||||
return 15;
|
||||
}
|
||||
}
|
||||
public override int AosSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
return 25;
|
||||
}
|
||||
}
|
||||
public override float MlSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
return 2.75f;
|
||||
}
|
||||
}
|
||||
public override int OldStrengthReq
|
||||
{
|
||||
get
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
}
|
||||
public override int OldMinDamage
|
||||
{
|
||||
get
|
||||
{
|
||||
return 9;
|
||||
}
|
||||
}
|
||||
public override int OldMaxDamage
|
||||
{
|
||||
get
|
||||
{
|
||||
return 41;
|
||||
}
|
||||
}
|
||||
public override int OldSpeed
|
||||
{
|
||||
get
|
||||
{
|
||||
return 20;
|
||||
}
|
||||
}
|
||||
public override int InitMinHits
|
||||
{
|
||||
get
|
||||
{
|
||||
return 31;
|
||||
}
|
||||
}
|
||||
public override int InitMaxHits
|
||||
{
|
||||
get
|
||||
{
|
||||
return 60;
|
||||
}
|
||||
}
|
||||
|
||||
public override Race RequiredRace { get { return Race.Gargoyle; } }
|
||||
public override bool CanBeWornByGargoyles { get { return true; } }
|
||||
|
||||
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();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user