http://www.runuo.com/community/threads/scn-656-osi-loot.429885/ Range Corrections for NPC context menus. http://www.runuo.com/community/threads/svn-656-bulk-order-info-and-train-context-menu-range.451723/ Correction to ships' tillerman. Fixes dropping maps to tillerman, and a boat-break-in exploit. http://www.runuo.com/community/threads/svn-656-tillerman-doesnt-accept-map.447911/ Aesthetic corrections to GargoylesPickaxe. http://www.runuo.com/community/threads/svn-656-blacksmith-reward-gargoyle-pickaxes.436462/
60 lines
No EOL
1.7 KiB
C#
60 lines
No EOL
1.7 KiB
C#
using System;
|
|
using Server;
|
|
using Server.Engines.Harvest;
|
|
|
|
namespace Server.Items
|
|
{
|
|
public class SturdyPickaxe : BaseAxe, IUsesRemaining
|
|
{
|
|
public override int LabelNumber{ get{ return 1045126; } } // sturdy pickaxe
|
|
public override HarvestSystem HarvestSystem{ get{ return Mining.System; } }
|
|
|
|
public override WeaponAbility PrimaryAbility{ get{ return WeaponAbility.DoubleStrike; } }
|
|
public override WeaponAbility SecondaryAbility{ get{ return WeaponAbility.Disarm; } }
|
|
|
|
public override int AosStrengthReq{ get{ return 50; } }
|
|
public override int AosMinDamage{ get{ return 13; } }
|
|
public override int AosMaxDamage{ get{ return 15; } }
|
|
public override int AosSpeed{ get{ return 35; } }
|
|
public override float MlSpeed{ get{ return 3.00f; } }
|
|
|
|
public override int OldStrengthReq{ get{ return 25; } }
|
|
public override int OldMinDamage{ get{ return 1; } }
|
|
public override int OldMaxDamage{ get{ return 15; } }
|
|
public override int OldSpeed{ get{ return 35; } }
|
|
|
|
public override WeaponAnimation DefAnimation{ get{ return WeaponAnimation.Slash1H; } }
|
|
|
|
[Constructable]
|
|
public SturdyPickaxe() : this( 180 )
|
|
{
|
|
}
|
|
|
|
[Constructable]
|
|
public SturdyPickaxe( int uses ) : base( 0xE86 )
|
|
{
|
|
Weight = 11.0;
|
|
Hue = 0x973;
|
|
UsesRemaining = uses;
|
|
ShowUsesRemaining = true;
|
|
}
|
|
|
|
public SturdyPickaxe( 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();
|
|
}
|
|
}
|
|
} |