fix(codegen): Code gens axes (#690)
This commit is contained in:
parent
c8a2605c0d
commit
488f1044fa
29 changed files with 119 additions and 318 deletions
|
|
@ -2,8 +2,9 @@ using Server.Engines.Harvest;
|
|||
|
||||
namespace Server.Items
|
||||
{
|
||||
[Serializable(0, false)]
|
||||
[Flippable(0xE86, 0xE85)]
|
||||
public class Pickaxe : BaseAxe, IUsesRemaining
|
||||
public partial class Pickaxe : BaseAxe, IUsesRemaining
|
||||
{
|
||||
[Constructible]
|
||||
public Pickaxe() : base(0xE86)
|
||||
|
|
@ -13,10 +14,6 @@ namespace Server.Items
|
|||
ShowUsesRemaining = true;
|
||||
}
|
||||
|
||||
public Pickaxe(Serial serial) : base(serial)
|
||||
{
|
||||
}
|
||||
|
||||
public override HarvestSystem HarvestSystem => Mining.System;
|
||||
|
||||
public override WeaponAbility PrimaryAbility => WeaponAbility.DoubleStrike;
|
||||
|
|
@ -37,20 +34,5 @@ namespace Server.Items
|
|||
public override int InitMaxHits => 60;
|
||||
|
||||
public override WeaponAnimation DefAnimation => WeaponAnimation.Slash1H;
|
||||
|
||||
public override void Serialize(IGenericWriter writer)
|
||||
{
|
||||
base.Serialize(writer);
|
||||
|
||||
writer.Write(0); // version
|
||||
}
|
||||
|
||||
public override void Deserialize(IGenericReader reader)
|
||||
{
|
||||
base.Deserialize(reader);
|
||||
|
||||
var version = reader.ReadInt();
|
||||
ShowUsesRemaining = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue